mirror of
https://github.com/pret/pokeemerald.git
synced 2026-08-25 20:01:34 -05:00
Fixed Yawn + Vital Spirit + Gastro Acid
This commit is contained in:
@@ -2728,8 +2728,8 @@ u8 DoBattlerEndTurnEffects(void)
|
||||
{
|
||||
gStatuses3[gActiveBattler] -= STATUS3_YAWN_TURN(1);
|
||||
if (!(gStatuses3[gActiveBattler] & STATUS3_YAWN) && !(gBattleMons[gActiveBattler].status1 & STATUS1_ANY)
|
||||
&& gBattleMons[gActiveBattler].ability != ABILITY_VITAL_SPIRIT
|
||||
&& gBattleMons[gActiveBattler].ability != ABILITY_INSOMNIA && !UproarWakeUpCheck(gActiveBattler)
|
||||
&& GetBattlerAbility(gActiveBattler) != ABILITY_VITAL_SPIRIT
|
||||
&& GetBattlerAbility(gActiveBattler) != ABILITY_INSOMNIA && !UproarWakeUpCheck(gActiveBattler)
|
||||
&& !IsLeafGuardProtected(gActiveBattler))
|
||||
{
|
||||
CancelMultiTurnMoves(gActiveBattler);
|
||||
|
||||
Reference in New Issue
Block a user