pokemon-rogue-battle
    Preparing search index...

    Temporary data for a Pokemon. Resets at the start of a new turn, as well as on switch.

    Index

    Constructors

    Properties

    acted: boolean = false
    attacksReceived: AttackMoveResult[] = []
    berriesEaten: BerryType[] = []

    All berries eaten by this pokemon in this turn. Saved into SummonData by AbilityId.CUD_CHEW on turn end.

    combiningPledge?: MoveId
    damageTaken: number = 0
    extraTurns: number = 0

    The amount of times this Pokemon has acted again and used a move in the current turn. Used to make sure multi-hits occur properly when the user is forced to act again in the same turn, and must be incremented by any effects that grant extra actions.

    failedRunAway: boolean = false
    hitCount: number = 0

    How many times the current move should hit the target(s)

    hitsLeft: number = -1
    • -1 = Calculate how many hits are left
    • 0 = Move is finished
    joinedRound: boolean = false
    moveEffectiveness: null | TypeDamageMultiplier = null
    order: number
    pendingStatus: StatusEffect = StatusEffect.NONE

    Tracker for a pending status effect

    Set whenever Pokemon#trySetStatus succeeds in order to prevent subsequent status effects from being applied. Necessary because the status is not actually set until the ObtainStatusEffectPhase runs, which may not happen before another status effect is attempted to be applied.

    singleHitDamageDealt: number = 0
    statStagesDecreased: boolean = false
    statStagesIncreased: boolean = false
    switchedInThisTurn: boolean = false
    totalDamageDealt: number = 0