Process the command phase logic based on the selected command
The kind of command to handle
The index of option that the cursor is on, or -1 if no option is selected
Optional
useMode: MoveUseModeThe mode to use for the move, if applicable. For switches, a boolean that specifies whether the switch is a Baton switch.
Optional
move: TurnMoveFor Command.FIGHT
, the move to use
Whether the command was successful
Process the command phase logic based on the selected command
The kind of command to handle
The index of option that the cursor is on, or -1 if no option is selected
Whether the command was successful
Process the command phase logic based on the selected command
The kind of command to handle
The index of option that the cursor is on, or -1 if no option is selected
Whether the command was successful
Process the command phase logic based on the selected command
The kind of command to handle
The index of option that the cursor is on, or -1 if no option is selected
Whether the command was successful
Process the command phase logic based on the selected command
The kind of command to handle
The index of option that the cursor is on, or -1 if no option is selected
Optional
useMode: boolean | MoveUseModeThe mode to use for the move, if applicable. For switches, a boolean that specifies whether the switch is a Baton switch.
Optional
move: TurnMoveFor Command.FIGHT
, the move to use
Whether the command was successful
Check if the phase is of the given type without requiring instanceof
.
The string name of the phase to check.
Whether this phase is of the provided type.
The string name of the phase, used to identify the phase type for
is