diff options
author | Phlosioneer <mattmdrr2@gmail.com> | 2019-04-04 17:05:46 -0400 |
---|---|---|
committer | Phlosioneer <mattmdrr2@gmail.com> | 2019-04-04 17:05:46 -0400 |
commit | 1360b3a477f1107785900cd0c4e73ebf018f058c (patch) | |
tree | c050216422dc6ebe569b3926b85cb07d9cece8df /src/naming_screen.c | |
parent | 50da52c29b3ee075c43f9832aaa4a7b8848e0ec7 (diff) |
RGB Constants
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 75b7c8566..c264cfeed 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; } |