aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/seafoamislands4.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/seafoamislands4.asm
parentUse macros to define predefs. (diff)
downloadpokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.gz
pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.xz
pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.zip
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/seafoamislands4.asm')
-rwxr-xr-xscripts/seafoamislands4.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/seafoamislands4.asm b/scripts/seafoamislands4.asm
index 3c2be99c..ac573994 100755
--- a/scripts/seafoamislands4.asm
+++ b/scripts/seafoamislands4.asm
@@ -26,12 +26,10 @@ SeafoamIslands4Script: ; 4658d (11:658d)
.asm_465c4
ld a, [wd079]
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld a, [wd07a]
ld [wcc4d], a
- ld a, $15
- call Predef
+ predef ShowObject
jr .asm_465ed ; 0x465da $11
.asm_465dc
ld a, $a2