summaryrefslogtreecommitdiff
path: root/scripts/fightingdojo.asm
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2014-09-25 19:21:49 -0400
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2014-09-25 19:21:49 -0400
commitde39851f4a06da54856b1da36edf92e3ab9fb9cc (patch)
tree407034e78decc6bd2f2848dd8a1c46a0020b8d35 /scripts/fightingdojo.asm
parent070c9649645f564c081bfaedbe07b64191868e2d (diff)
Make Hide/Show objects more dynamic
be on the look out for more static ids in the wild unused constants are still included because a script could be written to check whether the player has picked up an item/fought a legendary etc.
Diffstat (limited to 'scripts/fightingdojo.asm')
-rwxr-xr-xscripts/fightingdojo.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/fightingdojo.asm b/scripts/fightingdojo.asm
index 4a55347e..e26da1b1 100755
--- a/scripts/fightingdojo.asm
+++ b/scripts/fightingdojo.asm
@@ -279,7 +279,7 @@ FightingDojoText6: ; 5cf06 (17:4f06)
jr nc, .done
; once Poké Ball is taken, hide sprite
- ld a, $4a
+ ld a, HS_FIGHTING_DOJO_GIFT_1
ld [wcc4d], a
predef HideObject
ld hl, wd7b1
@@ -320,7 +320,7 @@ FightingDojoText7: ; 5cf4e (17:4f4e)
set 0, [hl]
; once Poké Ball is taken, hide sprite
- ld a, $4b
+ ld a, HS_FIGHTING_DOJO_GIFT_2
ld [wcc4d], a
predef HideObject
.done