Merge pull request #1605 from LOuroboros/canEvolve
Corrected `CanEvolve` function
This commit is contained in:
commit
1f75f6e201
1 changed files with 3 additions and 1 deletions
|
@ -7688,7 +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)
|
||||
if (gEvolutionTable[species][i].method
|
||||
&& gEvolutionTable[species][i].method != EVO_MEGA_EVOLUTION
|
||||
&& gEvolutionTable[species][i].method != EVO_MOVE_MEGA_EVOLUTION)
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue