From 95454246b8836717f0e7353541fd5c6422bffaca Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 1 Dec 2021 10:38:12 -0800 Subject: [PATCH] Skip eggs for EncounterTrade check yay reusing Link Trade egg met locations wrong, ty ilca --- .../Encounters/Generator/ByGeneration/EncounterGenerator8b.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/EncounterGenerator8b.cs b/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/EncounterGenerator8b.cs index 4036c8758..de144a343 100644 --- a/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/EncounterGenerator8b.cs +++ b/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/EncounterGenerator8b.cs @@ -32,7 +32,7 @@ namespace PKHeX.Core EncounterMatchRating rating = None; // Trades - if (pkm.Met_Location == Locations.LinkTrade6NPC) + if (!pkm.IsEgg && pkm.Met_Location == Locations.LinkTrade6NPC) { foreach (var z in GetValidEncounterTrades(pkm, chain)) {