summaryrefslogtreecommitdiff
path: root/scripts/gary.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-06-16 13:57:26 -0700
committeryenatch <yenatch@gmail.com>2014-06-16 13:57:26 -0700
commitb36f793667924f868282ce979fabab3e95d642a5 (patch)
tree580af2e7c0afc016ccf7a31b44e98898321176ac /scripts/gary.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/gary.asm')
-rwxr-xr-xscripts/gary.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/gary.asm b/scripts/gary.asm
index 20140cf7..f909a618 100755
--- a/scripts/gary.asm
+++ b/scripts/gary.asm
@@ -122,8 +122,7 @@ GaryScript4: ; 75fe4 (1d:5fe4)
call MoveSprite
ld a, $d6
ld [wcc4d], a
- ld a, $15
- call Predef
+ predef ShowObject
ld a, $5
ld [W_GARYCURSCRIPT], a
ret
@@ -193,8 +192,7 @@ GaryScript8: ; 76083 (1d:6083)
ret nz
ld a, $d6
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld a, $9
ld [W_GARYCURSCRIPT], a
ret