PokéRogue
    Preparing search index...

    Variable MoveUseModeConst

    MoveUseMode: {
        DELAYED_ATTACK: 6;
        FOLLOW_UP: 4;
        IGNORE_PP: 2;
        INDIRECT: 3;
        NORMAL: 1;
        REFLECTED: 5;
    } = ...

    Enum representing all the possible means through which a given move can be executed. Each one inherits the properties (or exclusions) of all types preceding it. Properties newly found on a given use mode will be bolded, while oddities breaking a previous trend will be listed in italics.

    Callers should refrain from performing non-equality checks on MoveUseModes directly, instead using the various available helper functions: (isVirtual, isIgnoreStatus, isIgnorePP, isDancerCopiable and isReflected).

    Type Declaration

    • ReadonlyDELAYED_ATTACK: 6

      This "move" was created by a transparent effect that does not count as using a move, such as Future Sight/Doom Desire.

      In addition to inheriting the cancellation ignores and copy prevention from MoveUseMode.REFLECTED, transparent moves are ignored by all forms of move usage checks due to not pushing to move history.

    • ReadonlyFOLLOW_UP: 4

      This move was called as part of another move's effect (such as for most Move-calling moves).

      Follow-up moves bypass cancellation from all non-volatile status conditions and BattlerTagLapseType.MOVE-type effects (having been checked already on the calling move).

      They are not ignored by other move-calling moves and abilities (unlike MoveUseMode.FOLLOW_UP and MoveUseMode.REFLECTED), but still inherit the former's disregard for moveset-related effects.

    • ReadonlyIGNORE_PP: 2

      This move was called by an effect that ignores PP, such as a consecutively executed move (e.g. Outrage) or the 2nd turn of a charging move.

      PP-ignoring moves (as their name implies) do not consume PP when used (including via Pressure) and will not fail if none is left prior to execution.
      All other effects remain identical to MoveUseMode.NORMAL.

      PP can still be reduced by other effects (such as Spite or Eerie Spell).

    • ReadonlyINDIRECT: 3

      This move was called indirectly by an out-of-turn effect other than Instruct or the user's previous move. Currently only used by Dancer.

      Indirect moves ignore PP checks similar to MoveUseMode.IGNORE_PP, but additionally cannot be copied by all move-copying effects (barring reflection). They are also "skipped over" by most moveset and move history-related effects (PP reduction, Last Resort, etc).

      They still respect the user's volatile status conditions and confusion (though will uniquely cure freeze and sleep before use).

    • ReadonlyNORMAL: 1

      This move was used normally (i.e. from normal command selection) or called via Instruct. It deducts PP from the user's moveset (failing if out of PP), and interacts normally with other moves and abilities.

    • ReadonlyREFLECTED: 5

      This move was reflected by Magic Coat or Magic Bounce.

      Reflected moves ignore all the same cancellation checks as MoveUseMode.INDIRECT and retain the same copy prevention as MoveUseMode.FOLLOW_UP, but additionally cannot be copied by other reflecting effects or Dancer.