aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/PewterGym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/PewterGym.asm')
-rw-r--r--scripts/PewterGym.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/PewterGym.asm b/scripts/PewterGym.asm
index 0f4b9ebe..40a04d73 100644
--- a/scripts/PewterGym.asm
+++ b/scripts/PewterGym.asm
@@ -66,11 +66,11 @@ PewterGymScriptReceiveTM34:
ld hl, wBeatGymFlags
set BIT_BOULDERBADGE, [hl]
- ld a, HS_GYM_GUY
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_GYM_GUY
+ ld [wToggleableObjectIndex], a
predef HideObject
- ld a, HS_ROUTE_22_RIVAL_1
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_ROUTE_22_RIVAL_1
+ ld [wToggleableObjectIndex], a
predef HideObject
ResetEvents EVENT_1ST_ROUTE22_RIVAL_BATTLE, EVENT_ROUTE22_RIVAL_WANTS_BATTLE