mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Update MoveApplicator.cs
This commit is contained in:
parent
d98f8eee9e
commit
1185c63b15
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue