mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 21:30:45 +01:00
Merge pull request #1652 from BuffelSaft/multi-hit-resist-berry
Fix multihit moves vs damage reducing berries
This commit is contained in:
commit
8cc0bb6ac0
@ -7616,6 +7616,7 @@ BattleScript_BerryReduceDmg::
|
|||||||
BattleScript_PrintBerryReduceString::
|
BattleScript_PrintBerryReduceString::
|
||||||
waitmessage B_WAIT_TIME_LONG
|
waitmessage B_WAIT_TIME_LONG
|
||||||
printstring STRINGID_BERRYDMGREDUCES
|
printstring STRINGID_BERRYDMGREDUCES
|
||||||
|
waitmessage B_WAIT_TIME_LONG
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_BerryCureConfusionEnd2::
|
BattleScript_BerryCureConfusionEnd2::
|
||||||
|
@ -1970,6 +1970,15 @@ static void Cmd_multihitresultmessage(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
gBattlescriptCurrInstr++;
|
gBattlescriptCurrInstr++;
|
||||||
|
|
||||||
|
// Print berry reducing message after result message.
|
||||||
|
if (gSpecialStatuses[gBattlerTarget].berryReduced
|
||||||
|
&& !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT))
|
||||||
|
{
|
||||||
|
gSpecialStatuses[gBattlerTarget].berryReduced = 0;
|
||||||
|
BattleScriptPushCursor();
|
||||||
|
gBattlescriptCurrInstr = BattleScript_PrintBerryReduceString;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Cmd_attackanimation(void)
|
static void Cmd_attackanimation(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user