diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2021-11-03 20:49:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 20:49:14 -0400 |
commit | 7940f121f66bb0ebe0932bc642c3d9b4015f79a7 (patch) | |
tree | 12e56d31471fc2506a4d03c6ca1c52c717b6b6ff /src/pokenav.c | |
parent | 6bdf6f25f4b24207cd17b25b5d7f4b68da48fcc0 (diff) | |
parent | 3e49ac804b53cdb4d39b4f92de949eb858efcee4 (diff) |
Merge pull request #1539 from GriffinRichards/doc-finalmisc
Document files with a few remaining symbols
Diffstat (limited to 'src/pokenav.c')
-rw-r--r-- | src/pokenav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokenav.c b/src/pokenav.c index 925560543..d30c523f9 100644 --- a/src/pokenav.c +++ b/src/pokenav.c @@ -212,7 +212,7 @@ u32 CreateLoopedTask(LoopedTask loopedTask, u32 priority) { u16 taskId; - if (!IsUpdateLinkStateCBActive()) + if (!IsOverworldLinkActive()) taskId = CreateTask(Task_RunLoopedTask, priority); else taskId = CreateTask(Task_RunLoopedTask_LinkMode, priority); @@ -288,7 +288,7 @@ static void Task_RunLoopedTask_LinkMode(u8 taskId) s16 *state; u32 action; - if (Overworld_LinkRecvQueueLengthMoreThan2()) + if (Overworld_IsRecvQueueAtMax()) return; task = (LoopedTask)GetWordTaskArg(taskId, 1); |