From f129701ee6f495c72e31bf8979638aa456666f92 Mon Sep 17 00:00:00 2001 From: javierhimura Date: Sat, 23 Sep 2017 13:12:03 +0200 Subject: [PATCH] Do not allow gen2 evolutions in generation 2 for VC1 pokemon, gen2 preevolutions are allowed --- PKHeX.Core/Legality/Core.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PKHeX.Core/Legality/Core.cs b/PKHeX.Core/Legality/Core.cs index 430a56ee7..0b0c98ac8 100644 --- a/PKHeX.Core/Legality/Core.cs +++ b/PKHeX.Core/Legality/Core.cs @@ -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