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

        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

      • Optionalplayer: boolean

        boolean if the switch is from the player

      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