From 192ef23052f809cc162b6209b70d44c3a061ff35 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 26 Dec 2021 00:00:38 -0800 Subject: [PATCH] Allow gen5 deerling and sawsbuck slots to be any form [0,3] --- PKHeX.Core/Legality/Areas/EncounterArea5.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Areas/EncounterArea5.cs b/PKHeX.Core/Legality/Areas/EncounterArea5.cs index 23ddaa47d..9112a1889 100644 --- a/PKHeX.Core/Legality/Areas/EncounterArea5.cs +++ b/PKHeX.Core/Legality/Areas/EncounterArea5.cs @@ -60,7 +60,9 @@ public override IEnumerable GetMatchingSlots(PKM pkm, IReadOnlyLi if (!slot.IsLevelWithinRange(pkm.Met_Level)) break; - if (slot.Form != evo.Form) // no wild forms can change + // Deerling and Sawsbuck can change forms when seasons change, thus can be any of the [0,3] form values. + // no other wild forms can change + if (slot.Form != evo.Form && slot.Species is not ((int)Species.Deerling or (int)Species.Sawsbuck)) break; yield return slot;