Fix multiple turn moves staying after hitting no target
This commit is contained in:
parent
9bc4395212
commit
a42bd3f37d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue