mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
Add relearn moves to Except comparison
Burn Up ho-oh is dumb
This commit is contained in:
parent
525095d962
commit
d5948b9dbe
|
|
@ -243,8 +243,9 @@ private static IEnumerable<EncounterStatic> GetStatic(PKM pk, IReadOnlyCollectio
|
|||
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 New Issue
Block a user