Zen Mode triggers at the beginning of a battle
This commit is contained in:
parent
15c12af2cf
commit
8b0a848424
1 changed files with 3 additions and 0 deletions
|
@ -4735,6 +4735,8 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
|
||||||
case ABILITY_SCHOOLING:
|
case ABILITY_SCHOOLING:
|
||||||
if (gBattleMons[battler].level < 20)
|
if (gBattleMons[battler].level < 20)
|
||||||
break;
|
break;
|
||||||
|
// Fallthrough
|
||||||
|
case ABILITY_ZEN_MODE:
|
||||||
case ABILITY_SHIELDS_DOWN:
|
case ABILITY_SHIELDS_DOWN:
|
||||||
if (ShouldChangeFormHpBased(battler))
|
if (ShouldChangeFormHpBased(battler))
|
||||||
{
|
{
|
||||||
|
@ -4954,6 +4956,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
|
||||||
case ABILITY_SCHOOLING:
|
case ABILITY_SCHOOLING:
|
||||||
if (gBattleMons[battler].level < 20)
|
if (gBattleMons[battler].level < 20)
|
||||||
break;
|
break;
|
||||||
|
// Fallthrough
|
||||||
case ABILITY_ZEN_MODE:
|
case ABILITY_ZEN_MODE:
|
||||||
case ABILITY_SHIELDS_DOWN:
|
case ABILITY_SHIELDS_DOWN:
|
||||||
if ((effect = ShouldChangeFormHpBased(battler)))
|
if ((effect = ShouldChangeFormHpBased(battler)))
|
||||||
|
|
Loading…
Reference in a new issue