mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-11 22:45:18 -05:00
remove redundant variable
This commit is contained in:
parent
85beaf7f82
commit
4a8bc916b1
|
|
@ -1186,8 +1186,7 @@ static void MoveCursorFunc_DexModeSelect(s32 itemIndex, bool8 onInit, struct Lis
|
|||
|
||||
static void ItemPrintFunc_DexModeSelect(u8 windowId, u32 itemId, u8 y)
|
||||
{
|
||||
u32 itemId_ = itemId;
|
||||
if (itemId_ >= DEX_CATEGORY_COUNT || sPokedexScreenData->unlockedCategories & (1 << itemId_))
|
||||
if (itemId >= DEX_CATEGORY_COUNT || sPokedexScreenData->unlockedCategories & (1 << itemId))
|
||||
ListMenuOverrideSetColors(TEXT_COLOR_WHITE, TEXT_COLOR_TRANSPARENT, TEXT_COLOR_LIGHT_GRAY);
|
||||
else
|
||||
ListMenuOverrideSetColors(TEXT_DYNAMIC_COLOR_1, TEXT_COLOR_TRANSPARENT, TEXT_DYNAMIC_COLOR_2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user