summaryrefslogtreecommitdiff
path: root/src/diploma.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/diploma.c
parentc8ce1a0a1f533a265d5134660c31b1ec6e8b86e0 (diff)
parent50350cc2e1c26082f9d852e97e1698f7254d4145 (diff)
Merge pull request #661 from Phlosioneer/contest-ai-cleanup
contest & contest_ai cleanup
Diffstat (limited to 'src/diploma.c')
-rw-r--r--src/diploma.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/diploma.c b/src/diploma.c
index 2113b09ed..92c7df703 100644
--- a/src/diploma.c
+++ b/src/diploma.c
@@ -14,6 +14,7 @@
#include "overworld.h"
#include "menu.h"
#include "pokedex.h"
+#include "constants/rgb.h"
extern const u8 gText_DexNational[];
extern const u8 gText_DexHoenn[];
@@ -83,7 +84,7 @@ void CB2_ShowDiploma(void)
CopyBgTilemapBufferToVram(1);
DisplayDiplomaText();
BlendPalettes(-1, 16, 0);
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, RGB_BLACK);
EnableInterrupts(1);
SetVBlankCallback(VBlankCB);
SetMainCallback2(MainCB2);
@@ -108,7 +109,7 @@ static void Task_DiplomaWaitForKeyPress(u8 taskId)
{
if (gMain.newKeys & (A_BUTTON | B_BUTTON))
{
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, 0);
+ BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB_BLACK);
gTasks[taskId].func = Task_DiplomaFadeOut;
}
}