summaryrefslogtreecommitdiff
path: root/src/recorded_battle.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-04-08 17:30:28 -0500
committerGitHub <noreply@github.com>2019-04-08 17:30:28 -0500
commitce93d3ab9ac460ba771863df60e36be8497b7c78 (patch)
treec0b78fe2cd3bd406c16d244dd257ccd5d751f9ef /src/recorded_battle.c
parentc8ce1a0a1f533a265d5134660c31b1ec6e8b86e0 (diff)
parent50350cc2e1c26082f9d852e97e1698f7254d4145 (diff)
Merge pull request #661 from Phlosioneer/contest-ai-cleanup
contest & contest_ai cleanup
Diffstat (limited to 'src/recorded_battle.c')
-rw-r--r--src/recorded_battle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/recorded_battle.c b/src/recorded_battle.c
index 9f2be36af..ac97dfcd6 100644
--- a/src/recorded_battle.c
+++ b/src/recorded_battle.c
@@ -17,6 +17,7 @@
#include "battle_setup.h"
#include "frontier_util.h"
#include "constants/trainers.h"
+#include "constants/rgb.h"
#define BATTLER_RECORD_SIZE 664
#define ILLEGAL_BATTLE_TYPES ((BATTLE_TYPE_LINK | BATTLE_TYPE_SAFARI | BATTLE_TYPE_FIRST_BATTLE \
@@ -220,7 +221,7 @@ u8 RecordedBattle_GetBattlerAction(u8 battlerId)
{
gSpecialVar_Result = gBattleOutcome = B_OUTCOME_PLAYER_TELEPORTED; // hah
ResetPaletteFadeControl();
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, RGB_BLACK);
SetMainCallback2(CB2_QuitRecordedBattle);
return 0xFF;
}