PokéRogue
    Preparing search index...

    Variable PartyUiModeConst

    PartyUiMode: {
        CHECK: 11;
        DISCARD: 13;
        FAINT_SWITCH: 1;
        MODIFIER: 4;
        MODIFIER_TRANSFER: 8;
        MOVE_MODIFIER: 5;
        POST_BATTLE_SWITCH: 2;
        RELEASE: 10;
        REMEMBER_MOVE_MODIFIER: 7;
        REVIVAL_BLESSING: 3;
        SELECT: 12;
        SPLICE: 9;
        SWITCH: 0;
        TM_MODIFIER: 6;
    } = ...

    Indicates the reason why the party UI is being opened.

    Type Declaration

    • ReadonlyCHECK: 11

      Indicates that the party UI is open to check the team. This type of selection can be cancelled.

    • ReadonlyDISCARD: 13

      Indicates that the party UI is open to select a party member from which items will be discarded. This type of selection can be cancelled.

    • ReadonlyFAINT_SWITCH: 1

      Indicates that the party UI is open because of a faint or other forced switch (eg, move effect). This type of switch cannot be cancelled.

    • ReadonlyMODIFIER: 4

      Indicates that the party UI is open to select a mon to apply a modifier to. This type of selection can be cancelled.

    • ReadonlyMODIFIER_TRANSFER: 8

      Indicates that the party UI is open to transfer items between mons. This type of selection can be cancelled.

    • ReadonlyMOVE_MODIFIER: 5

      Indicates that the party UI is open to select a mon to apply a move modifier to (such as an Ether or PP Up). This type of selection can be cancelled.

    • ReadonlyPOST_BATTLE_SWITCH: 2

      Indicates that the party UI is open because of a start-of-encounter optional switch. This type of switch can be cancelled.

    • ReadonlyRELEASE: 10

      Indicates that the party UI is open to release a party member. This type of selection can be cancelled.

    • ReadonlyREMEMBER_MOVE_MODIFIER: 7

      Indicates that the party UI is open to select a mon to remember a move. This type of selection can be cancelled.

    • ReadonlyREVIVAL_BLESSING: 3

      Indicates that the party UI is open because of the move Revival Blessing. This selection cannot be cancelled.

    • ReadonlySELECT: 12

      Indicates that the party UI is open to select a party member for an arbitrary effect. This is generally used in for Mystery Encounter or special effects that require the player to select a Pokemon

    • ReadonlySPLICE: 9

      Indicates that the party UI is open because of a DNA Splicer. This type of selection can be cancelled.

    • ReadonlySWITCH: 0

      Indicates that the party UI is open because of a user-opted switch. This type of switch can be cancelled.

    • ReadonlyTM_MODIFIER: 6

      Indicates that the party UI is open to select a mon to teach a TM. This type of selection can be cancelled.