diff --git a/PKHeX.Core/Legality/Encounters/Generator/EncounterTradeGenerator.cs b/PKHeX.Core/Legality/Encounters/Generator/EncounterTradeGenerator.cs index bad02d1de..81ea785b9 100644 --- a/PKHeX.Core/Legality/Encounters/Generator/EncounterTradeGenerator.cs +++ b/PKHeX.Core/Legality/Encounters/Generator/EncounterTradeGenerator.cs @@ -159,7 +159,7 @@ private static bool IsEncounterTradeValid(PKM pkm, EncounterTrade z, int lvl) return false; if (pkm.HasOriginalMetLocation) { - var loc = z.Location > 0 ? z.Location : EncounterTrade.DefaultMetLocation[pkm.GenNumber - 1]; + var loc = z.Location > 0 ? z.Location : EncounterTrade.DefaultMetLocation[z.Generation - 1]; if (loc != pkm.Met_Location) return false; if (pkm.Format < 5)