Merge pull request #197 from AsparagusEduardo/EvoMap_fix
Fix for EVO_MAP evolution.
This commit is contained in:
commit
8071255e09
1 changed files with 1 additions and 1 deletions
|
@ -5785,7 +5785,7 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 type, u16 evolutionItem)
|
|||
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||
break;
|
||||
case EVO_MAP:
|
||||
if (gEvolutionTable[species][i].param <= level && gMapHeader.regionMapSectionId == gEvolutionTable[species][i].param)
|
||||
if (gMapHeader.regionMapSectionId == gEvolutionTable[species][i].param)
|
||||
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue