mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 06:34:19 +00:00
Don't remove <=g7 move if swsh context
This commit is contained in:
parent
9e7046564c
commit
2b6f153831
1 changed files with 4 additions and 1 deletions
|
@ -127,7 +127,10 @@ public sealed class LearnGroupHOME : ILearnGroup
|
|||
// HOME has special handling to allow Volt Tackle outside learnset possibilities.
|
||||
// Most games do not have a Learn Source for Volt Tackle besides it being specially inserted for Egg Encounters.
|
||||
if (!valid && move is not (ushort)Move.VoltTackle)
|
||||
r = default;
|
||||
{
|
||||
if (r.Generation >= 8 || local is not LearnSource8SWSH)
|
||||
r = default;
|
||||
}
|
||||
}
|
||||
|
||||
return MoveResult.AllParsed(result);
|
||||
|
|
Loading…
Reference in a new issue