mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
Fixed Yawn + Vital Spirit + Gastro Acid
This commit is contained in:
parent
9d64a26625
commit
2d5da7852c
@ -2728,8 +2728,8 @@ u8 DoBattlerEndTurnEffects(void)
|
|||||||
{
|
{
|
||||||
gStatuses3[gActiveBattler] -= STATUS3_YAWN_TURN(1);
|
gStatuses3[gActiveBattler] -= STATUS3_YAWN_TURN(1);
|
||||||
if (!(gStatuses3[gActiveBattler] & STATUS3_YAWN) && !(gBattleMons[gActiveBattler].status1 & STATUS1_ANY)
|
if (!(gStatuses3[gActiveBattler] & STATUS3_YAWN) && !(gBattleMons[gActiveBattler].status1 & STATUS1_ANY)
|
||||||
&& gBattleMons[gActiveBattler].ability != ABILITY_VITAL_SPIRIT
|
&& GetBattlerAbility(gActiveBattler) != ABILITY_VITAL_SPIRIT
|
||||||
&& gBattleMons[gActiveBattler].ability != ABILITY_INSOMNIA && !UproarWakeUpCheck(gActiveBattler)
|
&& GetBattlerAbility(gActiveBattler) != ABILITY_INSOMNIA && !UproarWakeUpCheck(gActiveBattler)
|
||||||
&& !IsLeafGuardProtected(gActiveBattler))
|
&& !IsLeafGuardProtected(gActiveBattler))
|
||||||
{
|
{
|
||||||
CancelMultiTurnMoves(gActiveBattler);
|
CancelMultiTurnMoves(gActiveBattler);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user