summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pokedex.c6
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;