summaryrefslogtreecommitdiff
path: root/scripts/ceruleancity.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/ceruleancity.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/ceruleancity.asm')
-rwxr-xr-xscripts/ceruleancity.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ceruleancity.asm b/scripts/ceruleancity.asm
index 97824662..bbddad79 100755
--- a/scripts/ceruleancity.asm
+++ b/scripts/ceruleancity.asm
@@ -8,7 +8,7 @@ CeruleanCityScript_1948c: ; 1948c (6:548c)
xor a
ld [wJoyIgnore], a
ld [W_CERULEANCITYCURSCRIPT], a
- ld a, $5
+ ld a, HS_CERULEAN_RIVAL
ld [wcc4d], a
predef_jump HideObject
@@ -88,7 +88,7 @@ CeruleanCityScript0: ; 194c8 (6:54c8)
call GetPointerWithinSpriteStateData2
ld [hl], $19
.asm_19535
- ld a, $5
+ ld a, HS_CERULEAN_RIVAL
ld [wcc4d], a
predef ShowObject
ld de, CeruleanCityMovement1
@@ -204,7 +204,7 @@ CeruleanCityScript3: ; 19610 (6:5610)
ld a, [wd730]
bit 0, a
ret nz
- ld a, $5
+ ld a, HS_CERULEAN_RIVAL
ld [wcc4d], a
predef HideObject
xor a