Do not allow gen2 evolutions in generation 2 for VC1 pokemon, gen2 preevolutions are allowed

This commit is contained in:
javierhimura 2017-09-23 13:12:03 +02:00
parent efc60c3bf8
commit f129701ee6

View file

@ -1494,6 +1494,8 @@ namespace PKHeX.Core
}
int maxspeciesgen = GetMaxSpeciesOrigin(gen);
if (gen == 2 && pkm.VC1)
maxspeciesgen = MaxSpeciesID_1;
// Remove future gen evolutions after a few special considerations,
// it the pokemon origin is illegal like a "gen 3" Infernape the list will be emptied, it didnt existed in gen 3 in any evolution phase