mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-26 14:15:31 +01:00
Merge pull request #1364 from ghoulslash/two-turn
Fix Two-Turn Moves Failing Innapropriately
This commit is contained in:
commit
e11fd352fa
@ -1319,7 +1319,7 @@ static void Cmd_attackcanceler(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gHitMarker |= HITMARKER_OBEYS;
|
gHitMarker |= HITMARKER_OBEYS;
|
||||||
if (NoTargetPresent(gCurrentMove))
|
if (NoTargetPresent(gCurrentMove) && (!IsTwoTurnsMove(gCurrentMove) || (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS)))
|
||||||
{
|
{
|
||||||
gBattlescriptCurrInstr = BattleScript_ButItFailedAtkStringPpReduce;
|
gBattlescriptCurrInstr = BattleScript_ButItFailedAtkStringPpReduce;
|
||||||
if (!IsTwoTurnsMove(gCurrentMove) || (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS))
|
if (!IsTwoTurnsMove(gCurrentMove) || (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user