pokerogue/main/classes/test_utils_helpers_override...

162 lines
103 KiB
HTML
Raw Normal View History

2024-08-17 17:01:18 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OverridesHelper | pokemon-rogue-battle</title><meta name="description" content="Documentation for pokemon-rogue-battle"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">pokemon-rogue-battle</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">pokemon-rogue-battle</a></li><li><a href="../modules/test_utils_helpers_overridesHelper.html">test/utils/helpers/overridesHelper</a></li><li><a href="test_utils_helpers_overridesHelper.OverridesHelper.html">OverridesHelper</a></li></ul><h1>Class OverridesHelper</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Helper to handle overrides in tests</p>
2024-10-28 02:34:09 +00:00
</div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#test/utils/helpers/overridesHelper.OverridesHelper">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="test_utils_helpers_gameManagerHelper.GameManagerHelper.html" class="tsd-signature-type tsd-kind-class">GameManagerHelper</a><ul class="tsd-hierarchy"><li><span class="target">OverridesHelper</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L21">src/test/utils/helpers/overridesHelper.ts:21</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="test_utils_helpers_overridesHelper.OverridesHelper.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2024-10-26 21:31:27 +00:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="test_utils_helpers_overridesHelper.OverridesHelper.html#disableShinies" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disable<wbr/>Shinies</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#game" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#removeEnemyStartingItems" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>remove<wbr/>Enemy<wbr/>Starting<wbr/>Items</span></a>
2024-08-17 17:01:18 +00:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="test_utils_helpers_overridesHelper.OverridesHelper.html#ability" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ability</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#battleType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>battle<wbr/>Type</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#disableCrits" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable<wbr/>Crits</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#disableTrainerWaves" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable<wbr/>Trainer<wbr/>Waves</span></a>
2024-10-26 21:31:27 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enableEnemyFusion" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable<wbr/>Enemy<wbr/>Fusion</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enableStarterFusion" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable<wbr/>Starter<wbr/>Fusion</span></a>
2024-09-27 21:52:07 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enableUnlockable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable<wbr/>Unlockable</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyAbility" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Ability</span></a>
2024-10-26 21:31:27 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyFusionSpecies" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Fusion<wbr/>Species</span></a>
2024-09-10 22:07:25 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyHealthSegments" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Health<wbr/>Segments</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyHeldItems" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Held<wbr/>Items</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyLevel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Level</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyMoveset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Moveset</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyPassiveAbility" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Passive<wbr/>Ability</span></a>
2024-10-26 21:31:27 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyShiny" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Shiny</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemySpecies" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Species</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#enemyStatusEffect" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enemy<wbr/>Status<wbr/>Effect</span></a>
2024-09-10 22:07:25 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#itemRewards" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>item<wbr/>Rewards</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#moveset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>moveset</span></a>
2024-09-27 21:52:07 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#mysteryEncounter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mystery<wbr/>Encounter</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#mysteryEncounterChance" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mystery<wbr/>Encounter<wbr/>Chance</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#mysteryEncounterTier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>mystery<wbr/>Encounter<wbr/>Tier</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#passiveAbility" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>passive<wbr/>Ability</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#seed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>seed</span></a>
2024-10-26 21:31:27 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#shiny" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shiny</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#shinyVariant" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shiny<wbr/>Variant</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#starterForms" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starter<wbr/>Forms</span></a>
2024-10-26 21:31:27 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#starterFusionSpecies" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starter<wbr/>Fusion<wbr/>Species</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#starterSpecies" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starter<wbr/>Species</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#startingBiome" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starting<wbr/>Biome</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#startingHeldItems" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starting<wbr/>Held<wbr/>Items</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#startingLevel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starting<wbr/>Level</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#startingModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starting<wbr/>Modifier</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#startingWave" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>starting<wbr/>Wave</span></a>
2024-10-26 21:31:27 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#statusActivation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>status<wbr/>Activation</span></a>
2024-08-17 17:01:18 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#statusEffect" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>status<wbr/>Effect</span></a>
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#weather" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>weather</span></a>
2024-09-27 21:52:07 +00:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#xpMultiplier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>xp<wbr/>Multiplier</span></a>
2024-10-28 02:34:09 +00:00
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_OverridesHelper" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Overrides<wbr/>Helper</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">game</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><a href="#constructor.new_OverridesHelper" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">game</span>: <a href="test_utils_gameManager.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a></h4><aside class="tsd-sources"><p>Inherited from <a href="test_utils_helpers_gameManagerHelper.GameManagerHelper.html">GameManagerHelper</a>.<a href="test_utils_helpers_gameManagerHelper.GameManagerHelper.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/gameManagerHelper.ts#L9">src/test/utils/helpers/gameManagerHelper.ts:9</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="disableShinies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable<wbr/>Shinies</span><a href="#disableShinies" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">disable<wbr/>Shinies</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><div class="tsd-comment tsd-typography"><p>If <code>true</code>, sets the shiny overrides to disable shinies at the start of each test; default <code>true</code></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L25">src/test/utils/helpers/overridesHelper.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="game" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code> <code class="tsd-tag">Readonly</code><span>game</span><a href="#game" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">game</span><span class="tsd-signature-symbol">:</span> <a href="test_utils_gameManager.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><p>Inherited from <a href="test_utils_helpers_gameManagerHelper.GameManagerHelper.html">GameManagerHelper</a>.<a href="test_utils_helpers_gameManagerHelper.GameManagerHelper.html#game">game</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/gameManagerHelper.ts#L7">src/test/utils/helpers/gameManagerHelper.ts:7</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="removeEnemyStartingItems" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Enemy<wbr/>Starting<wbr/>Items</span><a href="#removeEnemyStartingItems" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">remove<wbr/>Enemy<wbr/>Starting<wbr/>Items</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><div class="tsd-comment tsd-typography"><p>If <code>true</code>, removes the starting items from enemies at the start of each test; default <code>true</code></p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L23">src/test/utils/helpers/overridesHelper.ts:23</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="ability" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ability</span><a href="#ability" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ability.ability-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ability</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#ability.ability-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ability</span>: <a href="../enums/enums_abilities.Abilities.html" class="tsd-signature-type tsd-kind-enum">Abilities</a></span><div class="tsd-comment tsd-typography"><p>the (pokemon) <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a> to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L144">src/test/utils/helpers/overridesHelper.ts:144</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="battleType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>battle<wbr/>Type</span><a href="#battleType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="battleType.battleType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">battle<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">battleType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#battleType.battleType-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the battle type (single or double)</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">battleType</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;double&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;single&quot;</span></span><div class="tsd-comment tsd-typography"><p>battle type to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L244">src/test/utils/helpers/overridesHelper.ts:244</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="disableCrits" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable<wbr/>Crits</span><a href="#disableCrits" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="disableCrits.disableCrits-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disable<wbr/>Crits</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#disableCrits.disableCrits-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override each wave to not have critical hits</p>
2024-10-26 21:31:27 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L206">src/test/utils/helpers/overridesHelper.ts:206</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="disableTrainerWaves" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable<wbr/>Trainer<wbr/>Waves</span><a href="#disableTrainerWaves" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="disableTrainerWaves.disableTrainerWaves-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disable<wbr/>Trainer<wbr/>Waves</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#disableTrainerWaves.disableTrainerWaves-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override each wave to not have standard trainer battles</p>
2024-10-26 21:31:27 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L191">src/test/utils/helpers/overridesHelper.ts:191</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enableEnemyFusion" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Enemy<wbr/>Fusion</span><a href="#enableEnemyFusion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enableEnemyFusion.enableEnemyFusion-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enable<wbr/>Enemy<wbr/>Fusion</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enableEnemyFusion.enableEnemyFusion-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) to be a random fusion</p>
2024-10-26 21:31:27 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L265">src/test/utils/helpers/overridesHelper.ts:265</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enableStarterFusion" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Starter<wbr/>Fusion</span><a href="#enableStarterFusion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enableStarterFusion.enableStarterFusion-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enable<wbr/>Starter<wbr/>Fusion</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enableStarterFusion.enableStarterFusion-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) to be a random fusion</p>
2024-10-26 21:31:27 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L97">src/test/utils/helpers/overridesHelper.ts:97</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enableUnlockable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Unlockable</span><a href="#enableUnlockable" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enableUnlockable.enableUnlockable-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enable<wbr/>Unlockable</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">unlockable</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enableUnlockable.enableUnlockable-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gives the player access to an Unlockable.</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">unlockable</span>: <a href="../enums/system_unlockables.Unlockables.html" class="tsd-signature-type tsd-kind-enum">Unlockables</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The Unlockable(s) to enable.</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L357">src/test/utils/helpers/overridesHelper.ts:357</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyAbility" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Ability</span><a href="#enemyAbility" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyAbility.enemyAbility-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ability</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyAbility.enemyAbility-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">ability</span>: <a href="../enums/enums_abilities.Abilities.html" class="tsd-signature-type tsd-kind-enum">Abilities</a></span><div class="tsd-comment tsd-typography"><p>the (pokemon) <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a> to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L287">src/test/utils/helpers/overridesHelper.ts:287</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyFusionSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Fusion<wbr/>Species</span><a href="#enemyFusionSpecies" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyFusionSpecies.enemyFusionSpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Fusion<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyFusionSpecies.enemyFusionSpecies-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) fusion species</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">species</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the fusion species to set</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L276">src/test/utils/helpers/overridesHelper.ts:276</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyHealthSegments" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Health<wbr/>Segments</span><a href="#enemyHealthSegments" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyHealthSegments.enemyHealthSegments-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Health<wbr/>Segments</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">healthSegments</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyHealthSegments.enemyHealthSegments-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (Pokemon) to have the given amount of health segments</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">healthSegments</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the number of segments to give</p>
<ul>
<li><code>0</code> (default): the health segments will be handled like in the game based on wave, level and species</li>
<li><code>1</code>: the Pokemon will not be a boss</li>
<li><code>2</code>+: the Pokemon will be a boss with the given number of health segments</li>
</ul>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L430">src/test/utils/helpers/overridesHelper.ts:430</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyHeldItems" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Held<wbr/>Items</span><a href="#enemyHeldItems" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyHeldItems.enemyHeldItems-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Held<wbr/>Items</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyHeldItems.enemyHeldItems-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) held items</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">items</span>: <a href="../types/modifier_modifier_type.ModifierOverride.html" class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the items to hold</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L346">src/test/utils/helpers/overridesHelper.ts:346</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Level</span><a href="#enemyLevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyLevel.enemyLevel-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Level</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">level</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyLevel.enemyLevel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) level</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">level</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the level to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L324">src/test/utils/helpers/overridesHelper.ts:324</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyMoveset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Moveset</span><a href="#enemyMoveset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyMoveset.enemyMoveset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Moveset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveset</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyMoveset.enemyMoveset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) <a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>moves</code></a>set</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">moveset</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the <a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>moves</code></a>set to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L309">src/test/utils/helpers/overridesHelper.ts:309</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyPassiveAbility" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Passive<wbr/>Ability</span><a href="#enemyPassiveAbility" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyPassiveAbility.enemyPassiveAbility-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Passive<wbr/>Ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">passiveAbility</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyPassiveAbility.enemyPassiveAbility-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) <strong>passive</strong> <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">passiveAbility</span>: <a href="../enums/enums_abilities.Abilities.html" class="tsd-signature-type tsd-kind-enum">Abilities</a></span><div class="tsd-comment tsd-typography"><p>the (pokemon) <strong>passive</strong> <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a> to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L298">src/test/utils/helpers/overridesHelper.ts:298</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyShiny" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Shiny</span><a href="#enemyShiny" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyShiny.enemyShiny-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Shiny</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">shininess</span>, <span class="tsd-kind-parameter">variant</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyShiny.enemyShiny-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override enemy shininess</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">shininess</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> or <code>false</code> to force the enemy's pokemon to be shiny or not shiny,
<code>null</code> to disable the override and re-enable RNG shinies.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">variant</span>: <a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></span><div class="tsd-comment tsd-typography"><p>(Optional) The enemy's shiny <a href="../types/data_variant.Variant.html" class="tsd-kind-type-alias"><code>Variant</code></a>.</p>
2024-10-28 02:34:09 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L407">src/test/utils/helpers/overridesHelper.ts:407</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemySpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Species</span><a href="#enemySpecies" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemySpecies.enemySpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemySpecies.enemySpecies-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) <a href="../enums/enums_species.Species.html" class="tsd-kind-enum"><code>species</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">species</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the (pokemon) <a href="../enums/enums_species.Species.html" class="tsd-kind-enum"><code>species</code></a> to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L255">src/test/utils/helpers/overridesHelper.ts:255</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="enemyStatusEffect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Status<wbr/>Effect</span><a href="#enemyStatusEffect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="enemyStatusEffect.enemyStatusEffect-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enemy<wbr/>Status<wbr/>Effect</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">statusEffect</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#enemyStatusEffect.enemyStatusEffect-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the enemy (pokemon) <a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-kind-enum"><code>status-effect</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">statusEffect</span>: <a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-signature-type tsd-kind-enum">StatusEffect</a></span><div class="tsd-comment tsd-typography"><p>the <a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-kind-enum"><code>status-effect</code></a> to set</p>
2024-10-28 02:34:09 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L335">src/test/utils/helpers/overridesHelper.ts:335</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="itemRewards" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>item<wbr/>Rewards</span><a href="#itemRewards" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="itemRewards.itemRewards-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">item<wbr/>Rewards</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#itemRewards.itemRewards-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the items rolled at the end of a battle</p>
2024-09-10 22:07:25 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">items</span>: <a href="../types/modifier_modifier_type.ModifierOverride.html" class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the items to be rolled</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L368">src/test/utils/helpers/overridesHelper.ts:368</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="moveset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>moveset</span><a href="#moveset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="moveset.moveset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">moveset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveset</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveset.moveset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) <a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>moves</code></a>set</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">moveset</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the <a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>moves</code></a>set to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L166">src/test/utils/helpers/overridesHelper.ts:166</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="mysteryEncounter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mystery<wbr/>Encounter</span><a href="#mysteryEncounter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="mysteryEncounter.mysteryEncounter-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mystery<wbr/>Encounter</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">encounterType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#mysteryEncounter.mysteryEncounter-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the encounter that spawns for the scene</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">encounterType</span>: <a href="../enums/enums_mystery_encounter_type.MysteryEncounterType.html" class="tsd-signature-type tsd-kind-enum">MysteryEncounterType</a></span><div class="tsd-comment tsd-typography"><p>The <a href="../enums/enums_mystery_encounter_type.MysteryEncounterType.html" class="tsd-kind-enum"><code>MysteryEncounterType</code></a> of the encounter</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L480">src/test/utils/helpers/overridesHelper.ts:480</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="mysteryEncounterChance" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mystery<wbr/>Encounter<wbr/>Chance</span><a href="#mysteryEncounterChance" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="mysteryEncounterChance.mysteryEncounterChance-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mystery<wbr/>Encounter<wbr/>Chance</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">percentage</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#mysteryEncounterChance.mysteryEncounterChance-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the encounter chance for a mystery encounter.</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">percentage</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the encounter chance in %</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L456">src/test/utils/helpers/overridesHelper.ts:456</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="mysteryEncounterTier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mystery<wbr/>Encounter<wbr/>Tier</span><a href="#mysteryEncounterTier" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="mysteryEncounterTier.mysteryEncounterTier-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">mystery<wbr/>Encounter<wbr/>Tier</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tier</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#mysteryEncounterTier.mysteryEncounterTier-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the encounter chance for a mystery encounter.</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">tier</span>: <a href="../enums/enums_mystery_encounter_tier.MysteryEncounterTier.html" class="tsd-signature-type tsd-kind-enum">MysteryEncounterTier</a></span><div class="tsd-comment tsd-typography"><p>The <a href="../enums/enums_mystery_encounter_tier.MysteryEncounterTier.html" class="tsd-kind-enum"><code>MysteryEncounterTier</code></a> to encounter</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L469">src/test/utils/helpers/overridesHelper.ts:469</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="passiveAbility" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>passive<wbr/>Ability</span><a href="#passiveAbility" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="passiveAbility.passiveAbility-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">passive<wbr/>Ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">passiveAbility</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#passiveAbility.passiveAbility-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) <strong>passive</strong> <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">passiveAbility</span>: <a href="../enums/enums_abilities.Abilities.html" class="tsd-signature-type tsd-kind-enum">Abilities</a></span><div class="tsd-comment tsd-typography"><p>the (pokemon) <strong>passive</strong> <a href="../enums/enums_abilities.Abilities.html" class="tsd-kind-enum"><code>ability</code></a> to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L155">src/test/utils/helpers/overridesHelper.ts:155</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="seed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>seed</span><a href="#seed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="seed.seed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">seed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">seed</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#seed.seed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the seed</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">seed</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the seed to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L228">src/test/utils/helpers/overridesHelper.ts:228</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="shiny" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shiny</span><a href="#shiny" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="shiny.shiny-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shiny</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">shininess</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#shiny.shiny-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override player shininess</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">shininess</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> or <code>false</code> to force the player's pokemon to be shiny or not shiny,
<code>null</code> to disable the override and re-enable RNG shinies.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L380">src/test/utils/helpers/overridesHelper.ts:380</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="shinyVariant" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shiny<wbr/>Variant</span><a href="#shinyVariant" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="shinyVariant.shinyVariant-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shiny<wbr/>Variant</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">variant</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#shinyVariant.shinyVariant-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override player shiny variant</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">variant</span>: <a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></span><div class="tsd-comment tsd-typography"><p>The player's shiny variant.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L395">src/test/utils/helpers/overridesHelper.ts:395</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="starterForms" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starter<wbr/>Forms</span><a href="#starterForms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="starterForms.starterForms-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starter<wbr/>Forms</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">forms</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#starterForms.starterForms-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemons) forms</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">forms</span>: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p>the (pokemon) forms to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L119">src/test/utils/helpers/overridesHelper.ts:119</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="starterFusionSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starter<wbr/>Fusion<wbr/>Species</span><a href="#starterFusionSpecies" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="starterFusionSpecies.starterFusionSpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starter<wbr/>Fusion<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#starterFusionSpecies.starterFusionSpecies-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) fusion species</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">species</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the fusion species to set</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L108">src/test/utils/helpers/overridesHelper.ts:108</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="starterSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starter<wbr/>Species</span><a href="#starterSpecies" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="starterSpecies.starterSpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starter<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#starterSpecies.starterSpecies-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) <a href="../enums/enums_species.Species.html" class="tsd-kind-enum"><code>species</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">species</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the (pokemon) <a href="../enums/enums_species.Species.html" class="tsd-kind-enum"><code>species</code></a> to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L87">src/test/utils/helpers/overridesHelper.ts:87</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="startingBiome" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starting<wbr/>Biome</span><a href="#startingBiome" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="startingBiome.startingBiome-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starting<wbr/>Biome</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">biome</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#startingBiome.startingBiome-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the starting biome</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">biome</span>: <a href="../enums/enums_biome.Biome.html" class="tsd-signature-type tsd-kind-enum">Biome</a></span><div class="tsd-comment tsd-typography"><p>the biome to set</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Warning" class="tsd-anchor"></a>Warning<a href="#Warning" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Any event listeners that are attached to <a href="events%5Cbattle-scene.ts">NewArenaEvent</a> may need to be handled down the line</p>
2024-10-28 02:34:09 +00:00
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L32">src/test/utils/helpers/overridesHelper.ts:32</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="startingHeldItems" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starting<wbr/>Held<wbr/>Items</span><a href="#startingHeldItems" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="startingHeldItems.startingHeldItems-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starting<wbr/>Held<wbr/>Items</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">items</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#startingHeldItems.startingHeldItems-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) starting held items</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">items</span>: <a href="../types/modifier_modifier_type.ModifierOverride.html" class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the items to hold</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L76">src/test/utils/helpers/overridesHelper.ts:76</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="startingLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starting<wbr/>Level</span><a href="#startingLevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="startingLevel.startingLevel-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starting<wbr/>Level</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">level</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#startingLevel.startingLevel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) starting level</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">level</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the (pokemon) level to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L54">src/test/utils/helpers/overridesHelper.ts:54</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="startingModifier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starting<wbr/>Modifier</span><a href="#startingModifier" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="startingModifier.startingModifier-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starting<wbr/>Modifier</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">modifiers</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#startingModifier.startingModifier-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player's starting modifiers</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifiers</span>: <a href="../types/modifier_modifier_type.ModifierOverride.html" class="tsd-signature-type tsd-kind-type-alias">ModifierOverride</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the modifiers to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L133">src/test/utils/helpers/overridesHelper.ts:133</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="startingWave" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starting<wbr/>Wave</span><a href="#startingWave" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="startingWave.startingWave-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">starting<wbr/>Wave</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">wave</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#startingWave.startingWave-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the starting wave (index)</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">wave</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the wave (index) to set. Classic: <code>1</code>-<code>200</code></p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L43">src/test/utils/helpers/overridesHelper.ts:43</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="statusActivation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>status<wbr/>Activation</span><a href="#statusActivation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="statusActivation.statusActivation-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">status<wbr/>Activation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">activate</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#statusActivation.statusActivation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override statuses (Paralysis and Freeze) to always or never activate</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">activate</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> to force activation, <code>false</code> to force no activation, <code>null</code> to disable the override</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L441">src/test/utils/helpers/overridesHelper.ts:441</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="statusEffect" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>status<wbr/>Effect</span><a href="#statusEffect" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="statusEffect.statusEffect-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">status<wbr/>Effect</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">statusEffect</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#statusEffect.statusEffect-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the player (pokemon) <a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-kind-enum"><code>status-effect</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">statusEffect</span>: <a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-signature-type tsd-kind-enum">StatusEffect</a></span><div class="tsd-comment tsd-typography"><p>the <a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-kind-enum"><code>status-effect</code></a> to set</p>
2024-10-28 02:34:09 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L181">src/test/utils/helpers/overridesHelper.ts:181</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="weather" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>weather</span><a href="#weather" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="weather.weather-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">weather</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#weather.weather-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the <a href="../enums/enums_weather_type.WeatherType.html" class="tsd-kind-enum"><code>weather (type)</code></a></p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">type</span>: <a href="../enums/enums_weather_type.WeatherType.html" class="tsd-signature-type tsd-kind-enum">WeatherType</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/enums_weather_type.WeatherType.html" class="tsd-kind-enum"><code>weather type</code></a> to set</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L217">src/test/utils/helpers/overridesHelper.ts:217</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="xpMultiplier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>xp<wbr/>Multiplier</span><a href="#xpMultiplier" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="xpMultiplier.xpMultiplier-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">xp<wbr/>Multiplier</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#xpMultiplier.xpMultiplier-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Override the XP Multiplier</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the XP multiplier to set</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
2024-10-28 02:34:09 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/5797f265a415cdaabdc639bdcf9ce949f01c24f7/src/test/utils/helpers/overridesHelper.ts#L65">src/test/utils/helpers/overridesHelper.ts:65</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#disableShinies" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disable<wbr/>Shinies</span></a><a href="#game" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game</span></a><a href="#removeEnemyStartingItems" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>remove<wbr/>E