diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-12-21 13:25:12 -0500 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-12-21 13:25:12 -0500 |
commit | 0f116854b2408ea7750e9c3f8da4d4ea2a3e0d38 (patch) | |
tree | 38bb9b6d56ea6c60be2087e9ff4e76b82c6a8d1b /src/field/field_screen_effect.c | |
parent | 272cd213391b5ce87cb2aeac263b3eedb0f19a07 (diff) | |
parent | 85a8e5f1ded5a0a2354916617dd0b82091a42ee0 (diff) |
Merge branch 'master' of https://github.com/pret/pokeruby into assert
Diffstat (limited to 'src/field/field_screen_effect.c')
-rw-r--r-- | src/field/field_screen_effect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/field/field_screen_effect.c b/src/field/field_screen_effect.c index a18190809..a472d5a9c 100644 --- a/src/field/field_screen_effect.c +++ b/src/field/field_screen_effect.c @@ -283,17 +283,17 @@ void sub_80818A4(void) u8 taskId = CreateTask(sub_80816A8, 80); s16 *data = gTasks[taskId].data; - if (gScriptResult == 0) + if (gSpecialVar_Result == 0) { data[1] = 0; data[2] = 104; } - else if (gScriptResult == 1) + else if (gSpecialVar_Result == 1) { data[1] = 1; data[2] = 104; } - else if (gScriptResult == 2) + else if (gSpecialVar_Result == 2) { data[1] = 0; data[2] = 120; |