mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
Do not allow gen2 evolutions in generation 2 for VC1 pokemon, gen2 preevolutions are allowed
This commit is contained in:
parent
efc60c3bf8
commit
f129701ee6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue