mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
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:
parent
56ccddce8d
commit
a1cca754d7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue