pokemon-rogue-battle
    Preparing search index...

    Class GorillaTacticsTagSealed

    Tag used by Gorilla Tactics to restrict the user to using only one move.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    moveId: MoveId = MoveId.NONE

    ID of the move that the user is locked into using

    sourceId?: number

    The PID of the Pokemon that added this tag, or undefined if not set by a pokemon

    sourceMove?: MoveId

    The MoveId that created this tag, or undefined if not set by a move

    tagType: GORILLA_TACTICS = BattlerTagType.GORILLA_TACTICS
    turnCount: number

    The tag's remaining duration

    Accessors

    • get isBatonPassable(): boolean

      Returns boolean

    Methods

    • Gets the text to display when a move's execution is prevented as a result of the restriction. Because restriction effects also prevent selection of the move, this situation can only arise if a pokemon first selects a move, then gets outsped by a pokemon using a move that restricts the selected move.

      Parameters

      • _pokemon: Pokemon

        The pokemon attempting to use the restricted move

      • _move: MoveId

        The ID of the move being interrupted

      Returns string

      The text to display when the move is interrupted