summaryrefslogtreecommitdiff
path: root/scripts/fightingdojo.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/fightingdojo.asm
parentd10108a066c102bf2d167ac656d79308e41f304e (diff)
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'scripts/fightingdojo.asm')
-rwxr-xr-xscripts/fightingdojo.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/fightingdojo.asm b/scripts/fightingdojo.asm
index 23816925..5f244781 100755
--- a/scripts/fightingdojo.asm
+++ b/scripts/fightingdojo.asm
@@ -281,8 +281,7 @@ FightingDojoText6: ; 5cf06 (17:4f06)
; once Poké Ball is taken, hide sprite
ld a, $4a
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
ld hl, wd7b1
set 6, [hl]
set 0, [hl]
@@ -323,8 +322,7 @@ FightingDojoText7: ; 5cf4e (17:4f4e)
; once Poké Ball is taken, hide sprite
ld a, $4b
ld [wcc4d], a
- ld a, $11
- call Predef
+ predef HideObject
.done
jp TextScriptEnd