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:
Kurt
2020-07-03 01:17:05 -05:00
parent 0dc4166e67
commit 69a0c61406

View File

@@ -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;
}