summaryrefslogtreecommitdiff
path: root/scripts/pewtercity.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/pewtercity.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/pewtercity.asm')
-rwxr-xr-xscripts/pewtercity.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/pewtercity.asm b/scripts/pewtercity.asm
index ba32454a..55369df9 100755
--- a/scripts/pewtercity.asm
+++ b/scripts/pewtercity.asm
@@ -85,7 +85,7 @@ PewterCityScript2: ; 192d3 (6:52d3)
ld a, [wd730]
bit 0, a
ret nz
- ld a, $3
+ ld a, HS_MUSEUM_GUY
ld [wcc4d], a
predef HideObject
ld a, $3
@@ -96,7 +96,7 @@ PewterCityScript3: ; 192e9 (6:52e9)
ld a, $3
ld [wSpriteIndex], a
call SetSpritePosition2
- ld a, $3
+ ld a, HS_MUSEUM_GUY
ld [wcc4d], a
predef ShowObject
xor a
@@ -149,7 +149,7 @@ PewterCityScript5: ; 19359 (6:5359)
ld a, [wd730]
bit 0, a
ret nz
- ld a, $4
+ ld a, HS_GYM_GUY
ld [wcc4d], a
predef HideObject
ld a, $6
@@ -160,7 +160,7 @@ PewterCityScript6: ; 1936f (6:536f)
ld a, $5
ld [wSpriteIndex], a
call SetSpritePosition2
- ld a, $4
+ ld a, HS_GYM_GUY
ld [wcc4d], a
predef ShowObject
xor a