summaryrefslogtreecommitdiff
path: root/src/mail.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/mail.c
parent50da52c29b3ee075c43f9832aaa4a7b8848e0ec7 (diff)
RGB Constants
Diffstat (limited to 'src/mail.c')
-rw-r--r--src/mail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mail.c b/src/mail.c
index 9cca4492e..0078bc4fc 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -19,6 +19,7 @@
#include "constants/species.h"
#include "alloc.h"
#include "easy_chat.h"
+#include "constants/rgb.h"
extern const u16 gMailPalette_Orange[];
extern const u16 gMailPalette_Harbor[];
@@ -417,7 +418,7 @@ static bool8 MailReadBuildGraphics(void)
ShowBg(0);
ShowBg(1);
ShowBg(2);
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, RGB_BLACK);
gPaletteFade.bufferTransferDisabled = FALSE;
sMailRead->callback2 = CB2_WaitForPaletteExitOnKeyPress;
return TRUE;
@@ -526,7 +527,7 @@ static void CB2_ExitOnKeyPress(void)
{
if (gMain.newKeys & (A_BUTTON | B_BUTTON))
{
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB_BLACK);
sMailRead->callback2 = CB2_ExitMailReadFreeVars;
}
}