<p>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.</p>
<p>Note that, for all items in the array, <code>count</code> is not used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">MOVESET_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_moves.Moves.html"class="tsd-signature-type tsd-kind-enum">Moves</a><spanclass="tsd-signature-symbol">[]</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">NEVER_<wbr/>CRIT_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>ABILITY_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_abilities.Abilities.html"class="tsd-signature-type tsd-kind-enum">Abilities</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>GENDER_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/data_gender.Gender.html"class="tsd-signature-type tsd-kind-enum">Gender</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>HELD_<wbr/>ITEMS_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../types/modifier_modifier_type.ModifierOverride.html"class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><spanclass="tsd-signature-symbol">[]</span></h5><divclass="tsd-comment tsd-typography"><p>Override array of <ahref="../types/modifier_modifier_type.ModifierOverride.html"class="tsd-kind-type-alias"><code>ModifierOverride</code></a>s used to provide held items to enemies on spawn.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>IVS_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>LEVEL_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>MODIFIER_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../types/modifier_modifier_type.ModifierOverride.html"class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><spanclass="tsd-signature-symbol">[]</span></h5><divclass="tsd-comment tsd-typography"><p>Override array of <ahref="../types/modifier_modifier_type.ModifierOverride.html"class="tsd-kind-type-alias"><code>ModifierOverride</code></a>s used to provide modifiers to enemies.</p>
<p>Note that any previous modifiers are cleared.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>MOVESET_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_moves.Moves.html"class="tsd-signature-type tsd-kind-enum">Moves</a><spanclass="tsd-signature-symbol">[]</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>PASSIVE_<wbr/>ABILITY_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_abilities.Abilities.html"class="tsd-signature-type tsd-kind-enum">Abilities</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>SHINY_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>SPECIES_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>STATUS_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_status_effect.StatusEffect.html"class="tsd-signature-type tsd-kind-enum">StatusEffect</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">OPP_<wbr/>VARIANT_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../types/data_variant.Variant.html"class="tsd-signature-type tsd-kind-type-alias">Variant</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">PASSIVE_<wbr/>ABILITY_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_abilities.Abilities.html"class="tsd-signature-type tsd-kind-enum">Abilities</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">POKEBALL_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-symbol">{ </span><br/><span></span><spanclass="tsd-kind-property">active</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol">; </span><br/><span></span><spanclass="tsd-kind-property">pokeballs</span><spanclass="tsd-signature-symbol">: </span><ahref="../interfaces/battle_scene.PokeballCounts.html"class="tsd-signature-type tsd-kind-interface">PokeballCounts</a><spanclass="tsd-signature-symbol">; </span><br/><spanclass="tsd-signature-symbol">}</span></h5><ulclass="tsd-parameters"><liclass="tsd-parameter"><h5><spanclass="tsd-kind-property">active</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span></h5></li><liclass="tsd-parameter"><h5><spanclass="tsd-kind-property">pokeballs</span><spanclass="tsd-signature-symbol">: </span><ahref="../interfaces/battle_scene.PokeballCounts.html"class="tsd-signature-type tsd-kind-interface">PokeballCounts</a></h5></li></ul></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">SEED_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span></h5><divclass="tsd-comment tsd-typography"><p>a specific seed (default: a random string of 24 characters)</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">SHINY_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">STARTER_<wbr/>FORM_<wbr/>OVERRIDES</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Partial</span><spanclass="tsd-signature-symbol"><</span><spanclass="tsd-signature-type">Record</span><spanclass="tsd-signature-symbol"><</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">, </span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol">></span></h5><divclass="tsd-comment tsd-typography"><p>Set the form index of any starter in the party whose <code>speciesId</code> is inside this override</p>
</div><divclass="tsd-comment tsd-typography"><h4class="tsd-anchor-link"><aid="See"class="tsd-anchor"></a>See<ahref="#See"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><ahref="data_pokemon_species.allSpecies.html"class="tsd-kind-variable">allSpecies</a> in <code>src/data/pokemon-species.ts</code> for form indexes</p>
</div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">STARTING_<wbr/>BIOME_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_biome.Biome.html"class="tsd-signature-type tsd-kind-enum">Biome</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">STARTING_<wbr/>HELD_<wbr/>ITEMS_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../types/modifier_modifier_type.ModifierOverride.html"class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><spanclass="tsd-signature-symbol">[]</span></h5><divclass="tsd-comment tsd-typography"><p>Override array of <ahref="../types/modifier_modifier_type.ModifierOverride.html"class="tsd-kind-type-alias"><code>ModifierOverride</code></a>s used to provide held items to first party member when starting a new game.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">STARTING_<wbr/>LEVEL_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span></h5><divclass="tsd-comment tsd-typography"><p>default 5 or 20 for Daily</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">STARTING_<wbr/>MODIFIER_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../types/modifier_modifier_type.ModifierOverride.html"class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><spanclass="tsd-signature-symbol">[]</span></h5><divclass="tsd-comment tsd-typography"><p>Overrides labeled <code>MODIFIER</code> 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 <code>EXP_SHARE</code>, <code>CANDY_JAR</code>, etc.</p>
<p>Overrides labeled <code>HELD_ITEM</code> specifically pertain to any entry in modifierTypes that
extends, or generates a PokemonHeldItemModifierType, like <code>SOUL_DEW</code>, <code>TOXIC_ORB</code>, etc.</p>
<p>Note that, if count is not provided, it will default to 1.</p>
<p>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.</p>
</div><divclass="tsd-comment tsd-typography"><h4class="tsd-anchor-link"><aid="Example-2"class="tsd-anchor"></a>Example<ahref="#Example-2"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code><spanclass="hl-8">// Will have a quantity of 2 in-game</span><br/><spanclass="hl-5">STARTING_MODIFIER_OVERRIDE</span><spanclass="hl-1"> = [{</span><spanclass="hl-2">name:</span><spanclass="hl-1"></span><spanclass="hl-7">"EXP_SHARE"</span><spanclass="hl-1">, </span><spanclass="hl-2">count:</span><spanclass="hl-1"></span><spanclass="hl-0">2</span><spanclass="hl-1">}]</span><br/><spanclass="hl-8">// Will have a quantity of 1 in-game</span><br/><spanclass="hl-5">STARTING_HELD_ITEM_OVERRIDE</span><spanclass="hl-1"> = [{</span><spanclass="hl-2">name:</span><spanclass="hl-1"></span><spanclass="hl-7">"LUCKY_EGG"</span><spanclass="hl-1">}]</span><br/><spanclass="hl-8">// Type must be given to get a specific berry</span><br/><spanclass="hl-5">STARTING_HELD_ITEM_OVERRIDE</span><spanclass="hl-1"> = [{</span><spanclass="hl-2">name:</span><spanclass="hl-1"></span><spanclass="hl-7">"BERRY"</span><spanclass="hl-1">, </span><spanclass="hl-2">type:</span><spanclass="hl-1"></span><spanclass="hl-2">BerryType</span><spanclass="hl-1">.</span><spanclass="hl-5">SITRUS</span><spanclass="hl-1">}]</span><br/><spanclass="hl-8">// A random berry will be generated at runtime</span><br/><spanclass="hl-5">STARTING_HELD_ITEM_OVERRIDE</span><spanclass="hl-1"> = [{</span><spanclass="hl-2">name:</span><spanclass="hl-1"></span><spanclass="hl-7">"BERRY"</span><spanclass="hl-1">}]</span>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">WAIVE_<wbr/>SHOP_<wbr/>FEES_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span></h5><divclass="tsd-comment tsd-typography"><p>Sets all shop item prices to 0</p>
</div><divclass="tsd-comment tsd-typography"></div></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">WEATHER_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_weather_type.WeatherType.html"class="tsd-signature-type tsd-kind-enum">WeatherType</a></h5></li><liclass="tsd-parameter"><h5><codeclass="tsd-tag">Readonly</code><spanclass="tsd-kind-property">XP_<wbr/>MULTIPLIER_<wbr/>OVERRIDE</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">number</span></h5><divclass="tsd-comment tsd-typography"><p>Multiplies XP gained by this value including 0. Set to null to ignore the override</p>