ReadonlyABILITY_ReadonlyARENA_ReadonlyBATTLE_ReadonlyEGG_ReadonlyEGG_ReadonlyEGG_ReadonlyEGG_ReadonlyEGG_ReadonlyEGG_ReadonlyFREE_ReadonlyGENDER_ReadonlyITEM_ReadonlyMOVESET_ReadonlyNEVER_ReadonlyOPP_ReadonlyOPP_ReadonlyOPP_Override array of ModifierOverrides used to provide held items to enemies on spawn.
ReadonlyOPP_ReadonlyOPP_ReadonlyOPP_Override array of ModifierOverrides used to provide modifiers to enemies.
Note that any previous modifiers are cleared.
ReadonlyOPP_ReadonlyOPP_ReadonlyOPP_ReadonlyOPP_ReadonlyOPP_ReadonlyOPP_ReadonlyPASSIVE_ReadonlyPOKEBALL_ReadonlySEED_a specific seed (default: a random string of 24 characters)
ReadonlySHINY_ReadonlySTARTER_Set the form index of any starter in the party whose speciesId is inside this override
allSpecies in src/data/pokemon-species.ts for form indexes
const STARTER_FORM_OVERRIDES = {
[Species.DARMANITAN]: 1
}
ReadonlySTARTER_SPECIES OVERRIDE will only apply to the first starter in your party or each enemy pokemon default is 0 to not override
ReadonlySTARTING_ReadonlySTARTING_Override array of ModifierOverrides used to provide held items to first party member when starting a new game.
ReadonlySTARTING_default 5 or 20 for Daily
ReadonlySTARTING_Overrides labeled MODIFIER deal with any modifier so long as it doesn't require a party
member to hold it (typically this is, extends, or generates a ModifierType),
like EXP_SHARE, CANDY_JAR, etc.
Overrides labeled HELD_ITEM specifically pertain to any entry in modifierTypes that
extends, or generates a PokemonHeldItemModifierType, like SOUL_DEW, TOXIC_ORB, etc.
Note that, if count is not provided, it will default to 1.
Additionally, note that some held items and modifiers are grouped together via a ModifierTypeGenerator and require pre-generation arguments to get a specific item from that group. If a type is not set, the generator will either use the party to weight item choice or randomly pick an item.
// Will have a quantity of 2 in-game
STARTING_MODIFIER_OVERRIDE = [{name: "EXP_SHARE", count: 2}]
// Will have a quantity of 1 in-game
STARTING_HELD_ITEM_OVERRIDE = [{name: "LUCKY_EGG"}]
// Type must be given to get a specific berry
STARTING_HELD_ITEM_OVERRIDE = [{name: "BERRY", type: BerryType.SITRUS}]
// A random berry will be generated at runtime
STARTING_HELD_ITEM_OVERRIDE = [{name: "BERRY"}]
ReadonlySTARTING_default 1000
ReadonlySTARTING_ReadonlySTATUS_ReadonlyVARIANT_ReadonlyWAIVE_Sets reroll price to 0
ReadonlyWAIVE_Sets all shop item prices to 0
ReadonlyWEATHER_ReadonlyXP_Multiplies XP gained by this value including 0. Set to null to ignore the override
Override array of
ModifierOverrides used to replace the generated item rolls after a wave.If less entries are listed than rolled, only those entries will be used to replace the corresponding items while the rest randomly generated. If more entries are listed than rolled, only the first X entries will be used, where X is the number of items rolled.
Note that, for all items in the array,
countis not used.