mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Heal PP on apply suggested moves
Closes #2919 Sure ya coulda set suggested PP as well as a command, but we'll do it for the user automatically. Not really an upside to keep the old PP values.
This commit is contained in:
parent
0dc4166e67
commit
69a0c61406
1 changed files with 1 additions and 0 deletions
|
@ -454,6 +454,7 @@ namespace PKHeX.Core
|
|||
private static ModifyResult SetMoves(PKM pk, int[] moves)
|
||||
{
|
||||
pk.SetMoves(moves);
|
||||
pk.HealPP();
|
||||
return ModifyResult.Modified;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue