summaryrefslogtreecommitdiff
path: root/src/naming_screen.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-28 10:26:49 -0500
committerGitHub <noreply@github.com>2021-02-28 10:26:49 -0500
commitea748ff7f51a7c119658930f878d046cc8b83c51 (patch)
tree3616ea8ad0a2b3f05482ffd3b9db929a8b5f4573 /src/naming_screen.c
parent70c560cc84ec4152438815a7abae673ae6f589f8 (diff)
parent293df1887f4b849e96d06530c722bd39afb7b72b (diff)
Merge pull request #1344 from GriffinRichards/doc-ec
Document easy chat and mail, script.c cleanup, add/use some general constants
Diffstat (limited to 'src/naming_screen.c')
-rw-r--r--src/naming_screen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/naming_screen.c b/src/naming_screen.c
index be921078e..a1dfac88e 100644
--- a/src/naming_screen.c
+++ b/src/naming_screen.c
@@ -635,8 +635,8 @@ static bool8 MainState_FadeIn(void)
CopyBgTilemapBufferToVram(1);
CopyBgTilemapBufferToVram(2);
CopyBgTilemapBufferToVram(3);
- BlendPalettes(-1, 16, 0);
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 16, 0, RGB_BLACK);
+ BlendPalettes(PALETTES_ALL, 16, 0);
+ BeginNormalPaletteFade(PALETTES_ALL, 0, 16, 0, RGB_BLACK);
sNamingScreen->state++;
return FALSE;
}
@@ -690,7 +690,7 @@ static bool8 MainState_PressedOKButton(void)
static bool8 MainState_FadeOut(void)
{
- BeginNormalPaletteFade(0xFFFFFFFF, 0, 0, 16, RGB_BLACK);
+ BeginNormalPaletteFade(PALETTES_ALL, 0, 0, 16, RGB_BLACK);
sNamingScreen->state++;
return FALSE;
}
@@ -826,7 +826,7 @@ static void Task_HandlePageSwapAnim(u8 taskId)
static bool8 IsPageSwapAnimNotInProgress(void)
{
- if (FindTaskIdByFunc(Task_HandlePageSwapAnim) == 0xFF)
+ if (FindTaskIdByFunc(Task_HandlePageSwapAnim) == TASK_NONE)
return TRUE;
else
return FALSE;