File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ When Bit 0 is cleared, the background and window lose their priority -
110110the sprites will be always displayed on top of background and window,
111111independently of the priority flags in OAM and BG Map attributes.
112112
113- When Bit 0 is set [ see background and window to obj priority ] ( Tile_Maps.md#bg-to-obj-priority-in-cgb-mode ) .
113+ When Bit 0 is set, pixel priority is resolved [ as described here ] ( Tile_Maps.md#bg-to-obj-priority-in-cgb-mode ) .
114114
115115## Using LCDC
116116
Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ the one at `0:9800`!
4040### BG-to-OBJ Priority in CGB Mode
4141
4242In CGB Mode, the priority between the BG (and window) layer and the OBJ layer is declared in three different places:
43- 1 . [ BG Map Attribute bit 7] ( #bg-map-attributes-cgb-mode-only ) - BG-to-OAM Priority (CGB Mode)
44- 2 . [ LCDC bit 0] ( LCDC.md#lcdc0--bg-and-window-enablepriority ) - BG and Window Priority (CGB Mode )
45- 3 . [ OAM Attributes bit 7] ( OAM.md #byte-3--attributesflags ) - BG and Window over OBJ
43+ - [ BG Map Attribute bit 7] ( < #BG Map Attributes (CGB Mode only) > )
44+ - [ LCDC bit 0] ( < # LCDC.0 — BG and Window enable/priority > )
45+ - [ OAM Attributes bit 7] ( < #[Byte 3 — Attributes/Flags](https://gbdev.io/pandocs/ OAM.html #byte-3--attributesflags)> )
4646
4747We can infer the following rules from the table below:
4848* When the BG color is 0 the OBJ will always have priority (ignoring the flags)
@@ -51,7 +51,7 @@ We can infer the following rules from the table below:
5151
5252::: tip NOTE
5353
54- OAM Attributes bit 7 will grant OBJ priority when clear and not when set
54+ OAM Attributes bit 7 will grant OBJ priority when * clear* , not when * set* .
5555
5656:::
5757
You can’t perform that action at this time.
0 commit comments