Small tweak

This commit is contained in:
LOuroboros 2021-08-25 02:16:38 -03:00
parent d270892a6b
commit e42d329fc6

View File

@ -7688,8 +7688,9 @@ static bool32 CanEvolve(u32 species)
for (i = 0; i < EVOS_PER_MON; i++)
{
if (gEvolutionTable[species][i].method && gEvolutionTable[species][i].method != EVO_MEGA_EVOLUTION
&& gEvolutionTable[species][i].method && gEvolutionTable[species][i].method != EVO_MOVE_MEGA_EVOLUTION)
if (gEvolutionTable[species][i].method
&& gEvolutionTable[species][i].method != EVO_MEGA_EVOLUTION
&& gEvolutionTable[species][i].method != EVO_MOVE_MEGA_EVOLUTION)
return TRUE;
}
return FALSE;