Simplify comparisons.
This commit is contained in:
parent
6ed8e4d6ed
commit
1d09216e4b
1 changed files with 3 additions and 3 deletions
|
@ -4411,17 +4411,17 @@ u16 sub_80C0944(void)
|
||||||
|
|
||||||
for (i = 0; i < 150; i++)
|
for (i = 0; i < 150; i++)
|
||||||
{
|
{
|
||||||
if (GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT) == FALSE)
|
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
for (i = 151; i < 248; i++)
|
for (i = 151; i < 248; i++)
|
||||||
{
|
{
|
||||||
if (GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT) == FALSE)
|
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
for (i = 251; i < 384; i++)
|
for (i = 251; i < 384; i++)
|
||||||
{
|
{
|
||||||
if (GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT) == FALSE)
|
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue