summaryrefslogtreecommitdiff
path: root/src/wild_encounter.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-10 13:10:44 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-10 13:10:44 -0400
commitb22d3a821d8656d9fb88000ce02e5b885a59e1c3 (patch)
tree7d4054b0df9f5746b3e31623868bf7d604ae7328 /src/wild_encounter.c
parent8626240b54d87449e5db70345840ccf20717d8c7 (diff)
parent2880cf2a51ea36fa36f00d9ecf07177e5955c882 (diff)
Merge branch 'master' of github.com:pret/pokefirered into modern_gcc
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 118df3c8c..5e1daaf36 100644
--- a/src/wild_encounter.c
+++ b/src/wild_encounter.c
@@ -584,7 +584,7 @@ bool8 UpdateRepelCounter(void)
if (InUnionRoom() == TRUE)
return FALSE;
- if (gQuestLogState == 2)
+ if (gQuestLogState == QL_STATE_PLAYBACK)
return FALSE;
steps = VarGet(VAR_REPEL_STEP_COUNT);