namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;

[Script(ScriptCategory.Pokemon, "block")]
public class BlockEffect : Script
{
    /// <inheritdoc />
    public override void PreventSelfRunAway(IFleeChoice choice, ref bool prevent) => prevent = true;

    /// <inheritdoc />
    public override void PreventSelfSwitch(ISwitchChoice choice, ref bool prevent) => prevent = true;
}