Fix multiple turn moves staying after hitting no target
This commit is contained in:
parent
9bc4395212
commit
a42bd3f37d
@ -1105,6 +1105,8 @@ static void Cmd_attackcanceler(void)
|
||||
if (NoTargetPresent(gCurrentMove))
|
||||
{
|
||||
gBattlescriptCurrInstr = BattleScript_ButItFailedAtkStringPpReduce;
|
||||
if (!IsTwoTurnsMove(gCurrentMove) || (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS))
|
||||
CancelMultiTurnMoves(gBattlerAttacker);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user