Skip to content

Commit 100b92f

Browse files
committed
Add references to the BG to OBJ section
Add references in the LCD Control section and the OAM section
1 parent 86d3af0 commit 100b92f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/LCDC.md

+2
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ When Bit 0 is cleared, the background and window lose their priority -
110110
the sprites will be always displayed on top of background and window,
111111
independently 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).
114+
113115
## Using LCDC
114116

115117
LCDC is a powerful tool: each bit controls a lot of behavior, and can be

src/OAM.md

+2
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,6 @@ This can be exploited to only hide parts of an object behind the background
122122
([video demonstration](https://youtu.be/B8sJGgCVvnk)).
123123
A similar behaviour [can be seen on the NES](https://forums.nesdev.org/viewtopic.php?f=10&t=16861).
124124

125+
**In CGB Mode**, BG vs. OBJ priority is declared in more than one register, [please see this page](Tile_Maps.md#bg-to-obj-priority-in-cgb-mode) for more details.
126+
125127
:::

0 commit comments

Comments
 (0)