pokemon-rogue-battle
    Preparing search index...

    Class for ribbon data management. Usually constructed via the fromJSON method.

    Stores information about the ribbons earned by a species using a bitfield.

    Index

    Constructors

    Properties

    CLASSIC: RibbonFlag = ...

    Ribbon for winning classic

    FLIP_STATS: RibbonFlag = ...

    Ribbon for winning the flip stats challenge

    FRESH_START: RibbonFlag = ...

    Ribbon for winning the fresh start challenge

    FRIENDSHIP: RibbonFlag = ...

    Ribbon for reaching max friendship

    HARDCORE: RibbonFlag = ...

    Ribbon for winning the hardcore challenge

    INVERSE: RibbonFlag = ...

    Ribbon for winning the inverse challenge

    LIMITED_CATCH: RibbonFlag = ...

    Ribbon for winning the limited catch challenge

    MONO_BUG: RibbonFlag = ...

    Ribbon for winning the bug monotype challenge

    MONO_DARK: RibbonFlag = ...

    Ribbon for winning the dark monotype challenge

    MONO_DRAGON: RibbonFlag = ...

    Ribbon for winning the dragon monotype challenge

    MONO_ELECTRIC: RibbonFlag = ...

    Ribbon for winning the electric monotype challenge

    MONO_FAIRY: RibbonFlag = ...

    Ribbon for winning the fairy monotype challenge

    MONO_FIGHTING: RibbonFlag = ...

    Ribbon for winning the fighting monotype challenge

    MONO_FIRE: RibbonFlag = ...

    Ribbon for winning the fire monotype challenge

    MONO_FLYING: RibbonFlag = ...

    Ribbon for winning the flying monotype challenge

    MONO_GEN_1: RibbonFlag = ...

    Ribbon for winning the the mono gen 1 challenge

    MONO_GEN_2: RibbonFlag = ...

    Ribbon for winning the the mono gen 2 challenge

    MONO_GEN_3: RibbonFlag = ...

    Ribbon for winning the mono gen 3 challenge

    MONO_GEN_4: RibbonFlag = ...

    Ribbon for winning the mono gen 4 challenge

    MONO_GEN_5: RibbonFlag = ...

    Ribbon for winning the mono gen 5 challenge

    MONO_GEN_6: RibbonFlag = ...

    Ribbon for winning the mono gen 6 challenge

    MONO_GEN_7: RibbonFlag = ...

    Ribbon for winning the mono gen 7 challenge

    MONO_GEN_8: RibbonFlag = ...

    Ribbon for winning the mono gen 8 challenge

    MONO_GEN_9: RibbonFlag = ...

    Ribbon for winning the mono gen 9 challenge

    MONO_GHOST: RibbonFlag = ...

    Ribbon for winning the ghost monotype challenge

    MONO_GRASS: RibbonFlag = ...

    Ribbon for winning the grass monotype challenge

    MONO_GROUND: RibbonFlag = ...

    Ribbon for winning the ground monotype challenge

    MONO_ICE: RibbonFlag = ...

    Ribbon for winning the ice monotype challenge

    MONO_NORMAL: RibbonFlag = ...

    Ribbon for winning the normal monotype challenge

    MONO_POISON: RibbonFlag = ...

    Ribbon for winning the poision monotype challenge

    MONO_PSYCHIC: RibbonFlag = ...

    Ribbon for winning the psychic monotype challenge

    MONO_ROCK: RibbonFlag = ...

    Ribbon for winning the rock monotype challenge

    MONO_STEEL: RibbonFlag = ...

    Ribbon for winning the steel monotype challenge

    MONO_WATER: RibbonFlag = ...

    Ribbon for winning the water monotype challenge

    NO_HEAL: RibbonFlag = ...

    Ribbon for winning the limited support challenge set to no heal

    NO_SHOP: RibbonFlag = ...

    Ribbon for winning the limited uspport challenge set to no shop

    NO_SUPPORT: RibbonFlag = ...

    Ribbon for winning the limited support challenge set to both

    NUZLOCKE: RibbonFlag = ...

    Ribbon for winning the nuzzlocke challenge

    Methods

    • Decode a hexadecimal string representation of the bitfield into a RibbonData instance

      Parameters

      • value: string

        Hexadecimal string representation of the bitfield (without the leading 0x)

      Returns RibbonData

      A new instance of RibbonData initialized with the provided bitfield.