summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2021-07-03 17:00:04 -0400
committerKurausukun <lord.uber1@gmail.com>2021-07-03 17:00:04 -0400
commit4a8bc916b101684b67a7df4dfbc4e1a97ec08a5b (patch)
treeeacf63589e649f91a406811a47174c43fe46d599 /src
parent85beaf7f82b9848cf21fe40b86a51027cd5fbbc1 (diff)
remove redundant variable
Diffstat (limited to 'src')
-rw-r--r--src/pokedex_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pokedex_screen.c b/src/pokedex_screen.c
index 2c613e614..75660518d 100644
--- a/src/pokedex_screen.c
+++ b/src/pokedex_screen.c
@@ -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);