# PartyUiMode | pokemon-rogue-battle
Documentation for pokemon-rogue-battle

# Enumeration PartyUiMode

Indicates the reason why the party UI is being opened.

- Defined in src/ui/party-ui-handler.ts:39

##### Index

### Enumeration Members

CHECK
FAINT_SWITCH
MODIFIER
MODIFIER_TRANSFER
MOVE_MODIFIER
POST_BATTLE_SWITCH
RELEASE
REMEMBER_MOVE_MODIFIER
REVIVAL_BLESSING
SELECT
SPLICE
SWITCH
TM_MODIFIER

## Enumeration Members

### CHECK

CHECK: 11

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

- Defined in src/ui/party-ui-handler.ts:99

### FAINT_SWITCH

FAINT_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.

- Defined in src/ui/party-ui-handler.ts:49

### MODIFIER

MODIFIER: 4

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

- Defined in src/ui/party-ui-handler.ts:64

### MODIFIER_TRANSFER

MODIFIER_TRANSFER: 8

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

- Defined in src/ui/party-ui-handler.ts:84

### MOVE_MODIFIER

MOVE_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.

- Defined in src/ui/party-ui-handler.ts:69

### POST_BATTLE_SWITCH

POST_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.

- Defined in src/ui/party-ui-handler.ts:54

### RELEASE

RELEASE: 10

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

- Defined in src/ui/party-ui-handler.ts:94

### REMEMBER_MOVE_MODIFIER

REMEMBER_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.

- Defined in src/ui/party-ui-handler.ts:79

### REVIVAL_BLESSING

REVIVAL_BLESSING: 3

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

- Defined in src/ui/party-ui-handler.ts:59

### SELECT

SELECT: 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

- Defined in src/ui/party-ui-handler.ts:104

### SPLICE

SPLICE: 9

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

- Defined in src/ui/party-ui-handler.ts:89

### SWITCH

SWITCH: 0

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

- Defined in src/ui/party-ui-handler.ts:44

### TM_MODIFIER

TM_MODIFIER: 6

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

- Defined in src/ui/party-ui-handler.ts:74