current HP increases on level up
This commit is contained in:
parent
0e79697f11
commit
7d4a666b4c
1 changed files with 1 additions and 1 deletions
|
@ -1418,7 +1418,7 @@ static void Task_GiveExpToMon(u8 taskId)
|
|||
u8 savedActiveBattler;
|
||||
|
||||
SetMonData(mon, MON_DATA_EXP, &nextLvlExp);
|
||||
gBattleStruct->dynamax.beforeLevelHP = GetMonData(mon, MON_DATA_HP);
|
||||
gBattleStruct->dynamax.beforeLevelHP = GetMonData(mon, MON_DATA_HP) + gBattleScripting.levelUpHP;
|
||||
CalculateMonStats(mon);
|
||||
|
||||
// Prevent Dynamaxed HP from being reset upon level-up.
|
||||
|
|
Loading…
Reference in a new issue