diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-05-08 11:35:23 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-05-08 11:35:23 -0400 |
commit | 8cb3819cc2a9ed3509240f614bae341da197fc31 (patch) | |
tree | 1ccd857a1c4489c5d9dcb5fa8aed1ce1ce2a242c /src/pokedex_screen.c | |
parent | a64b074e7dd28a88719515ebe3ea152d42dbf1ff (diff) | |
parent | 4767019e4f541a19577a9bfd09851a94b2e3c745 (diff) |
Merge remote-tracking branch 'origin/master' into doc_field_effect_templates
Diffstat (limited to 'src/pokedex_screen.c')
-rw-r--r-- | src/pokedex_screen.c | 6 |
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) |