mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-01 15:20:43 +01:00
commit
624f8fb28a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user