diff options
author | huderlem <huderlem@gmail.com> | 2019-04-08 17:30:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-08 17:30:28 -0500 |
commit | ce93d3ab9ac460ba771863df60e36be8497b7c78 (patch) | |
tree | c0b78fe2cd3bd406c16d244dd257ccd5d751f9ef /src/naming_screen.c | |
parent | c8ce1a0a1f533a265d5134660c31b1ec6e8b86e0 (diff) | |
parent | 50350cc2e1c26082f9d852e97e1698f7254d4145 (diff) |
Merge pull request #661 from Phlosioneer/contest-ai-cleanup
contest & contest_ai cleanup
Diffstat (limited to 'src/naming_screen.c')
-rw-r--r-- | src/naming_screen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/naming_screen.c b/src/naming_screen.c index ee68edbd0..7da7d99b0 100644 --- a/src/naming_screen.c +++ b/src/naming_screen.c @@ -27,6 +27,7 @@ #include "text_window.h" #include "overworld.h" #include "constants/event_objects.h" +#include "constants/rgb.h" EWRAM_DATA static struct NamingScreenData *gNamingScreenData = NULL; extern u16 gKeyRepeatStartDelay; @@ -463,7 +464,7 @@ static bool8 MainState_BeginFadeIn(void) CopyBgTilemapBufferToVram(2); CopyBgTilemapBufferToVram(3); BlendPalettes(-1, 16, 0); - BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, 0); + BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, RGB_BLACK); gNamingScreenData->state++; return FALSE; } @@ -517,7 +518,7 @@ static bool8 MainState_6(void) static bool8 MainState_BeginFadeInOut(void) { - BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, 0); + BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB_BLACK); gNamingScreenData->state++; return FALSE; } |