Adds missing alive check for Rapid Spin (#8024)
This commit is contained in:
parent
8c87522415
commit
083add8127
@ -5865,7 +5865,7 @@ static bool32 HandleMoveEndMoveBlock(u32 moveEffect)
|
||||
}
|
||||
break;
|
||||
case EFFECT_RAPID_SPIN:
|
||||
if (IsBattlerTurnDamaged(gBattlerTarget))
|
||||
if (IsBattlerTurnDamaged(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker))
|
||||
{
|
||||
BattleScriptCall(BattleScript_RapidSpinAway);
|
||||
effect = TRUE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user