From 46f11caa27ab2698eebc89b3fdb8e9f1a790b9a2 Mon Sep 17 00:00:00 2001 From: RavePossum Date: Mon, 15 Apr 2024 16:34:36 -0400 Subject: [PATCH] cleanup for bw theme --- src/map_name_popup.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/map_name_popup.c b/src/map_name_popup.c index 323b71de67..65b2b08d5f 100644 --- a/src/map_name_popup.c +++ b/src/map_name_popup.c @@ -36,7 +36,7 @@ enum MapPopUp_Themes enum MapPopUp_Themes_BW { - MAPPOPUP_THEME_DEFAULT, + MAPPOPUP_THEME_BW_DEFAULT, }; // static functions @@ -615,9 +615,10 @@ static void LoadMapNamePopUpWindowBg(void) if (MAP_POPUP_GENERATION == GEN_5) { popUpThemeId = sRegionMapSectionId_To_PopUpThemeIdMapping_BW[regionMapSectionId]; - switch (popUpThemeId) { - // add more themes as case statements here - default: + switch (popUpThemeId) + { + // add additional themes as cases here + case MAPPOPUP_THEME_BW_DEFAULT: if (MAP_POPUP_BW_COLOR == MAP_POPUP_BW_COLOR_WHITE) LoadPalette(sMapPopUpTilesPalette_BW_White, BG_PLTT_ID(14), sizeof(sMapPopUpTilesPalette_BW_White)); else