summaryrefslogtreecommitdiff
path: root/scripts/route20.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/route20.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/route20.asm')
-rwxr-xr-xscripts/route20.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/route20.asm b/scripts/route20.asm
index 376d7da9..7e8df3da 100755
--- a/scripts/route20.asm
+++ b/scripts/route20.asm
@@ -50,13 +50,11 @@ Route20Script_50cc6: ; 50cc6 (14:4cc6)
Route20Script_50d0c: ; 50d0c (14:4d0c)
ld [wcc4d], a
- ld a, $15
- jp Predef
+ predef_jump ShowObject
Route20Script_50d14: ; 50d14 (14:4d14)
ld [wcc4d], a
- ld a, $11
- jp Predef
+ predef_jump HideObject
Route20ScriptPointers: ; 50d1c (14:4d1c)
dw CheckFightingMapTrainers