summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-04-25 20:20:19 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-04-25 20:20:19 -0400
commit5f65f542e184bf7a3a3d332ed74c7fc7d61ff0bf (patch)
tree19b165a1ba1bc5d7ce302d7663cdb41c2c5a91e8 /src
parentb11edef8f1a5f2b745e3bcd28b677a5fe0c3510b (diff)
Apply @huderlem's suggestion
Diffstat (limited to 'src')
-rw-r--r--src/pokedex_area_screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokedex_area_screen.c b/src/pokedex_area_screen.c
index 4cf13da76..ac7635d1a 100644
--- a/src/pokedex_area_screen.c
+++ b/src/pokedex_area_screen.c
@@ -88,7 +88,7 @@ static const u16 gUnknown_083F8418[] = INCBIN_U16("graphics/pokedex/area_glow.gb
static const u8 gUnknown_083F8438[] = INCBIN_U8("graphics/pokedex/area_glow.4bpp.lz");
-static const u16 sWynautData[] = {SPECIES_WYNAUT};
+static const u16 sSpeciesHiddenFromAreaScreen[] = {SPECIES_WYNAUT};
static const u16 sFeebasData[][3] = {
{SPECIES_FEEBAS, MAP_GROUP(ROUTE119), MAP_NUM(ROUTE119)},
@@ -230,9 +230,9 @@ static void FindMapsWithMon(u16 mon)
{
gPokedexAreaScreenPtr->numOverworldAreas = 0;
gPokedexAreaScreenPtr->numSpecialAreas = 0;
- for (i = 0; i < 1; i++)
+ for (i = 0; i < ARRAY_COUNT(sSpeciesHiddenFromAreaScreen); i++)
{
- if (sWynautData[i] == mon)
+ if (sSpeciesHiddenFromAreaScreen[i] == mon)
return;
}
for (i = 0; sFeebasData[i][0] != NUM_SPECIES; i++)