summaryrefslogtreecommitdiff
path: root/src/battle_2.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-08 14:54:51 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-08 14:54:51 +0200
commit95e4ae06ceacc583ecd7678adda2f19675be507d (patch)
treefe20cc9a7c43f2edf638ce5bfb491b60277cf3b6 /src/battle_2.c
parent7552caaadc3b5ec64bc4ea8c6927d6d452238730 (diff)
battle message decompiled and dumped
Diffstat (limited to 'src/battle_2.c')
-rw-r--r--src/battle_2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_2.c b/src/battle_2.c
index 8e48f3ed6..be0d0be72 100644
--- a/src/battle_2.c
+++ b/src/battle_2.c
@@ -4007,8 +4007,8 @@ static void HandleTurnActionSelectionState(void)
for (i = 0; i < 4; i++)
{
moveInfo.moves[i] = gBattleMons[gActiveBank].moves[i];
- moveInfo.ppNumbers[i] = gBattleMons[gActiveBank].pp[i];
- moveInfo.ppWithBonusNumbers[i] = CalculatePPWithBonus(
+ moveInfo.currentPp[i] = gBattleMons[gActiveBank].pp[i];
+ moveInfo.maxPp[i] = CalculatePPWithBonus(
gBattleMons[gActiveBank].moves[i],
gBattleMons[gActiveBank].ppBonuses,
i);