diff --git a/PKHeX.Core/Legality/Encounters/Generator/EncounterMovesetGenerator.cs b/PKHeX.Core/Legality/Encounters/Generator/EncounterMovesetGenerator.cs index 6ae6c9d6fd6..3d7c503adf2 100644 --- a/PKHeX.Core/Legality/Encounters/Generator/EncounterMovesetGenerator.cs +++ b/PKHeX.Core/Legality/Encounters/Generator/EncounterMovesetGenerator.cs @@ -137,7 +137,7 @@ private static int[] GetNeededMoves(PKM pk, IEnumerable moves, IReadOnlyLis private static IEnumerable GetMovesForGeneration(PKM pk, IReadOnlyList dl, int generation) { IEnumerable moves = Legal.GetValidMoves(pk, dl, generation); - if (generation >= 8) + if (pk.GenNumber >= 8) { // Shared Egg Moves via daycare // Any egg move can be obtained