From de39851f4a06da54856b1da36edf92e3ab9fb9cc Mon Sep 17 00:00:00 2001 From: "U-Daniel-PC\\Daniel" Date: Thu, 25 Sep 2014 19:21:49 -0400 Subject: 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. --- scripts/rockethideout4.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/rockethideout4.asm') 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 -- cgit v1.3.1-sl0p