diff --git a/PKHeX.Core/Legality/Encounters/VerifyCurrentMoves.cs b/PKHeX.Core/Legality/Encounters/VerifyCurrentMoves.cs index 48c7e745d..3a743fa88 100644 --- a/PKHeX.Core/Legality/Encounters/VerifyCurrentMoves.cs +++ b/PKHeX.Core/Legality/Encounters/VerifyCurrentMoves.cs @@ -140,8 +140,8 @@ private static CheckMoveResult[] ParseMovesPre3DS(PKM pkm, int[] Moves, LegalInf int[] SpecialMoves = GetSpecialMoves(info.EncounterMatch); return ParseMovesIsEggPreRelearn(pkm, Moves, SpecialMoves, egg); } - var NoMoveReminder = info.EncounterMatch is IGeneration g && (g.Generation == 1 || g.Generation == 2) && !Legal.AllowGen2MoveReminder(pkm); - if (info.Generation <= 2 && NoMoveReminder) + if (info.Generation <= 2 && + info.EncounterMatch is IGeneration g && (g.Generation == 1 || g.Generation == 2 && !Legal.AllowGen2MoveReminder(pkm))) // fixed encounter moves without relearning return ParseMovesGenGB(pkm, Moves, info); if (info.EncounterMatch is EncounterEgg e) return ParseMovesWasEggPreRelearn(pkm, Moves, info, e); diff --git a/Tests/PKHeX.Tests/Legality/Legal/General/004 - CHARMANDER - D5EF.pk1 b/Tests/PKHeX.Tests/Legality/Legal/General/004 - CHARMANDER - D5EF.pk1 new file mode 100644 index 000000000..37196fb79 Binary files /dev/null and b/Tests/PKHeX.Tests/Legality/Legal/General/004 - CHARMANDER - D5EF.pk1 differ