Update MoveApplicator.cs

This commit is contained in:
Kurt 2022-03-07 21:42:51 -08:00
parent d98f8eee9e
commit 1185c63b15

View file

@ -44,7 +44,7 @@ namespace PKHeX.Core
Array.Resize(ref moves, 4);
pk.Moves = moves;
if (maxPP)
if (maxPP && Legal.IsPPUpAvailable(pk))
pk.SetMaximumPPUps(moves);
else
pk.SetMaximumPPCurrent(moves);