diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2022-01-10 14:56:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 14:56:26 -0500 |
commit | 4024b3f1b3a9d51e42fc8a49cf361bd22484c82f (patch) | |
tree | b7783b404d4a488ca462ed296745767f02498621 /src/pokedex.c | |
parent | ded2021361ce8cef9c9a785ec52b42f8d4f653f9 (diff) | |
parent | d4111d55208d0f6ded77352859f6460a0c41e7e5 (diff) |
Merge pull request #1590 from GriffinRichards/dex-enum
Convert pokedex defines to enums
Diffstat (limited to 'src/pokedex.c')
-rw-r--r-- | src/pokedex.c | 2 |
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; |