namespace PkmnLib.Plugin.Gen7.Scripts.Abilities; /// /// Sweet Veil is an ability that prevents the Pokémon and its allies from falling asleep. /// /// Bulbapedia - Sweet Veil /// [Script(ScriptCategory.Ability, "sweet_veil")] public class SweetVeil : Script, IScriptPreventStatusChange { /// public void PreventStatusChange(IPokemon pokemon, StringKey status, bool selfInflicted, ref bool preventStatus) { if (status == ScriptUtils.ResolveName()) { preventStatus = true; } } }