summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-04-10 12:48:58 -0400
committerGitHub <noreply@github.com>2020-04-10 12:48:58 -0400
commit2880cf2a51ea36fa36f00d9ecf07177e5955c882 (patch)
tree331837d61614da6f73e983a7230796ace13c9ea6 /src/script.c
parenta81edaba1d5e0f84336fd8a57a48b2a970171ba4 (diff)
parent5f7ed93363db01da8667aadf47d78cb6515bb450 (diff)
Merge pull request #323 from PikalaxALT/various_documentation
Document various parts of the source tree
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script.c b/src/script.c
index 097f6d3f3..c45c6744c 100644
--- a/src/script.c
+++ b/src/script.c
@@ -435,7 +435,7 @@ bool8 TryRunOnFrameMapScript(void)
{
u8 *ptr;
- if(gQuestLogState == 3)
+ if(gQuestLogState == QL_STATE_PLAYBACK_LAST)
return 0;
ptr = mapheader_get_first_match_from_tagged_ptr_list(2);