mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 09:38:34 -05: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:
@@ -454,6 +454,7 @@ private static ModifyResult SetSuggestedPKMProperty(string name, PKMInfo info, s
|
||||
private static ModifyResult SetMoves(PKM pk, int[] moves)
|
||||
{
|
||||
pk.SetMoves(moves);
|
||||
pk.HealPP();
|
||||
return ModifyResult.Modified;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user