summaryrefslogtreecommitdiff
path: root/scripts/silphco11.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/silphco11.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/silphco11.asm')
-rwxr-xr-xscripts/silphco11.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/silphco11.asm b/scripts/silphco11.asm
index 44918bea..b63bc523 100755
--- a/scripts/silphco11.asm
+++ b/scripts/silphco11.asm
@@ -22,8 +22,7 @@ SilphCo11Script_62110: ; 62110 (18:6110)
ld a, $20
ld [wd09f], a
ld bc, $603
- ld a, $17
- jp Predef
+ predef_jump Func_ee9e
DataTable_62134: ; 62134 (18:6134)
db $06,$03,$FF
@@ -80,8 +79,7 @@ SilphCo11Script_6216d: ; 6216d (18:616d)
jr z, .asm_62181
push hl
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
pop hl
jr .asm_62170
.asm_62181
@@ -92,8 +90,7 @@ SilphCo11Script_6216d: ; 6216d (18:616d)
ret z
push hl
ld [wcc4d], a
- ld a, $15
- call Predef
+ predef ShowObject
pop hl
jr .asm_62184