getMaxLevelGeneration should return met level when pokemon does not HasOriginalMetLocation and is not one of the special cases already considered

This commit is contained in:
javierhimura 2017-02-17 16:16:39 +01:00
parent 56ccddce8d
commit a1cca754d7

View file

@ -824,7 +824,7 @@ namespace PKHeX.Core
if (pkm.Gen3 && pkm.Format > 4 && pkm.Met_Level == pkm.CurrentLevel && FutureEvolutionsGen3_LevelUp.Contains(pkm.Species))
return pkm.Met_Level - 1;
if(!pkm.HasOriginalMetLocation))
if(!pkm.HasOriginalMetLocation)
return pkm.Met_Level;
return pkm.CurrentLevel;