163 lines
104 KiB
HTML
163 lines
104 KiB
HTML
<!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>
|
|
</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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L22">src/test/utils/helpers/overridesHelper.ts:22</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>
|
|
</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>
|
|
</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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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#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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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>
|
|
<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#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>
|
|
<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#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>
|
|
<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>
|
|
<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>
|
|
</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/0c920ba195c8fa8470694f5a1f4b3157438aa256/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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L26">src/test/utils/helpers/overridesHelper.ts:26</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/0c920ba195c8fa8470694f5a1f4b3157438aa256/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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L24">src/test/utils/helpers/overridesHelper.ts:24</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L145">src/test/utils/helpers/overridesHelper.ts:145</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 (e.g., single or double).</p>
|
|
</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><a href="../types/overrides.BattleStyle.html" class="tsd-signature-type tsd-kind-type-alias">BattleStyle</a></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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See" class="tsd-anchor"></a>See<a href="#See" 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><a href="../variables/overrides.default.html#__type.BATTLE_TYPE_OVERRIDE" class="tsd-kind-property"><code>Overrides.BATTLE_TYPE_OVERRIDE</code></a></p>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L246">src/test/utils/helpers/overridesHelper.ts:246</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>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L207">src/test/utils/helpers/overridesHelper.ts:207</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>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L192">src/test/utils/helpers/overridesHelper.ts:192</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>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L267">src/test/utils/helpers/overridesHelper.ts:267</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>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L98">src/test/utils/helpers/overridesHelper.ts:98</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>
|
|
</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 <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L359">src/test/utils/helpers/overridesHelper.ts:359</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L289">src/test/utils/helpers/overridesHelper.ts:289</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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L278">src/test/utils/helpers/overridesHelper.ts:278</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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L432">src/test/utils/helpers/overridesHelper.ts:432</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>
|
|
</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 <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L348">src/test/utils/helpers/overridesHelper.ts:348</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L326">src/test/utils/helpers/overridesHelper.ts:326</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L311">src/test/utils/helpers/overridesHelper.ts:311</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L300">src/test/utils/helpers/overridesHelper.ts:300</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>
|
|
</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>
|
|
</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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L409">src/test/utils/helpers/overridesHelper.ts:409</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L257">src/test/utils/helpers/overridesHelper.ts:257</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>
|
|
</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>
|
|
</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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L337">src/test/utils/helpers/overridesHelper.ts:337</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>
|
|
</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 <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L370">src/test/utils/helpers/overridesHelper.ts:370</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L167">src/test/utils/helpers/overridesHelper.ts:167</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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L482">src/test/utils/helpers/overridesHelper.ts:482</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>
|
|
</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 <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L458">src/test/utils/helpers/overridesHelper.ts:458</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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L471">src/test/utils/helpers/overridesHelper.ts:471</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L156">src/test/utils/helpers/overridesHelper.ts:156</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/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="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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L382">src/test/utils/helpers/overridesHelper.ts:382</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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L397">src/test/utils/helpers/overridesHelper.ts:397</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>
|
|
</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"><</span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</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">></span><span class="tsd-signature-symbol">></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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L120">src/test/utils/helpers/overridesHelper.ts:120</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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L109">src/test/utils/helpers/overridesHelper.ts:109</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L88">src/test/utils/helpers/overridesHelper.ts:88</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>
|
|
</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>
|
|
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L33">src/test/utils/helpers/overridesHelper.ts:33</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>
|
|
</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 <span class="tsd-signature-type">this</span></h4><p><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L77">src/test/utils/helpers/overridesHelper.ts:77</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L55">src/test/utils/helpers/overridesHelper.ts:55</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L134">src/test/utils/helpers/overridesHelper.ts:134</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L44">src/test/utils/helpers/overridesHelper.ts:44</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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L443">src/test/utils/helpers/overridesHelper.ts:443</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>
|
|
</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>
|
|
</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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L182">src/test/utils/helpers/overridesHelper.ts:182</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>
|
|
</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><code>this</code></p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/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="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>
|
|
</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>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/test/utils/helpers/overridesHelper.ts#L66">src/test/utils/helpers/overridesHelper.ts:66</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/>Enemy<wbr/>Starting<wbr/>Items</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-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ability</span></a><a href="#battleType" class=""><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="#disableCrits" class=""><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="#disableTrainerWaves" class=""><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><a href="#enableEnemyFusion" class=""><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="#enableStarterFusion" class=""><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><a href="#enableUnlockable" class=""><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><a href="#enemyAbility" class=""><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><a href="#enemyFusionSpecies" class=""><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><a href="#enemyHealthSegments" class=""><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><a href="#enemyHeldItems" class=""><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="#enemyLevel" class=""><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="#enemyMoveset" class=""><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="#enemyPassiveAbility" class=""><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="#enemyShiny" class=""><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><a href="#enemySpecies" class=""><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="#enemyStatusEffect" class=""><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><a href="#itemRewards" class=""><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><a href="#moveset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>moveset</span></a><a href="#mysteryEncounter" class=""><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="#mysteryEncounterChance" class=""><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="#mysteryEncounterTier" class=""><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><a href="#passiveAbility" class=""><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="#seed" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>seed</span></a><a href="#shiny" class=""><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="#shinyVariant" class=""><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><a href="#starterForms" class=""><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="#starterFusionSpecies" class=""><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><a href="#starterSpecies" class=""><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="#startingBiome" class=""><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="#startingHeldItems" class=""><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="#startingLevel" class=""><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="#startingModifier" class=""><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="#startingWave" class=""><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="#statusActivation" class=""><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><a href="#statusEffect" class=""><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="#weather" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>weather</span></a><a href="#xpMultiplier" class=""><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></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>pokemon-rogue-battle</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|