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/billshouse.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/billshouse.asm') diff --git a/scripts/billshouse.asm b/scripts/billshouse.asm index 14882d1a..61a575b9 100755 --- a/scripts/billshouse.asm +++ b/scripts/billshouse.asm @@ -39,7 +39,7 @@ BillsHouseScript2: ; 1e7a6 (7:67a6) ld a, [wd730] bit 0, a ret nz - ld a, $61 + ld a, HS_BILL_POKEMON ld [wcc4d], a predef HideObject ld hl, wd7f2 @@ -67,7 +67,7 @@ BillsHouseScript3: ; 1e7c5 (7:67c5) ld a, $5 ld [$ffee], a call SetSpritePosition1 - ld a, $62 + ld a, HS_BILL_1 ld [wcc4d], a predef ShowObject ld c, $8 @@ -161,10 +161,10 @@ BillsHouseText2: ; 1e874 (7:6874) call PrintText ld hl, wd7f2 set 4, [hl] - ld a, $7 + ld a, HS_CERULEAN_GUARD_1 ld [wcc4d], a predef ShowObject - ld a, $9 + ld a, HS_CERULEAN_GUARD_2 ld [wcc4d], a predef HideObject .asm_5491f ; 0x1e8a9 -- cgit v1.3.1-sl0p