PokéRogue
    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
    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
    • >0: Move is in process of hitting targets

    -1

    joinedRound: boolean = false
    moveEffectiveness: TypeDamageMultiplier | null = 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.

    StatusEffect.NONE

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

    The Pokemon was brought in this turn by a switch action (not an intial encounter/summon)

    totalDamageDealt: number = 0