pokemon-rogue-battle
    Preparing search index...

    Function loadPokemonVariantAssets

    • Load the variant assets for the given sprite and store it in variantColorCache.

      Parameters

      • spriteKey: string

        The key of the sprite to load

      • fileRoot: string

        The root path of the sprite file

      • variant: Variant

        The variant to load

      • scene: default = globalScene

        The scene to load the assets in (defaults to the global scene)

      Returns Promise<void>