summaryrefslogtreecommitdiff
path: root/scripts/route25.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/route25.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/route25.asm')
-rwxr-xr-xscripts/route25.asm12
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/route25.asm b/scripts/route25.asm
index 609205ec..088be3a2 100755
--- a/scripts/route25.asm
+++ b/scripts/route25.asm
@@ -21,24 +21,20 @@ Route25Script_515e1: ; 515e1 (14:55e1)
res 6, [hl]
ld a, $61
ld [wcc4d], a
- ld a, $15
- jp Predef
+ predef_jump ShowObject
.asm_515ff
bit 4, [hl]
ret z
set 7, [hl]
ld a, $24
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld a, $62
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld a, $63
ld [wcc4d], a
- ld a, $15
- jp Predef
+ predef_jump ShowObject
Route25ScriptPointers: ; 51622 (14:5622)
dw CheckFightingMapTrainers