summaryrefslogtreecommitdiff
path: root/src/pokedex_screen.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-05-06 09:14:13 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-05-06 09:14:13 -0400
commit693e1c0fc934e3e2ee343d2c48ee61bb122e388d (patch)
treeb0887195b282ff1b645e988a8093af5e2526ac61 /src/pokedex_screen.c
parent9ed87063f1682488a809f95dd578dec37d916aad (diff)
Replace unknown list struct
Diffstat (limited to 'src/pokedex_screen.c')
-rw-r--r--src/pokedex_screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokedex_screen.c b/src/pokedex_screen.c
index dc8968a5f..c4749055d 100644
--- a/src/pokedex_screen.c
+++ b/src/pokedex_screen.c
@@ -1187,10 +1187,10 @@ static void MoveCursorFunc_DexModeSelect(s32 itemIndex, bool8 onInit, struct Lis
static void ItemPrintFunc_DexModeSelect(u8 windowId, s32 itemId, u8 y)
{
u32 itemId_ = itemId;
- if (itemId_ > 8 || sPokedexScreenData->unlockedCategories & (1 << itemId_))
- ListMenuOverrideSetColors(1, 0, 3);
+ if (itemId_ >= DEX_CATEGORY_COUNT || sPokedexScreenData->unlockedCategories & (1 << itemId_))
+ ListMenuOverrideSetColors(TEXT_COLOR_WHITE, TEXT_COLOR_TRANSPARENT, TEXT_COLOR_LIGHT_GRAY);
else
- ListMenuOverrideSetColors(10, 0, 11);
+ ListMenuOverrideSetColors(TEXT_DYNAMIC_COLOR_1, TEXT_COLOR_TRANSPARENT, TEXT_DYNAMIC_COLOR_2);
}
static void Task_DexScreen_NumericalOrder(u8 taskId)