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
|
|
@ -69,14 +69,14 @@ RedrawPartyMenu_::
|
|||
pop hl
|
||||
push hl
|
||||
ld bc, SCREEN_WIDTH + 1 ; down 1 row and right 1 column
|
||||
ldh a, [hFlagsFFF6]
|
||||
ldh a, [hUILayoutFlags]
|
||||
set 0, a
|
||||
ldh [hFlagsFFF6], a
|
||||
ldh [hUILayoutFlags], a
|
||||
add hl, bc
|
||||
predef DrawHP2 ; draw HP bar and prints current / max HP
|
||||
ldh a, [hFlagsFFF6]
|
||||
ldh a, [hUILayoutFlags]
|
||||
res 0, a
|
||||
ldh [hFlagsFFF6], a
|
||||
ldh [hUILayoutFlags], a
|
||||
call SetPartyMenuHPBarColor ; color the HP bar (on SGB)
|
||||
pop hl
|
||||
jr .printLevel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue