diff options
author | yenatch <yenatch@gmail.com> | 2014-06-16 13:57:26 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-06-16 13:57:26 -0700 |
commit | b36f793667924f868282ce979fabab3e95d642a5 (patch) | |
tree | 580af2e7c0afc016ccf7a31b44e98898321176ac /scripts/lab4.asm | |
parent | d10108a066c102bf2d167ac656d79308e41f304e (diff) |
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/lab4.asm')
-rwxr-xr-x | scripts/lab4.asm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/lab4.asm b/scripts/lab4.asm index 6a025f03..a1df3387 100755 --- a/scripts/lab4.asm +++ b/scripts/lab4.asm @@ -18,8 +18,7 @@ Lab4Script_75d38: ; 75d38 (1d:5d38) push de ld [wd11e], a ld b, a - ld a, $1c - call Predef + predef IsItemInBag_ pop de pop hl ld a, b @@ -105,8 +104,7 @@ Lab4Text2: ; 75dda (1d:5dda) db $08 ; asm ld a, $3 ld [wWhichTrade], a - ld a, $54 - call Predef + predef Predef54 jp TextScriptEnd LoadFossilItemAndMonNameBank1D: ; 75de8 (1d:5de8) |