diff --git a/src/pokedex.c b/src/pokedex.c index 8b70529a93..2cf8274db5 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -1387,7 +1387,7 @@ static const struct SearchOptionText sDexSearchColorOptions[] = {}, }; -static const struct SearchOptionText sDexSearchTypeOptions[NUMBER_OF_MON_TYPES] = // + 2 for "None" and terminator, - 2 for Mystery and Stellar +static const struct SearchOptionText sDexSearchTypeOptions[] = { {gText_DexEmptyString, gTypesInfo[TYPE_NONE].name}, {gText_DexEmptyString, gTypesInfo[TYPE_NORMAL].name}, diff --git a/src/pokedex_plus_hgss.c b/src/pokedex_plus_hgss.c index e3728132db..3788ea4c44 100644 --- a/src/pokedex_plus_hgss.c +++ b/src/pokedex_plus_hgss.c @@ -1901,7 +1901,7 @@ static const struct SearchOptionText sDexSearchColorOptions[] = {}, }; -static const struct SearchOptionText sDexSearchTypeOptions[NUMBER_OF_MON_TYPES] = // + 2 for "None" and terminator, - 2 for Mystery and Stellar +static const struct SearchOptionText sDexSearchTypeOptions[] = { {gText_DexEmptyString, gTypesInfo[TYPE_NONE].name}, {gText_DexEmptyString, gTypesInfo[TYPE_NORMAL].name},