Zen Mode triggers at the beginning of a battle

This commit is contained in:
Eduardo Quezada 2022-11-01 23:53:04 -03:00
parent 15c12af2cf
commit 8b0a848424

View File

@ -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)))