diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2018-12-31 02:22:21 -0600 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2018-12-31 02:22:21 -0600 |
commit | ec780bb2098be75e591b212e85947f88c91d4e37 (patch) | |
tree | 4b93fedcc9e949640ff2270a938f6ae3c784b696 /src/script_pokemon_util_80F87D8.c | |
parent | c5c6e437ec77138505cd236c572f8d9956a4c4b4 (diff) |
Cleanup and documentation
Diffstat (limited to 'src/script_pokemon_util_80F87D8.c')
-rwxr-xr-x | src/script_pokemon_util_80F87D8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script_pokemon_util_80F87D8.c b/src/script_pokemon_util_80F87D8.c index 2611c5c6d..b65557fe7 100755 --- a/src/script_pokemon_util_80F87D8.c +++ b/src/script_pokemon_util_80F87D8.c @@ -451,7 +451,7 @@ static void sub_80F9088(u8 taskId) switch (gTasks[taskId].data[0]) { case 0: - if (sub_800A520()) + if (IsLinkTaskFinished()) { sub_800ADF8(); gTasks[taskId].data[0]++; @@ -461,7 +461,7 @@ static void sub_80F9088(u8 taskId) gTasks[taskId].data[0]++; break; default: - if (sub_800A520() == 1) + if (IsLinkTaskFinished() == 1) { EnableBothScriptContexts(); DestroyTask(taskId); |