From 4c8772ff14a55afdbcd4ff8718b7716a2ed8740e Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 16 May 2021 11:12:16 -0700 Subject: [PATCH] Update EvolutionRestrictions.cs --- PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs b/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs index f1f80b968..54c4ddd67 100644 --- a/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs +++ b/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs @@ -109,6 +109,11 @@ public static bool IsValidEvolutionWithMove(PKM pkm, LegalInfo info) if (pkm.Format < 4) // doesn't exist yet! return true; + // OK if un-evolved from original encounter + int species = pkm.Species; + if (info.EncounterMatch.Species == species) + return true; + // Exclude evolution paths that did not require a move w/level-up evolution var enc = info.EncounterOriginal; if (!SpeciesEvolutionWithMove.TryGetValue(enc.Species, out var entry))