Fixed pbOnStepTaken being called every frame if you open a menu immediately at the end of a step, fixed Sweet Veil being defined incorrectly

This commit is contained in:
Maruno17
2021-10-10 19:09:36 +01:00
parent 0aad105c6d
commit de0eb8e4e1
2 changed files with 3 additions and 4 deletions

View File

@@ -200,7 +200,7 @@ BattleHandlers::StatusImmunityAllyAbility.add(:FLOWERVEIL,
}
)
BattleHandlers::StatusImmunityAbility.add(:SWEETVEIL,
BattleHandlers::StatusImmunityAllyAbility.add(:SWEETVEIL,
proc { |ability,battler,status|
next true if status == :SLEEP
}