summaryrefslogtreecommitdiff
path: root/scripts/pewtergym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pewtergym.asm')
-rwxr-xr-xscripts/pewtergym.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pewtergym.asm b/scripts/pewtergym.asm
index 576e8246..704ea104 100755
--- a/scripts/pewtergym.asm
+++ b/scripts/pewtergym.asm
@@ -66,10 +66,10 @@ PewterGymScript_5c3df: ; 5c3df (17:43df)
set 0, [hl]
ld a, HS_GYM_GUY
- ld [wcc4d], a
+ ld [wMissableObjectIndex], a
predef HideObject
ld a, HS_ROUTE_22_RIVAL_1
- ld [wcc4d], a
+ ld [wMissableObjectIndex], a
predef HideObject
ResetEvents EVENT_1ST_ROUTE22_RIVAL_BATTLE, EVENT_ROUTE22_RIVAL_WANTS_BATTLE