summaryrefslogtreecommitdiff
path: root/src/field/starter_choose.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-12-23 13:32:58 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-12-23 13:32:58 -0500
commit65e35eb2195277214cfaecec183a2fba64e8e538 (patch)
treec073aceff1ceba29fdb4d65767a18a07c15c7117 /src/field/starter_choose.c
parent6675a6782f3c9be808672aa12c061f1d3f1f5d2e (diff)
parentaa13f45ebb79aed62171fbfe654d8b542fc9aa6c (diff)
Merge branch 'master' into decompile_data
Diffstat (limited to 'src/field/starter_choose.c')
-rw-r--r--src/field/starter_choose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field/starter_choose.c b/src/field/starter_choose.c
index 149eaa03d..701d4087a 100644
--- a/src/field/starter_choose.c
+++ b/src/field/starter_choose.c
@@ -16,7 +16,7 @@
#include "trig.h"
#include "unknown_task.h"
-extern u16 gScriptResult;
+extern u16 gSpecialVar_Result;
extern struct SpriteTemplate gUnknown_02024E8C;
//--------------------------------------------------
@@ -439,7 +439,7 @@ static void Task_StarterChoose5(u8 taskId)
{
case 0: // YES
//Return the starter choice and exit.
- gScriptResult = gTasks[taskId].tStarterSelection;
+ gSpecialVar_Result = gTasks[taskId].tStarterSelection;
SetMainCallback2(gMain.savedCallback);
break;
case 1: // NO