mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 20:47:40 +01:00
Merge pull request #197 from AsparagusEduardo/EvoMap_fix
Fix for EVO_MAP evolution.
This commit is contained in:
commit
8071255e09
@ -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 New Issue
Block a user