From 3be4fde2d5cd93ae02d2bb328e32a0761bbe9acb Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 16 Nov 2019 10:35:08 -0800 Subject: [PATCH] Prevent non-galar forms for wild match uses the same logic as the wild area boost lines above --- PKHeX.Core/Legality/Areas/EncounterArea8.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Areas/EncounterArea8.cs b/PKHeX.Core/Legality/Areas/EncounterArea8.cs index 9f3c45a35..0856b49c5 100644 --- a/PKHeX.Core/Legality/Areas/EncounterArea8.cs +++ b/PKHeX.Core/Legality/Areas/EncounterArea8.cs @@ -21,7 +21,7 @@ protected override IEnumerable GetMatchFromEvoLevel(PKM pkm, IEnu return boost.Where(s => s.LevelMax < 60 || s.IsLevelWithinRange(minLevel)); } } - var slots = Slots.Where(slot => vs.Any(evo => evo.Species == slot.Species && evo.Level >= (slot.LevelMin))); + var slots = Slots.Where(slot => vs.Any(evo => evo.Species == slot.Species && evo.Form == slot.Form && evo.Level >= (slot.LevelMin))); // Get slots where pokemon can exist with respect to level constraints return slots.Where(s => s.IsLevelWithinRange(minLevel));