pokemon-rogue-battle
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    • Constructor for creating a new SwitchSummonPhase

      Parameters

      • switchType: SwitchType

        The type of switch behavior

      • fieldIndex: number

        Position on the battle field

      • slotIndex: number

        The index of pokemon (in party of 6) to switch into

      • doReturn: boolean

        Whether to render "comeback" dialogue

      • player: boolean = true

        Whether the switch came from the player or enemy; default true

      Returns SwitchSummonPhase

    Properties

    fieldIndex: number
    partyMemberIndex: number
    player: boolean

    Methods

    • Handles tweening and battle setup for a wild Pokemon that appears outside of the normal screen transition. Wild Pokemon will ease and fade in onto the field, then perform standard summon behavior. Currently only used by Mystery Encounters, as all other battle types pre-summon wild pokemon before screen transitions.

      Returns void