diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-17 22:33:36 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-11-17 22:33:36 +0100 |
commit | ca43536242e66ed2d6ccee98215fbf4a59debd7a (patch) | |
tree | a64b7f626b75541a4ad70bfb074488bd7a82fcc5 /src | |
parent | d0245cf8d23aa65a357977a00b21f58d42dfcf6e (diff) |
make recorded battle compile
Diffstat (limited to 'src')
-rw-r--r-- | src/recorded_battle.c | 2 |
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); |