mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 23:22:26 +13:00
Sync home and macro code with pokeyellow
This commit is contained in:
parent
abaf9fee7c
commit
d3e81422d5
16 changed files with 44 additions and 122 deletions
|
|
@ -325,16 +325,7 @@ PrintStatusCondition::
|
|||
ret
|
||||
|
||||
PrintStatusConditionNotFainted::
|
||||
ldh a, [hLoadedROMBank]
|
||||
push af
|
||||
ld a, BANK(PrintStatusAilment)
|
||||
ldh [hLoadedROMBank], a
|
||||
ld [MBC1RomBank], a
|
||||
call PrintStatusAilment ; print status condition
|
||||
pop bc
|
||||
ld a, b
|
||||
ldh [hLoadedROMBank], a
|
||||
ld [MBC1RomBank], a
|
||||
homecall_sf PrintStatusAilment
|
||||
ret
|
||||
|
||||
; function to print pokemon level, leaving off the ":L" if the level is at least 100
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue