mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Add relearn moves to Except comparison
Burn Up ho-oh is dumb
This commit is contained in:
parent
525095d962
commit
d5948b9dbe
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue