pokerogue/main/classes/test_utils_helpers_overridesHelper.OverridesHelper.html

128 lines
87 KiB
HTML
Raw Normal View History

2024-08-17 18:01:18 +01: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-09-28 16:26:07 +01: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/3a5f3c39cda4a55df93517819a009bf328aacc17/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-08-17 18:01:18 +01: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#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>
</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-09-27 22:52:07 +01: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 18:01:18 +01: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-09-10 23:07:25 +01: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 18:01:18 +01: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>
<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 23:07:25 +01: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 18:01:18 +01: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 22:52:07 +01: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 18:01:18 +01: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-09-27 22:52:07 +01:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#shinyLevel" 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/>Level</span></a>
2024-08-17 18:01:18 +01: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>
<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>
<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>
2024-09-27 22:52:07 +01:00
<a href="test_utils_helpers_overridesHelper.OverridesHelper.html#variantLevel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>variant<wbr/>Level</span></a>
2024-08-17 18:01:18 +01:00
<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 22:52:07 +01: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-09-28 16:26:07 +01: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/3a5f3c39cda4a55df93517819a009bf328aacc17/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 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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/gameManagerHelper.ts#L7">src/test/utils/helpers/gameManagerHelper.ts:7</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
2024-08-17 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L118">src/test/utils/helpers/overridesHelper.ts:118</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L218">src/test/utils/helpers/overridesHelper.ts:218</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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-08-17 18:01:18 +01:00
</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><p>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L180">src/test/utils/helpers/overridesHelper.ts:180</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-08-17 18:01:18 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L165">src/test/utils/helpers/overridesHelper.ts:165</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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 22:52:07 +01: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>
</div><div class="tsd-comment tsd-typography"></div></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><p><code>this</code></p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L310">src/test/utils/helpers/overridesHelper.ts:310</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L240">src/test/utils/helpers/overridesHelper.ts:240</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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-09-10 23:07:25 +01: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
default: 0, the health segments will be handled like in the game based on wave, level and species
1: the Pokemon will not be a boss
2+: the Pokemon will be a boss with the given number of health segments</p>
</div><div class="tsd-comment tsd-typography"></div></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><p>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L354">src/test/utils/helpers/overridesHelper.ts:354</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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 18:01:18 +01: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>
</div><div class="tsd-comment tsd-typography"></div></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><p>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L299">src/test/utils/helpers/overridesHelper.ts:299</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L277">src/test/utils/helpers/overridesHelper.ts:277</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 22:52:07 +01: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-08-17 18:01:18 +01: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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L262">src/test/utils/helpers/overridesHelper.ts:262</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L251">src/test/utils/helpers/overridesHelper.ts:251</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L229">src/test/utils/helpers/overridesHelper.ts:229</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 18:01:18 +01: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-09-28 16:26:07 +01: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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L288">src/test/utils/helpers/overridesHelper.ts:288</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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 23:07:25 +01: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>
</div><div class="tsd-comment tsd-typography"></div></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><p>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L321">src/test/utils/helpers/overridesHelper.ts:321</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 22:52:07 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L140">src/test/utils/helpers/overridesHelper.ts:140</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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-09-27 22:52:07 +01: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"></div></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><p>spy instance</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L389">src/test/utils/helpers/overridesHelper.ts:389</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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 22:52:07 +01: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>
</div><div class="tsd-comment tsd-typography"></div></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><p>spy instance</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L365">src/test/utils/helpers/overridesHelper.ts:365</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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-09-27 22:52:07 +01: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"></div></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><p>spy instance</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L378">src/test/utils/helpers/overridesHelper.ts:378</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L129">src/test/utils/helpers/overridesHelper.ts:129</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L202">src/test/utils/helpers/overridesHelper.ts:202</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="shinyLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shiny<wbr/>Level</span><a href="#shinyLevel" 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="shinyLevel.shinyLevel-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shiny<wbr/>Level</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="#shinyLevel.shinyLevel-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-09-27 22:52:07 +01: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">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether the player's Pokemon should be shiny.</p>
2024-09-28 16:26:07 +01: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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L331">src/test/utils/helpers/overridesHelper.ts:331</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L93">src/test/utils/helpers/overridesHelper.ts:93</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L82">src/test/utils/helpers/overridesHelper.ts:82</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 18:01:18 +01: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-09-28 16:26:07 +01:00
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L27">src/test/utils/helpers/overridesHelper.ts:27</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><a href="test_utils_helpers_overridesHelper.OverridesHelper.html" class="tsd-signature-type tsd-kind-class">OverridesHelper</a><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 18:01:18 +01: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>
</div><div class="tsd-comment tsd-typography"></div></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><p>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L71">src/test/utils/helpers/overridesHelper.ts:71</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L49">src/test/utils/helpers/overridesHelper.ts:49</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L107">src/test/utils/helpers/overridesHelper.ts:107</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L38">src/test/utils/helpers/overridesHelper.ts:38</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 18:01:18 +01: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-09-28 16:26:07 +01: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/3a5f3c39cda4a55df93517819a009bf328aacc17/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="variantLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>variant<wbr/>Level</span><a href="#variantLevel" 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="variantLevel.variantLevel-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">variant<wbr/>Level</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="#variantLevel.variantLevel-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-09-27 22:52:07 +01: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>
2024-09-28 16:26:07 +01: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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L340">src/test/utils/helpers/overridesHelper.ts:340</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 18:01:18 +01: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>
</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>this</p>
2024-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/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="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 22:52:07 +01: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-09-28 16:26:07 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/test/utils/helpers/overridesHelper.ts#L60">src/test/utils/helpers/overridesHelper.ts:60</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="#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></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#ability" class=""><svg class="tsd-kind-