summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-11-17 22:33:36 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2017-11-17 22:33:36 +0100
commitca43536242e66ed2d6ccee98215fbf4a59debd7a (patch)
treea64b7f626b75541a4ad70bfb074488bd7a82fcc5 /src
parentd0245cf8d23aa65a357977a00b21f58d42dfcf6e (diff)
make recorded battle compile
Diffstat (limited to 'src')
-rw-r--r--src/recorded_battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recorded_battle.c b/src/recorded_battle.c
index d7ef254a1..e843ff7cb 100644
--- a/src/recorded_battle.c
+++ b/src/recorded_battle.c
@@ -226,7 +226,7 @@ u8 RecordedBattle_ReadBankAction(u8 bank)
// trying to read past array or invalid action byte, battle is over
if (sRecordedBytesNo[bank] >= BANK_RECORD_SIZE || sBattleRecords[bank][sRecordedBytesNo[bank]] == 0xFF)
{
- gScriptResult = gBattleOutcome = BATTLE_PLAYER_TELEPORTED; // hah
+ gSpecialVar_Result = gBattleOutcome = BATTLE_PLAYER_TELEPORTED; // hah
ResetPaletteFadeControl();
BeginNormalPaletteFade(-1, 0, 0, 0x10, 0);
SetMainCallback2(CB2_QuitRecordedBattle);