Update gen1/2 trade generator to emit gen1 if match

Closes #2060
This commit is contained in:
Kurt 2018-07-16 15:22:40 -07:00
parent f51ac7d1f3
commit 7ec1cab9a7
2 changed files with 1 additions and 1 deletions

View file

@ -114,7 +114,7 @@ namespace PKHeX.Core
var deferred = new List<IEncounterable>();
foreach (var t in GetValidEncounterTrades(pkm, vs, game))
{
if (pkm.Format >= 7)
if (pkm.Format >= 7 && (t.Generation == 2 || t.GetOT(pkm.Language) != pkm.OT_Name)) // ot length collision
{
deferred.Add(t);
continue;