summaryrefslogtreecommitdiff
path: root/scripts/route25.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/route25.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/route25.asm')
-rwxr-xr-xscripts/route25.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/route25.asm b/scripts/route25.asm
index 720259ca..b915bdee 100755
--- a/scripts/route25.asm
+++ b/scripts/route25.asm
@@ -19,20 +19,20 @@ Route25Script_515e1: ; 515e1 (14:55e1)
bit 5, [hl]
jr nz, .asm_515ff
res 6, [hl]
- ld a, $61
+ ld a, HS_BILL_POKEMON
ld [wcc4d], a
predef_jump ShowObject
.asm_515ff
bit 4, [hl]
ret z
set 7, [hl]
- ld a, $24
+ ld a, HS_NUGGET_BRIDGE_GUY
ld [wcc4d], a
predef HideObject
- ld a, $62
+ ld a, HS_BILL_1
ld [wcc4d], a
predef HideObject
- ld a, $63
+ ld a, HS_BILL_2
ld [wcc4d], a
predef_jump ShowObject