Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document BG to OBJ priority in CGB mode #454

Merged
merged 7 commits into from
Nov 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove an incorrect tip about the BG map attr
alloncm committed Nov 22, 2022
commit 734d0bca1913fb73612f526eb5073a8e695d729c
6 changes: 0 additions & 6 deletions src/Tile_Maps.md
Original file line number Diff line number Diff line change
@@ -50,12 +50,6 @@ We can infer the following rules from the table below:
* Otherwise, if both the BG Attributes and the OAM Attributes have bit 7 clear, the OBJ will have priority;
* Otherwise, BG will have priority.

::: tip

BG Map attributes bit 7 is used to override OAM attributes bit 7

:::

The following table shows the relations between the 3 flags:

LCDC bit 0 | OAM attr bit 7 | BG attr bit 7 | Priority