aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/SilphCo7F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/SilphCo7F.asm')
-rw-r--r--scripts/SilphCo7F.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/SilphCo7F.asm b/scripts/SilphCo7F.asm
index 29e5fdd3..6b640fd4 100644
--- a/scripts/SilphCo7F.asm
+++ b/scripts/SilphCo7F.asm
@@ -255,8 +255,8 @@ SilphCo7FRivalExitScript:
ld a, [wStatusFlags5]
bit BIT_SCRIPTED_NPC_MOVEMENT, a
ret nz
- ld a, HS_SILPH_CO_7F_RIVAL
- ld [wMissableObjectIndex], a
+ ld a, TOGGLE_SILPH_CO_7F_RIVAL
+ ld [wToggleableObjectIndex], a
predef HideObject
call PlayDefaultMusic
xor a