Don't hide sprites behind a 2BPP textbox if they are partially outside of it, and make 2BPP textboxes have priority over objects (#7); Generalize 1bpp/2bpp text state tracking (#10) [reworks 052d246e]

This commit is contained in:
xCrystal
2023-08-31 18:41:05 +02:00
parent 9f835560d7
commit 2957bce0a9
10 changed files with 73 additions and 32 deletions

View File

@@ -1192,8 +1192,7 @@ wMenuCursorY:: db
wMenuCursorX:: db
wCursorOffCharacter:: db
wCursorCurrentTile:: dw
wMenuBoxUse2bppFrame:: db
ds 2
ds 3
wMoreMenuDataEnd::
wOverworldDelay:: db
@@ -1253,7 +1252,8 @@ wTextboxFrame::
db
wTextboxFlags::
; bit 0: 1-frame text delay
; bit 4: no text delay
; bit 1: no text delay
; bit 2: 2bpp textbox (and text)
db
wGBPrinterBrightness::
; bit 0-6: brightness