From 404bd1036c12c5bd1f3de14ac879bf3e84b1fc2b Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 27 Oct 2025 19:53:10 -0500 Subject: [PATCH] Fix recognition of Gen9 eggs Closes #4605 --- .../Generator/ByGeneration/Lump/EncounterGenerator9X.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/Lump/EncounterGenerator9X.cs b/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/Lump/EncounterGenerator9X.cs index a3397cc69..e8f3e5fca 100644 --- a/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/Lump/EncounterGenerator9X.cs +++ b/PKHeX.Core/Legality/Encounters/Generator/ByGeneration/Lump/EncounterGenerator9X.cs @@ -28,6 +28,7 @@ public IEnumerable GetEncounters(PKM pk, LegalInfo info) { ZA => EncounterGenerator9a.Instance.GetEncounters(pk, chain, info), SL or VL => EncounterGenerator9.Instance.GetEncounters(pk, chain, info), + 0 when pk.IsEgg => EncounterGenerator9.Instance.GetEncounters(pk, chain, info), // 0 for eggs _ => [], }; }