summaryrefslogtreecommitdiff
path: root/scripts/pallettown.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/pallettown.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/pallettown.asm')
-rwxr-xr-xscripts/pallettown.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/pallettown.asm b/scripts/pallettown.asm
index e7bd2f57..c43b9682 100755
--- a/scripts/pallettown.asm
+++ b/scripts/pallettown.asm
@@ -54,7 +54,7 @@ PalletTownScript1: ; 18eb2 (6:4eb2)
call DisplayTextID
ld a,$FF
ld [wJoyIgnore],a
- ld a,0
+ ld a,HS_PALLET_TOWN_OAK
ld [wcc4d],a
predef ShowObject
@@ -141,10 +141,10 @@ PalletTownScript5: ; 18f56 (6:4f56)
jr nz,.next
ld hl,wd74a
set 2,[hl]
- ld a,$27
+ ld a,HS_DAISY_SITTING
ld [wcc4d],a
predef HideObject
- ld a,$28
+ ld a,HS_DAISY_WALKING
ld [wcc4d],a
predef_jump ShowObject
.next