summaryrefslogtreecommitdiff
path: root/scripts/billshouse.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/billshouse.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/billshouse.asm')
-rwxr-xr-xscripts/billshouse.asm8
1 files changed, 4 insertions, 4 deletions
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