Add relearn moves to Except comparison

Burn Up ho-oh is dumb
This commit is contained in:
Kurt 2020-01-12 16:09:35 -08:00
parent 525095d962
commit d5948b9dbe

View file

@ -243,8 +243,9 @@ namespace PKHeX.Core
continue;
}
var em = enc.Moves;
if (em != null && !needs.Except(em).Any())
// Some rare encounters have special moves hidden in the Relearn section (Gen7 Wormhole Ho-Oh). Include relearn moves
var em = enc.Moves.Concat(enc.Relearn);
if (!needs.Except(em).Any())
yield return enc;
}
}