summaryrefslogtreecommitdiff
path: root/scripts/rockethideout4.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/rockethideout4.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/rockethideout4.asm')
-rwxr-xr-xscripts/rockethideout4.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/rockethideout4.asm b/scripts/rockethideout4.asm
index 097512c3..f1b46653 100755
--- a/scripts/rockethideout4.asm
+++ b/scripts/rockethideout4.asm
@@ -59,10 +59,10 @@ RocketHideout4Script3: ; 454b6 (11:54b6)
ld [H_SPRITEHEIGHT], a
call DisplayTextID
call GBFadeOutToBlack
- ld a, $83
+ ld a, HS_ROCKET_HIDEOUT_4_GIOVANNI
ld [wcc4d], a
predef HideObject
- ld a, $87
+ ld a, HS_ROCKET_HIDEOUT_4_ITEM_4
ld [wcc4d], a
predef ShowObject
call UpdateSprites
@@ -217,7 +217,7 @@ RocketHideout4AfterBattleText4: ; 455cf (11:55cf)
bit 6, [hl]
set 6, [hl]
jr nz, .asm_455e9 ; 0x455dd $a
- ld a, $88
+ ld a, HS_ROCKET_HIDEOUT_4_ITEM_5
ld [wcc4d], a
predef ShowObject
.asm_455e9