mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-04-08 19:40:40 +12:00
Use macros for predef calls/jumps instead of static ids.
This commit is contained in:
parent
d10108a066
commit
b36f793667
122 changed files with 360 additions and 719 deletions
|
|
@ -145,8 +145,7 @@ HandlePokedexSideMenu: ; 4006d (10:406d)
|
|||
call PlaySound ; play sound
|
||||
jr .handleMenuInput
|
||||
.choseArea
|
||||
ld a,$4a
|
||||
call Predef ; display pokemon areas
|
||||
predef LoadTownMap_Nest ; display pokemon areas
|
||||
ld b,0
|
||||
jr .exitSideMenu
|
||||
|
||||
|
|
@ -392,8 +391,7 @@ IsPokemonBitSet: ; 402c2 (10:42c2)
|
|||
dec a
|
||||
ld c,a
|
||||
ld b,2
|
||||
ld a,$10
|
||||
call Predef
|
||||
predef FlagActionPredef
|
||||
ld a,c
|
||||
and a
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue