summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-07-16 20:23:05 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-07-16 20:23:05 +0200
commitea5ffa3375f58c3d859f48d220a8a67fcb56fa61 (patch)
treee04cbfe52909f094f9b7a0b20e927d0f5851b201 /src/battle_script_commands.c
parentee3d505b585c5d0a8b6a8a68b8ab787d04bdc33a (diff)
parent07ef76277021d5cddf14004e37e785c31fcea69b (diff)
Merge with master
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index eb6feb2a0..eb31c22dc 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -19,6 +19,7 @@
#include "constants/songs.h"
#include "constants/trainers.h"
#include "constants/battle_anim.h"
+#include "constants/map_types.h"
#include "text.h"
#include "sound.h"
#include "pokedex.h"
@@ -5713,7 +5714,7 @@ static void atk5A_yesnoboxlearnmove(void)
if (gBattleCommunication[1] == 0)
{
HandleBattleWindow(0x18, 0x8, 0x1D, 0xD, WINDOW_CLEAR);
- BeginNormalPaletteFade(-1, 0, 0, 0x10, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, 0);
gBattleScripting.learnMoveState++;
}
else
@@ -10288,7 +10289,7 @@ static void atkF2_displaydexinfo(void)
switch (gBattleCommunication[0])
{
case 0:
- BeginNormalPaletteFade(-1, 0, 0, 0x10, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 0x10, 0);
gBattleCommunication[0]++;
break;
case 1: