summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2022-01-05 12:18:49 -0500
committerGriffinR <griffin.g.richards@gmail.com>2022-01-05 12:18:49 -0500
commit5d033c2e4d5001c65e85fdcf5c780e5b88307063 (patch)
treea5031097d394b9493e8a9993e63a6605e7a02706 /src
parent84925a892b20b8f688d36a616366f72ed52f686f (diff)
Convert pokedex defines to enums
Diffstat (limited to 'src')
-rw-r--r--src/pokedex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokedex.c b/src/pokedex.c
index b41937302..206782e59 100644
--- a/src/pokedex.c
+++ b/src/pokedex.c
@@ -1512,7 +1512,7 @@ void ResetPokedex(void)
gSaveBlock2Ptr->pokedex.spindaPersonality = 0;
gSaveBlock2Ptr->pokedex.unknown3 = 0;
DisableNationalPokedex();
- for (i = 0; i < DEX_FLAGS_NO; i++)
+ for (i = 0; i < NUM_DEX_FLAG_BYTES; i++)
{
gSaveBlock2Ptr->pokedex.owned[i] = 0;
gSaveBlock2Ptr->pokedex.seen[i] = 0;