From c68eb38fa195066c740b5867ffa5c11f509e27c1 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:08:52 +0200 Subject: [PATCH] Update src/battle_util.c --- src/battle_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_util.c b/src/battle_util.c index a89595e3aee2..d302d2b7bdd0 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -2945,7 +2945,7 @@ u8 DoBattlerEndTurnEffects(void) && IsBattlerAlive(gBattlerAttacker) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 6; + gBattleMoveDamage = gBattleMons[battler].maxHP / 6; MarkBattlerForControllerExec(battler); ChooseDamageNonTypesString(gSideTimers[side].damageNonTypesType); BattleScriptExecute(BattleScript_DamageNonTypesContinues);