diff options
author | Meowsy <Meowsy@users.noreply.github.com> | 2018-12-15 18:39:48 -0500 |
---|---|---|
committer | Meowsy <Meowsy@users.noreply.github.com> | 2018-12-15 18:39:48 -0500 |
commit | 1d09216e4b776ed03daa83c66fd6600bc43f8d25 (patch) | |
tree | 70bda07b844fe60f82a39fce7b41c8c966dced93 /src | |
parent | 6ed8e4d6eda271653daa7e2ab13ccf0ae752c9cd (diff) |
Simplify comparisons.
Diffstat (limited to 'src')
-rw-r--r-- | src/pokedex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pokedex.c b/src/pokedex.c index f6d46f5d3..ef8905bb6 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -4411,17 +4411,17 @@ u16 sub_80C0944(void) for (i = 0; i < 150; i++) { - if (GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT) == FALSE) + if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT)) return 0; } for (i = 151; i < 248; i++) { - if (GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT) == FALSE) + if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT)) return 0; } for (i = 251; i < 384; i++) { - if (GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT) == FALSE) + if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT)) return 0; } return 1; |