Skip to content

Commit

Permalink
Update src/battle_util.c
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOn1ine authored Jul 11, 2024
1 parent 3587deb commit c68eb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c68eb38

Please sign in to comment.