Fix formatting errors and implement review suggestions.

This commit is contained in:
ultima-soul
2019-08-05 16:15:25 -07:00
parent ed90bf2430
commit f0a86aec2d
2 changed files with 23 additions and 23 deletions
+5 -5
View File
@@ -100,24 +100,24 @@ bool8 HasAllKantoMons(void)
return TRUE;
}
u16 HasAllMons(void)
bool16 HasAllMons(void)
{
u16 i;
for (i = 0; i < NATIONAL_DEX_MEWTWO; i++)
{
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
return 0;
return FALSE;
}
for (i = NATIONAL_DEX_MEW; i < NATIONAL_DEX_TYRANITAR; i++)
{
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
return 0;
return FALSE;
}
for (i = NATIONAL_DEX_CELEBI; i < NATIONAL_DEX_RAYQUAZA; i++)
{
if (!GetSetPokedexFlag(i + 1, FLAG_GET_CAUGHT))
return 0;
return FALSE;
}
return 1;
return TRUE;
}