mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Identify hUILayoutFlags
This commit is contained in:
parent
83f7d224c8
commit
95353fdefa
11 changed files with 38 additions and 38 deletions
|
|
@ -351,10 +351,10 @@ ChangeBox::
|
|||
call z, EmptyAllSRAMBoxes ; if so, empty all boxes in SRAM
|
||||
call DisplayChangeBoxMenu
|
||||
call UpdateSprites
|
||||
ld hl, hFlagsFFF6
|
||||
ld hl, hUILayoutFlags
|
||||
set 1, [hl]
|
||||
call HandleMenuInput
|
||||
ld hl, hFlagsFFF6
|
||||
ld hl, hUILayoutFlags
|
||||
res 1, [hl]
|
||||
bit 1, a ; pressed b
|
||||
ret nz
|
||||
|
|
@ -445,12 +445,12 @@ DisplayChangeBoxMenu:
|
|||
ld b, 12
|
||||
ld c, 7
|
||||
call TextBoxBorder
|
||||
ld hl, hFlagsFFF6
|
||||
ld hl, hUILayoutFlags
|
||||
set 2, [hl]
|
||||
ld de, BoxNames
|
||||
hlcoord 13, 1
|
||||
call PlaceString
|
||||
ld hl, hFlagsFFF6
|
||||
ld hl, hUILayoutFlags
|
||||
res 2, [hl]
|
||||
ld a, [wCurrentBoxNum]
|
||||
and $7f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue