diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 3f457b7e5..06fcbd429 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -11182,7 +11182,7 @@ static void Cmd_switchoutabilities(void) gBattleMoveDamage = gBattleMons[gActiveBattler].maxHP / 3; gBattleMoveDamage += gBattleMons[gActiveBattler].hp; if (gBattleMoveDamage > gBattleMons[gActiveBattler].maxHP) - gBattleMons[gActiveBattler].maxHP = gBattleMons[gActiveBattler].maxHP; + gBattleMoveDamage = gBattleMons[gActiveBattler].maxHP; BtlController_EmitSetMonData(0, REQUEST_HP_BATTLE, gBitTable[*(gBattleStruct->field_58 + gActiveBattler)], 2, &gBattleMoveDamage); MarkBattlerForControllerExec(gActiveBattler); break;