diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-12-31 02:34:42 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-31 02:34:42 -0600 |
commit | 935a098843b1176db8e4b4f8f82f70086a0ed92f (patch) | |
tree | 2c20338324f10a553e78e731d999dd58669266c3 /src/script_pokemon_util_80F87D8.c | |
parent | 58f130d007b97623dd5c7a3b373800c138f75c5e (diff) | |
parent | d004ce065c9cc6425df6f567dff39eb831f84875 (diff) |
Merge pull request #456 from Diegoisawesome/trade
trade.c
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 102e80064..15e91ac98 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); |