namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;

/// <summary>
/// Stall is an ability that makes the Pokémon move last in its priority bracket.
///
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Stall_(Ability)">Bulbapedia - Stall</see>
/// </summary>
[Script(ScriptCategory.Ability, "stall")]
public class Stall : Script, IScriptChangeSpeed
{
    /// <inheritdoc />
    public void ChangeSpeed(ITurnChoice choice, ref uint speed)
    {
        speed = 0;
    }
}