PokéRogue
    Preparing search index...

    Interface EventSpriteOptions

    interface EventSpriteOptions {
        fillRandom?: boolean;
        pokemonReplacements: readonly EventPokemonSpriteReplacement[];
        trainerReplacements: readonly EventTrainerSpriteReplacement[];
    }
    Index

    Properties

    fillRandom?: boolean

    If true, any species not explicitly listed in the replacements array will be replaced with a random species.

    false
    
    pokemonReplacements: readonly EventPokemonSpriteReplacement[]

    An Array of tuples [source, target] for replacing pokemon sprites during events. Format for both source and target is "speciesId[/formIndex]", where formIndex is optional and defaults to 0 if not provided.

    trainerReplacements: readonly EventTrainerSpriteReplacement[]

    An Array of tuples [source, target] for replacing trainer sprites during events. Source is a TrainerType and target is the literal filename of the sprite to use for that trainer type during the event (without file extension).