A basic abstract class to act as a holder and processor for UI elements.

Hierarchy (view full)

Constructors

Properties

active: boolean = false
awaitingActionInput: boolean
cursor: number = 0
fieldIndex: number
iconAnimHandler: default
lastCursor: number = 0
localizedOptions: PartyOption[] = ...
message: Text
mode: number
moveInfoOverlay: default
moveSelectFilter: PokemonMoveSelectFilter
onActionInput: Function
options: number[]
optionsBg: NineSlice
optionsContainer: Container
optionsCursor: number = 0
optionsCursorObj: Image
optionsMode: boolean
optionsScroll: boolean
optionsScrollCursor: number = 0
optionsScrollTotal: number = 0
partyBg: Image
partyCancelButton: PartyCancelButton
partyContainer: Container
partyMessageBox: NineSlice
partySlots: PartySlot[]
partySlotsContainer: Container
partyUiMode: PartyUiMode
pendingPrompt: boolean
prompt: Sprite
scene: default
showMovePp: boolean
textCallbackTimer: TimerEvent
textTimer: TimerEvent
tmMoveId: Moves
transferAll: boolean

Whether to transfer all items

transferCursor: number
transferMode: boolean
transferOptionCursor: number
transferQuantities: number[]

Current quantity selection for every item held by the pokemon selected for the transfer

transferQuantitiesMax: number[]

Stack size of every item that the selected pokemon is holding

tutorialActive: boolean = false
NoEffectMessage: never = ...

Methods

  • For consistency reasons, this looks like the above filters. However this is used only internally and is always enforced for switching.

    Parameters

    Returns any

  • Parameters

    • text: string
    • name: string
    • Optional delay: number
    • Optional callback: Function
    • Optional callbackDelay: number
    • Optional prompt: boolean
    • Optional promptDelay: number

    Returns void

  • Parameters

    • text: string
    • Optional delay: number
    • Optional callback: Function
    • Optional callbackDelay: number
    • Optional prompt: boolean
    • Optional promptDelay: number

    Returns void