Hierarchy (view full)

Constructors

  • Constructor for creating a new SwitchSummonPhase

    Parameters

    • scene: default

      BattleScene the scene the phase is associated with

    • fieldIndex: number

      integer representing position on the battle field

    • slotIndex: number

      integer for the index of pokemon (in party of 6) to switch into

    • doReturn: boolean

      boolean whether to render "comeback" dialogue

    • batonPass: boolean

      boolean if the switch is from baton pass

    • Optionalplayer: boolean

      boolean if the switch is from the player

    Returns SwitchSummonPhase

Properties

fieldIndex: number
partyMemberIndex: number
player: boolean
scene: default

Methods