File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed 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 -
110
110
the sprites will be always displayed on top of background and window,
111
111
independently of the priority flags in OAM and BG Map attributes.
112
112
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 ) .
114
114
115
115
## Using LCDC
116
116
Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ the one at `0:9800`!
40
40
### BG-to-OBJ Priority in CGB Mode
41
41
42
42
In 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)> )
46
46
47
47
We can infer the following rules from the table below:
48
48
* 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:
51
51
52
52
::: tip NOTE
53
53
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* .
55
55
56
56
:::
57
57
You can’t perform that action at this time.
0 commit comments