summaryrefslogtreecommitdiff
path: root/src/wild_encounter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wild_encounter.c')
-rw-r--r--src/wild_encounter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wild_encounter.c b/src/wild_encounter.c
index f17e1f79b..b32eb583a 100644
--- a/src/wild_encounter.c
+++ b/src/wild_encounter.c
@@ -584,7 +584,7 @@ bool8 UpdateRepelCounter(void)
if (InUnionRoom() == TRUE)
return FALSE;
- if (gUnknown_203ADFA == 2)
+ if (gQuestLogState == 2)
return FALSE;
steps = VarGet(VAR_REPEL_STEP_COUNT);