Fix formatting errors and implement review suggestions.
This commit is contained in:
1 parent
ed90bf2430
commit
f0a86aec2d
1 file changed
+5
-5
+5
-5
@@ -100,24 +100,24 @@ bool8 HasAllKantoMons(void)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
u16 HasAllMons(void)
|
bool16 HasAllMons(void)
|
||||||
{
|
{
|
||||||
u16 i;
|
u16 i;
|
||||||
|
|
||||||
for (i = 0; i < NATIONAL_DEX_MEWTWO; i++)
|
for (i = 0; i < NATIONAL_DEX_MEWTWO; i++)
|
||||||
{
|
{
|
||||||
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
||||||
return 0;
|
return FALSE;
|
||||||
}
|
}
|
||||||
for (i = NATIONAL_DEX_MEW; i < NATIONAL_DEX_TYRANITAR; i++)
|
for (i = NATIONAL_DEX_MEW; i < NATIONAL_DEX_TYRANITAR; i++)
|
||||||
{
|
{
|
||||||
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
||||||
return 0;
|
return FALSE;
|
||||||
}
|
}
|
||||||
for (i = NATIONAL_DEX_CELEBI; i < NATIONAL_DEX_RAYQUAZA; i++)
|
for (i = NATIONAL_DEX_CELEBI; i < NATIONAL_DEX_RAYQUAZA; i++)
|
||||||
{
|
{
|
||||||
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
|
||||||
return 0;
|
return FALSE;
|
||||||
}
|
}
|
||||||
return 1;
|
return TRUE;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user