summaryrefslogtreecommitdiff
path: root/scripts/rockethideout4.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/rockethideout4.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/rockethideout4.asm')
-rwxr-xr-xscripts/rockethideout4.asm12
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/rockethideout4.asm b/scripts/rockethideout4.asm
index 3faa566e..5c99f3a1 100755
--- a/scripts/rockethideout4.asm
+++ b/scripts/rockethideout4.asm
@@ -31,8 +31,7 @@ RocketHideout4Script_45473: ; 45473 (11:5473)
.asm_45498
ld [wd09f], a
ld bc, $050c
- ld a, $17
- jp Predef
+ predef_jump Func_ee9e
RocketHideout4Script_454a3: ; 454a3 (11:54a3)
xor a
@@ -62,12 +61,10 @@ RocketHideout4Script3: ; 454b6 (11:54b6)
call GBFadeIn1
ld a, $83
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld a, $87
ld [wcc4d], a
- ld a, $15
- call Predef
+ predef ShowObject
call UpdateSprites
call GBFadeOut1
xor a
@@ -222,8 +219,7 @@ RocketHideout4AfterBattleText4: ; 455cf (11:55cf)
jr nz, .asm_455e9 ; 0x455dd $a
ld a, $88
ld [wcc4d], a
- ld a, $15
- call Predef
+ predef ShowObject
.asm_455e9
jp TextScriptEnd