From 8b0a8484247f09a809fc97c0b966b1b154880a62 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Tue, 1 Nov 2022 23:53:04 -0300 Subject: [PATCH] Zen Mode triggers at the beginning of a battle --- src/battle_util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/battle_util.c b/src/battle_util.c index 7709fa59ec..544eef1fd2 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -4735,6 +4735,8 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move case ABILITY_SCHOOLING: if (gBattleMons[battler].level < 20) break; + // Fallthrough + case ABILITY_ZEN_MODE: case ABILITY_SHIELDS_DOWN: if (ShouldChangeFormHpBased(battler)) { @@ -4954,6 +4956,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move case ABILITY_SCHOOLING: if (gBattleMons[battler].level < 20) break; + // Fallthrough case ABILITY_ZEN_MODE: case ABILITY_SHIELDS_DOWN: if ((effect = ShouldChangeFormHpBased(battler)))