mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-09 05:05:03 +01:00
fix two turn moves failing on turn 1 w no target
This commit is contained in:
parent
f8550603e1
commit
57c460f40a
@ -1319,7 +1319,7 @@ static void Cmd_attackcanceler(void)
|
||||
}
|
||||
|
||||
gHitMarker |= HITMARKER_OBEYS;
|
||||
if (NoTargetPresent(gCurrentMove))
|
||||
if (NoTargetPresent(gCurrentMove) && (!IsTwoTurnsMove(gCurrentMove) || (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS)))
|
||||
{
|
||||
gBattlescriptCurrInstr = BattleScript_ButItFailedAtkStringPpReduce;
|
||||
if (!IsTwoTurnsMove(gCurrentMove) || (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS))
|
||||
|
Loading…
Reference in New Issue
Block a user