mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-04-04 18:41:49 +13:00
commented battle stuff
This commit is contained in:
parent
72265ab92a
commit
4fd7a42b23
26 changed files with 272 additions and 253 deletions
|
|
@ -88,14 +88,14 @@ RedrawPartyMenu_: ; 12ce3 (4:6ce3)
|
|||
pop hl
|
||||
push hl
|
||||
ld bc,20 + 1 ; down 1 row and right 1 column
|
||||
ld a,[$FFF6]
|
||||
ld a,[hFlags_0xFFF6]
|
||||
set 0,a
|
||||
ld [$FFF6],a
|
||||
ld [hFlags_0xFFF6],a
|
||||
add hl,bc
|
||||
predef Func_128f6 ; draw HP bar and prints current / max HP
|
||||
ld a,[$FFF6]
|
||||
ld a,[hFlags_0xFFF6]
|
||||
res 0,a
|
||||
ld [$FFF6],a
|
||||
ld [hFlags_0xFFF6],a
|
||||
call SetPartyMenuHealthBarColor ; color the HP bar (on SGB)
|
||||
pop hl
|
||||
jr .printLevel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue