diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-04-10 12:48:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 12:48:58 -0400 |
commit | 2880cf2a51ea36fa36f00d9ecf07177e5955c882 (patch) | |
tree | 331837d61614da6f73e983a7230796ace13c9ea6 /src/field_tasks.c | |
parent | a81edaba1d5e0f84336fd8a57a48b2a970171ba4 (diff) | |
parent | 5f7ed93363db01da8667aadf47d78cb6515bb450 (diff) |
Merge pull request #323 from PikalaxALT/various_documentation
Document various parts of the source tree
Diffstat (limited to 'src/field_tasks.c')
-rw-r--r-- | src/field_tasks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field_tasks.c b/src/field_tasks.c index 4c7b93f20..0eb3045e0 100644 --- a/src/field_tasks.c +++ b/src/field_tasks.c @@ -1,4 +1,5 @@ #include "global.h" +#include "gflib.h" #include "bike.h" #include "event_data.h" #include "field_camera.h" @@ -9,7 +10,6 @@ #include "overworld.h" #include "quest_log.h" #include "script.h" -#include "sound.h" #include "task.h" #include "constants/field_tasks.h" #include "constants/flags.h" @@ -61,7 +61,7 @@ static void Task_RunTimeBasedEvents(u8 taskId) if (!ScriptContext2_IsEnabled()) { - if (gQuestLogState != 2 && gQuestLogState != 3) + if (!QL_IS_PLAYBACK_STATE) { UpdateAmbientCry(&data[1], &data[2]); } |