mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 22:52:15 +13: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
|
|
@ -18,8 +18,7 @@ CanLearnTM: ; 1373e (4:773e)
|
|||
.TMfoundLoop
|
||||
pop hl
|
||||
ld b, $2 ; read corresponding bit from TM compatibility array
|
||||
ld a, $10 ; FlagActionPredef
|
||||
jp Predef
|
||||
predef_jump FlagActionPredef
|
||||
|
||||
; converts TM/HM number in wd11e into move number
|
||||
; HMs start at 51
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue