summaryrefslogtreecommitdiff
path: root/scripts/celadonmansion5.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/celadonmansion5.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/celadonmansion5.asm')
-rwxr-xr-xscripts/celadonmansion5.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/celadonmansion5.asm b/scripts/celadonmansion5.asm
index 66ef96d8..c18e36c6 100755
--- a/scripts/celadonmansion5.asm
+++ b/scripts/celadonmansion5.asm
@@ -14,7 +14,7 @@ CeladonMansion5Text2: ; 1dd46 (7:5d46)
ld bc,(EEVEE << 8) | 25
call GivePokemon
jr nc, .asm_24365 ; 0x1dd4d
- ld a, $45
+ ld a, HS_CELADON_MANSION_5_GIFT
ld [wcc4d], a
predef HideObject
.asm_24365 ; 0x1dd59