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

@@ -13,6 +13,9 @@
StartMenu::
call ClearMenuAndWindowData
ld hl, wTextboxFlags
res TEXT_2BPP_F, [hl]
ld de, SFX_MENU
call PlaySFX
@@ -378,7 +381,7 @@ endr
hlcoord 0, 13
ld b, 3
ld c, 8
jp TextboxPalette
jp TextboxAttributes1bpp
.IsMenuAccountOn:
ld a, [wOptions2]