summaryrefslogtreecommitdiff
path: root/src/recorded_battle.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-04-04 17:05:46 -0400
committerPhlosioneer <mattmdrr2@gmail.com>2019-04-04 17:05:46 -0400
commit1360b3a477f1107785900cd0c4e73ebf018f058c (patch)
treec050216422dc6ebe569b3926b85cb07d9cece8df /src/recorded_battle.c
parent50da52c29b3ee075c43f9832aaa4a7b8848e0ec7 (diff)
RGB Constants
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 acd4c2ce6..6af849bca 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;
}