mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +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
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ StatusScreen: ; 12953 (4:6953)
|
|||
ld bc, $8103 ; Zero-padded, 3
|
||||
call PrintNumber ; Pokémon no.
|
||||
hlCoord 11, 10
|
||||
predef Func_27d6b ; Prints the type (?)
|
||||
predef PrintMonType
|
||||
ld hl, NamePointers2 ; $6a9d
|
||||
call .unk_12a7e
|
||||
ld d, h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue