mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
98 lines
126 KiB
HTML
98 lines
126 KiB
HTML
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EvolutionPhase | PokéRogue</title><link rel="icon" href="../assets/favicon.ico"/><meta name="description" content="Documentation for PokéRogue"/><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><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script><link rel="stylesheet" href="../assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">PokéRogue</a><div id="tsd-toolbar-links"><a href="https://github.com/pagefaultgames/pokerogue">GitHub</a><a href="https://pagefaultgames.github.io/pokerogue/main">Switch to Main</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/src_phases_evolution-phase.html">src/phases/evolution-phase</a></li><li><a href="" aria-current="page">EvolutionPhase</a></li></ul><h1>Class EvolutionPhase</h1></div><section class="tsd-panel tsd-hierarchy" data-refl="49036"><h4>Hierarchy (<a href="../hierarchy.html#src/phases/evolution-phase.EvolutionPhase">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="src_phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">EvolutionPhase</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="src_phases_form-change-phase.FormChangePhase.html" class="tsd-signature-type tsd-kind-class">FormChangePhase</a></li></ul></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L18">src/phases/evolution-phase.ts:18</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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">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="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><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="#cancancel" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>can<wbr/>Cancel</span></a>
|
||
<a href="#evochain" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evo<wbr/>Chain</span></a>
|
||
<a href="#evolution" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution</span></a>
|
||
<a href="#evolutionbasebg" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Base<wbr/>Bg</span></a>
|
||
<a href="#evolutionbg" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Bg</span></a>
|
||
<a href="#evolutionbgm" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Bgm</span></a>
|
||
<a href="#evolutionbgoverlay" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Bg<wbr/>Overlay</span></a>
|
||
<a href="#evolutioncontainer" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Container</span></a>
|
||
<a href="#evolutionhandler" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Handler</span></a>
|
||
<a href="#evolutionoverlay" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Overlay</span></a>
|
||
<a href="#fusionspeciesevolved" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Species<wbr/>Evolved</span></a>
|
||
<a href="#lastlevel" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last<wbr/>Level</span></a>
|
||
<a href="#phasename" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>phase<wbr/>Name</span></a>
|
||
<a href="#pokemon" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon</span></a>
|
||
<a href="#pokemonevosprite" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Evo<wbr/>Sprite</span></a>
|
||
<a href="#pokemonevotintsprite" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Evo<wbr/>Tint<wbr/>Sprite</span></a>
|
||
<a href="#pokemonsprite" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Sprite</span></a>
|
||
<a href="#pokemontintsprite" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Tint<wbr/>Sprite</span></a>
|
||
<a href="#preevolvedpokemonname" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pre<wbr/>Evolved<wbr/>Pokemon<wbr/>Name</span></a>
|
||
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#configuresprite" class="tsd-index-link tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>configure<wbr/>Sprite</span></a>
|
||
<a href="#doarcdownparticle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Arc<wbr/>Down<wbr/>Particle</span></a>
|
||
<a href="#doarcdownward" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Arc<wbr/>Downward</span></a>
|
||
<a href="#docircleinward" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Circle<wbr/>Inward</span></a>
|
||
<a href="#docircleinwardparticle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Circle<wbr/>Inward<wbr/>Particle</span></a>
|
||
<a href="#docycle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Cycle</span></a>
|
||
<a href="#doevolution" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Evolution</span></a>
|
||
<a href="#dospiralupward" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spiral<wbr/>Upward</span></a>
|
||
<a href="#dospiralupwardparticle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spiral<wbr/>Upward<wbr/>Particle</span></a>
|
||
<a href="#dospray" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spray</span></a>
|
||
<a href="#dosprayparticle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spray<wbr/>Particle</span></a>
|
||
<a href="#end" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>end</span></a>
|
||
<a href="#fadeoutevolutionassets" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fade<wbr/>Out<wbr/>Evolution<wbr/>Assets</span></a>
|
||
<a href="#fadeoutpokemonsprite" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fade<wbr/>Out<wbr/>Pokemon<wbr/>Sprite</span></a>
|
||
<a href="#getpokemonsprite" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pokemon<wbr/>Sprite</span></a>
|
||
<a href="#handlefailedevolution" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Failed<wbr/>Evolution</span></a>
|
||
<a href="#handlesuccessevolution" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Success<wbr/>Evolution</span></a>
|
||
<a href="#is" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is</span></a>
|
||
<a href="#onevolutioncomplete" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Evolution<wbr/>Complete</span></a>
|
||
<a href="#playevolutionanimation" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play<wbr/>Evolution<wbr/>Animation</span></a>
|
||
<a href="#postevolve" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>post<wbr/>Evolve</span></a>
|
||
<a href="#prepareforcycle" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prepare<wbr/>For<wbr/>Cycle</span></a>
|
||
<a href="#setmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Mode</span></a>
|
||
<a href="#setupevolutionassets" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setup<wbr/>Evolution<wbr/>Assets</span></a>
|
||
<a href="#setuppokemonsprites" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setup<wbr/>Pokemon<wbr/>Sprites</span></a>
|
||
<a href="#showfailedevolutionui" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Failed<wbr/>Evolution<wbr/>UI</span></a>
|
||
<a href="#showpauseevolutionconfirmation" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Pause<wbr/>Evolution<wbr/>Confirmation</span></a>
|
||
<a href="#start" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start</span></a>
|
||
<a href="#updateevolvedpokemonsprites" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Evolved<wbr/>Pokemon<wbr/>Sprites</span></a>
|
||
<a href="#validate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate</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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorevolutionphase"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">EvolutionPhase</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">evolution</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="src_data_balance_pokemon-evolutions.SpeciesFormEvolution.html" class="tsd-signature-type tsd-kind-class">SpeciesFormEvolution</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">lastLevel</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">canCancel</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">EvolutionPhase</a><a href="#constructorevolutionphase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div 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">pokemon</span>: <a href="src_field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></span><div class="tsd-comment tsd-typography"><p>The Pokemon that is evolving</p>
|
||
</div></li><li><span><span class="tsd-kind-parameter">evolution</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="src_data_balance_pokemon-evolutions.SpeciesFormEvolution.html" class="tsd-signature-type tsd-kind-class">SpeciesFormEvolution</a></span><div class="tsd-comment tsd-typography"><p>The form being evolved into</p>
|
||
</div></li><li><span><span class="tsd-kind-parameter">lastLevel</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The level at which the Pokemon is evolving</p>
|
||
</div></li><li><span><span class="tsd-kind-parameter">canCancel</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether the evolution can be cancelled by the player</p>
|
||
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">EvolutionPhase</a></h4><aside class="tsd-sources"><p>Overrides <a href="src_phase.Phase.html">Phase</a>.<a href="src_phase.Phase.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L54">src/phases/evolution-phase.ts:54</a></li></ul></aside></div></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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="cancancel"><code class="tsd-tag">Protected</code><span>can<wbr/>Cancel</span><a href="#cancancel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">canCancel</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Whether the evolution can be cancelled by the player</p>
|
||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L46">src/phases/evolution-phase.ts:46</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="evochain"><code class="tsd-tag">Protected</code><span>evo<wbr/>Chain</span><a href="#evochain" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evoChain</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">TweenChain</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L25">src/phases/evolution-phase.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="evolution"><code class="tsd-tag">Private</code><span>evolution</span><a href="#evolution" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolution</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="src_data_balance_pokemon-evolutions.SpeciesFormEvolution.html" class="tsd-signature-type tsd-kind-class">SpeciesFormEvolution</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L29">src/phases/evolution-phase.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="evolutionbasebg"><code class="tsd-tag">Protected</code><span>evolution<wbr/>Base<wbr/>Bg</span><a href="#evolutionbasebg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolutionBaseBg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Image</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L36">src/phases/evolution-phase.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="evolutionbg"><code class="tsd-tag">Protected</code><span>evolution<wbr/>Bg</span><a href="#evolutionbg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolutionBg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Video</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L37">src/phases/evolution-phase.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="evolutionbgm"><code class="tsd-tag">Private</code><span>evolution<wbr/>Bgm</span><a href="#evolutionbgm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolutionBgm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="../types/src_battle-scene.AnySound.html" class="tsd-signature-type tsd-kind-type-alias">AnySound</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L31">src/phases/evolution-phase.ts:31</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="evolutionbgoverlay"><code class="tsd-tag">Protected</code><span>evolution<wbr/>Bg<wbr/>Overlay</span><a href="#evolutionbgoverlay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolutionBgOverlay</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Rectangle</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L38">src/phases/evolution-phase.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="evolutioncontainer"><code class="tsd-tag">Protected</code><span>evolution<wbr/>Container</span><a href="#evolutioncontainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolutionContainer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><div class="tsd-comment tsd-typography"><p>Container for all assets used by the scene. When the scene is cleared, the children within this are destroyed.</p>
|
||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L35">src/phases/evolution-phase.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="evolutionhandler"><code class="tsd-tag">Private</code><span>evolution<wbr/>Handler</span><a href="#evolutionhandler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolutionHandler</span><span class="tsd-signature-symbol">:</span> <a href="src_ui_handlers_evolution-scene-ui-handler.EvolutionSceneUiHandler.html" class="tsd-signature-type tsd-kind-class">EvolutionSceneUiHandler</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L32">src/phases/evolution-phase.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="evolutionoverlay"><code class="tsd-tag">Protected</code><span>evolution<wbr/>Overlay</span><a href="#evolutionoverlay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">evolutionOverlay</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Rectangle</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L39">src/phases/evolution-phase.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="fusionspeciesevolved"><code class="tsd-tag">Private</code><span>fusion<wbr/>Species<wbr/>Evolved</span><a href="#fusionspeciesevolved" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fusionSpeciesEvolved</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L30">src/phases/evolution-phase.ts:30</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="lastlevel"><code class="tsd-tag">Protected</code><span>last<wbr/>Level</span><a href="#lastlevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">lastLevel</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L23">src/phases/evolution-phase.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="phasename"><code class="tsd-tag">Readonly</code><span>phase<wbr/>Name</span><a href="#phasename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">phaseName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"EvolutionPhase"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"FormChangePhase"</span><span class="tsd-signature-symbol"> = "EvolutionPhase"</span></div><div class="tsd-comment tsd-typography"><p>The string name of the phase, used to identify the phase type for <a href="src_phase.Phase.html#is" class="tsd-kind-method"><code>is</code></a></p>
|
||
</div><aside class="tsd-sources"><p>Overrides <a href="src_phase.Phase.html">Phase</a>.<a href="src_phase.Phase.html#phasename">phaseName</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L21">src/phases/evolution-phase.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="pokemon"><code class="tsd-tag">Protected</code><span>pokemon</span><a href="#pokemon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L22">src/phases/evolution-phase.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="pokemonevosprite"><code class="tsd-tag">Protected</code><span>pokemon<wbr/>Evo<wbr/>Sprite</span><a href="#pokemonevosprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pokemonEvoSprite</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L42">src/phases/evolution-phase.ts:42</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="pokemonevotintsprite"><code class="tsd-tag">Protected</code><span>pokemon<wbr/>Evo<wbr/>Tint<wbr/>Sprite</span><a href="#pokemonevotintsprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pokemonEvoTintSprite</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L43">src/phases/evolution-phase.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="pokemonsprite"><code class="tsd-tag">Protected</code><span>pokemon<wbr/>Sprite</span><a href="#pokemonsprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pokemonSprite</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L40">src/phases/evolution-phase.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="pokemontintsprite"><code class="tsd-tag">Protected</code><span>pokemon<wbr/>Tint<wbr/>Sprite</span><a href="#pokemontintsprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pokemonTintSprite</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L41">src/phases/evolution-phase.ts:41</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="preevolvedpokemonname"><code class="tsd-tag">Private</code><span>pre<wbr/>Evolved<wbr/>Pokemon<wbr/>Name</span><a href="#preevolvedpokemonname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">preEvolvedPokemonName</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L27">src/phases/evolution-phase.ts:27</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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-protected"><h3 class="tsd-anchor-link" id="configuresprite"><code class="tsd-tag">Protected</code><span>configure<wbr/>Sprite</span><a href="#configuresprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-protected"><li class=""><div class="tsd-signature tsd-anchor-link" id="configuresprite-1"><span class="tsd-kind-call-signature">configureSprite</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">sprite</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">setPipeline</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span><a href="#configuresprite-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Configure the sprite, setting its pipeline data</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">pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The pokemon object that the sprite information is configured from</p>
|
||
</div></li><li><span><span class="tsd-kind-parameter">sprite</span>: <span class="tsd-signature-type">Sprite</span></span><div class="tsd-comment tsd-typography"><p>The sprite object to configure</p>
|
||
</div></li><li><span><span class="tsd-kind-parameter">setPipeline</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to also set the pipeline; should be false
|
||
if the sprite is only being updated with new sprite assets</p>
|
||
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Sprite</span></h4><p>The sprite object that was passed in</p>
|
||
<aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L120">src/phases/evolution-phase.ts:120</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="doarcdownparticle"><span>do<wbr/>Arc<wbr/>Down<wbr/>Particle</span><a href="#doarcdownparticle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="doarcdownparticle-1"><span class="tsd-kind-call-signature">doArcDownParticle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trigIndex</span><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 class="tsd-signature-type">void</span><a href="#doarcdownparticle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div 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">trigIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L623">src/phases/evolution-phase.ts:623</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="doarcdownward"><span>do<wbr/>Arc<wbr/>Downward</span><a href="#doarcdownward" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="doarcdownward-1"><span class="tsd-kind-call-signature">doArcDownward</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#doarcdownward-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L489">src/phases/evolution-phase.ts:489</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="docircleinward"><span>do<wbr/>Circle<wbr/>Inward</span><a href="#docircleinward" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="docircleinward-1"><span class="tsd-kind-call-signature">doCircleInward</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#docircleinward-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L547">src/phases/evolution-phase.ts:547</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="docircleinwardparticle"><span>do<wbr/>Circle<wbr/>Inward<wbr/>Particle</span><a href="#docircleinwardparticle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="docircleinwardparticle-1"><span class="tsd-kind-call-signature">doCircleInwardParticle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trigIndex</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">speed</span><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 class="tsd-signature-type">void</span><a href="#docircleinwardparticle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div 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">trigIndex</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">speed</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L656">src/phases/evolution-phase.ts:656</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="docycle"><span>do<wbr/>Cycle</span><a href="#docycle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="docycle-1"><span class="tsd-kind-call-signature">doCycle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cycles</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">lastCycle</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">onComplete</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#docycle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return a tween chain that cycles the evolution sprites</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">cycles</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">lastCycle</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 15</span></span></li><li><span><span class="tsd-kind-parameter">onComplete</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol"> = ...</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L511">src/phases/evolution-phase.ts:511</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="doevolution"><span>do<wbr/>Evolution</span><a href="#doevolution" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="doevolution-1"><span class="tsd-kind-call-signature">doEvolution</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#doevolution-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Show the evolution text and then commence the evolution animation</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L276">src/phases/evolution-phase.ts:276</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dospiralupward"><span>do<wbr/>Spiral<wbr/>Upward</span><a href="#dospiralupward" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dospiralupward-1"><span class="tsd-kind-call-signature">doSpiralUpward</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#dospiralupward-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L471">src/phases/evolution-phase.ts:471</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dospiralupwardparticle"><span>do<wbr/>Spiral<wbr/>Upward<wbr/>Particle</span><a href="#dospiralupwardparticle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dospiralupwardparticle-1"><span class="tsd-kind-call-signature">doSpiralUpwardParticle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trigIndex</span><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 class="tsd-signature-type">void</span><a href="#dospiralupwardparticle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div 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">trigIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L587">src/phases/evolution-phase.ts:587</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dospray"><span>do<wbr/>Spray</span><a href="#dospray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dospray-1"><span class="tsd-kind-call-signature">doSpray</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#dospray-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L568">src/phases/evolution-phase.ts:568</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="dosprayparticle"><span>do<wbr/>Spray<wbr/>Particle</span><a href="#dosprayparticle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="dosprayparticle-1"><span class="tsd-kind-call-signature">doSprayParticle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trigIndex</span><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 class="tsd-signature-type">void</span><a href="#dosprayparticle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div 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">trigIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L688">src/phases/evolution-phase.ts:688</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="end"><span>end</span><a href="#end" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="end-1"><span class="tsd-kind-call-signature">end</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#end-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>End the current phase and start a new one.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from Phase.end</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phase.ts#L9">src/phase.ts:9</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="fadeoutevolutionassets"><code class="tsd-tag">Private</code><span>fade<wbr/>Out<wbr/>Evolution<wbr/>Assets</span><a href="#fadeoutevolutionassets" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="fadeoutevolutionassets-1"><span class="tsd-kind-call-signature">fadeOutEvolutionAssets</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#fadeoutevolutionassets-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Used exclusively by <a href="#handlefailedevolution" class="tsd-kind-method"><code>handleFailedEvolution</code></a> to fade out the evolution sprites and music</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L292">src/phases/evolution-phase.ts:292</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="fadeoutpokemonsprite"><code class="tsd-tag">Private</code><span>fade<wbr/>Out<wbr/>Pokemon<wbr/>Sprite</span><a href="#fadeoutpokemonsprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="fadeoutpokemonsprite-1"><span class="tsd-kind-call-signature">fadeOutPokemonSprite</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#fadeoutpokemonsprite-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div 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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L237">src/phases/evolution-phase.ts:237</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="getpokemonsprite"><code class="tsd-tag">Private</code><span>get<wbr/>Pokemon<wbr/>Sprite</span><a href="#getpokemonsprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="getpokemonsprite-1"><span class="tsd-kind-call-signature">getPokemonSprite</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span><a href="#getpokemonsprite-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Sprite</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L153">src/phases/evolution-phase.ts:153</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="handlefailedevolution"><code class="tsd-tag">Private</code><span>handle<wbr/>Failed<wbr/>Evolution</span><a href="#handlefailedevolution" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="handlefailedevolution-1"><span class="tsd-kind-call-signature">handleFailedEvolution</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#handlefailedevolution-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Fade out the evolution assets, show the failed evolution UI messages, and enqueue the EndEvolutionPhase</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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The evolved Pokemon</p>
|
||
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L370">src/phases/evolution-phase.ts:370</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="handlesuccessevolution"><code class="tsd-tag">Private</code><span>handle<wbr/>Success<wbr/>Evolution</span><a href="#handlesuccessevolution" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="handlesuccessevolution-1"><span class="tsd-kind-call-signature">handleSuccessEvolution</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#handlesuccessevolution-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Handles a successful evolution</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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The evolved Pokemon</p>
|
||
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L459">src/phases/evolution-phase.ts:459</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="is"><span>is</span><a href="#is" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="is-1"><span class="tsd-kind-call-signature">is</span><span class="tsd-signature-symbol"><</span><br/> <a class="tsd-signature-type tsd-kind-type-parameter" href="#isk">K</a> <span class="tsd-signature-keyword">extends</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"AddEnemyBuffModifierPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"AttemptCapturePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"AttemptRunPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"BattleEndPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"BerryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CheckInterludePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CheckStatusEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CheckSwitchPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CommandPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CommonAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"DamageAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"DynamicPhaseMarker"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EggHatchPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EggLapsePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EggSummaryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EndCardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EndEvolutionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EnemyCommandPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EvolutionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ExpPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"FaintPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"FormChangePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"GameOverPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"GameOverModifierRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"HideAbilityPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"HidePartyExpBarPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LearnMovePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LevelCapPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LevelUpPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LoadMoveAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LoginPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MessagePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ModifierRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoneyRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveChargePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveEndPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveHeaderPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MovePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterOptionSelectedPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterBattlePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterBattleStartCleanupPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterRewardsPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostMysteryEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"NewBattlePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"NewBiomeEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"NextEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ObtainStatusEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PartyExpPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PartyHealPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PokemonAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PokemonHealPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PokemonTransformPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PositionalTagPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostGameOverPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostSummonPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostTurnStatusEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"QuietFormChangePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ReloadSessionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ResetStatusPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ReturnPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"RevivalBlessingPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"RibbonModifierRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ScanIvsPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectBiomePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectChallengePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectGenderPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectModifierPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectStarterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectTargetPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShinySparklePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShowAbilityPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShowPartyExpBarPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShowTrainerPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"StatStageChangePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SummonMissingPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SummonPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SwitchBiomePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SwitchPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SwitchSummonPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TeraPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TitlePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ToggleDoublePositionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TrainerVictoryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TurnEndPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TurnInitPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TurnStartPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"UnavailablePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"UnlockPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"VictoryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"WeatherEffectPhase"</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../interfaces/src__types_phase-types.DynamicPhase.html#isk">K</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-kind-parameter">this</span> <span class="tsd-signature-keyword">is</span> <a href="../types/src__types_phase-types.PhaseMap.html" class="tsd-signature-type tsd-kind-type-alias">PhaseMap</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="../interfaces/src__types_phase-types.DynamicPhase.html#isk">K</a><span class="tsd-signature-symbol">]</span><a href="#is-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if the phase is of the given type without requiring <code>instanceof</code>.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span id="isk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"AddEnemyBuffModifierPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"AttemptCapturePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"AttemptRunPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"BattleEndPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"BerryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CheckInterludePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CheckStatusEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CheckSwitchPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CommandPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"CommonAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"DamageAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"DynamicPhaseMarker"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EggHatchPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EggLapsePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EggSummaryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EndCardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EndEvolutionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EnemyCommandPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"EvolutionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ExpPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"FaintPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"FormChangePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"GameOverPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"GameOverModifierRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"HideAbilityPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"HidePartyExpBarPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LearnMovePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LevelCapPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LevelUpPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LoadMoveAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"LoginPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MessagePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ModifierRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoneyRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveChargePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveEndPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MoveHeaderPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MovePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterOptionSelectedPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterBattlePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterBattleStartCleanupPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"MysteryEncounterRewardsPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostMysteryEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"NewBattlePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"NewBiomeEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"NextEncounterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ObtainStatusEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PartyExpPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PartyHealPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PokemonAnimPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PokemonHealPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PokemonTransformPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PositionalTagPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostGameOverPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostSummonPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"PostTurnStatusEffectPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"QuietFormChangePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ReloadSessionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ResetStatusPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ReturnPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"RevivalBlessingPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"RibbonModifierRewardPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ScanIvsPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectBiomePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectChallengePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectGenderPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectModifierPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectStarterPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SelectTargetPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShinySparklePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShowAbilityPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShowPartyExpBarPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ShowTrainerPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"StatStageChangePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SummonMissingPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SummonPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SwitchBiomePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SwitchPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"SwitchSummonPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TeraPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TitlePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"ToggleDoublePositionPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TrainerVictoryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TurnEndPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TurnInitPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"TurnStartPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"UnavailablePhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"UnlockPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"VictoryPhase"</span><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"WeatherEffectPhase"</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="../interfaces/src__types_phase-types.DynamicPhase.html#isk">K</a></span><div class="tsd-comment tsd-typography"><p>The string name of the phase to check.</p>
|
||
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-kind-parameter">this</span> <span class="tsd-signature-keyword">is</span> <a href="../types/src__types_phase-types.PhaseMap.html" class="tsd-signature-type tsd-kind-type-alias">PhaseMap</a><span class="tsd-signature-symbol">[</span><a class="tsd-signature-type tsd-kind-type-parameter" href="../interfaces/src__types_phase-types.DynamicPhase.html#isk">K</a><span class="tsd-signature-symbol">]</span></h4><p>Whether this phase is of the provided type.</p>
|
||
<div class="tsd-comment tsd-typography"><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link" id="remarks">Remarks<a href="#remarks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>This does not check for subclasses! It only checks if the phase is <em>exactly</em> the given type.
|
||
This method exists to avoid circular import issues, as using <code>instanceof</code> would require importing each phase.</p>
|
||
</div></div><aside class="tsd-sources"><p>Inherited from <a href="src_phase.Phase.html">Phase</a>.<a href="src_phase.Phase.html#is">is</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phase.ts#L32">src/phase.ts:32</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="onevolutioncomplete"><code class="tsd-tag">Private</code><span>on<wbr/>Evolution<wbr/>Complete</span><a href="#onevolutioncomplete" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="onevolutioncomplete-1"><span class="tsd-kind-call-signature">onEvolutionComplete</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#onevolutioncomplete-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Fadeout evolution music, play the cry, show the evolution completed text, and end the phase</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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L382">src/phases/evolution-phase.ts:382</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="playevolutionanimation"><code class="tsd-tag">Private</code><span>play<wbr/>Evolution<wbr/>Animation</span><a href="#playevolutionanimation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="playevolutionanimation-1"><span class="tsd-kind-call-signature">playEvolutionAnimation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#playevolutionanimation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds the evolution tween and begins playing it</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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L216">src/phases/evolution-phase.ts:216</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="postevolve"><code class="tsd-tag">Private</code><span>post<wbr/>Evolve</span><a href="#postevolve" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="postevolve-1"><span class="tsd-kind-call-signature">postEvolve</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#postevolve-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div 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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L408">src/phases/evolution-phase.ts:408</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="prepareforcycle"><code class="tsd-tag">Private</code><span>prepare<wbr/>For<wbr/>Cycle</span><a href="#prepareforcycle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="prepareforcycle-1"><span class="tsd-kind-call-signature">prepareForCycle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#prepareforcycle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Prepares the evolution cycle by setting up the tint sprites and starting the cycle</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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L259">src/phases/evolution-phase.ts:259</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setmode"><span>set<wbr/>Mode</span><a href="#setmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setmode-1"><span class="tsd-kind-call-signature">setMode</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#setmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L68">src/phases/evolution-phase.ts:68</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="setupevolutionassets"><code class="tsd-tag">Private</code><span>setup<wbr/>Evolution<wbr/>Assets</span><a href="#setupevolutionassets" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="setupevolutionassets-1"><span class="tsd-kind-call-signature">setupEvolutionAssets</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setupevolutionassets-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Set up the following evolution assets</p>
|
||
<ul>
|
||
<li><a href="#evolutioncontainer" class="tsd-kind-property"><code>evolutionContainer</code></a></li>
|
||
<li><a href="#evolutionbasebg" class="tsd-kind-property"><code>evolutionBaseBg</code></a></li>
|
||
<li><a href="#evolutionbg" class="tsd-kind-property"><code>evolutionBg</code></a></li>
|
||
<li><a href="#evolutionbgoverlay" class="tsd-kind-property"><code>evolutionBgOverlay</code></a></li>
|
||
<li><a href="#evolutionoverlay" class="tsd-kind-property"><code>evolutionOverlay</code></a></li>
|
||
</ul>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L81">src/phases/evolution-phase.ts:81</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="setuppokemonsprites"><code class="tsd-tag">Private</code><span>setup<wbr/>Pokemon<wbr/>Sprites</span><a href="#setuppokemonsprites" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="setuppokemonsprites-1"><span class="tsd-kind-call-signature">setupPokemonSprites</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setuppokemonsprites-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Initialize <a href="#pokemonsprite" class="tsd-kind-property"><code>pokemonSprite</code></a>, <a href="#pokemontintsprite" class="tsd-kind-property"><code>pokemonTintSprite</code></a>, <a href="#pokemonevosprite" class="tsd-kind-property"><code>pokemonEvoSprite</code></a>, and <a href="#pokemonevotintsprite" class="tsd-kind-property"><code>pokemonEvoTintSprite</code></a>
|
||
and add them to the <a href="#evolutioncontainer" class="tsd-kind-property"><code>evolutionContainer</code></a></p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L171">src/phases/evolution-phase.ts:171</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="showfailedevolutionui"><code class="tsd-tag">Private</code><span>show<wbr/>Failed<wbr/>Evolution<wbr/>UI</span><a href="#showfailedevolutionui" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="showfailedevolutionui-1"><span class="tsd-kind-call-signature">showFailedEvolutionUI</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#showfailedevolutionui-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Used exclusively by <a href="#handlefailedevolution" class="tsd-kind-method"><code>handleFailedEvolution</code></a> to show the failed evolution UI messages</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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L336">src/phases/evolution-phase.ts:336</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="showpauseevolutionconfirmation"><code class="tsd-tag">Private</code><span>show<wbr/>Pause<wbr/>Evolution<wbr/>Confirmation</span><a href="#showpauseevolutionconfirmation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="showpauseevolutionconfirmation-1"><span class="tsd-kind-call-signature">showPauseEvolutionConfirmation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">endCallback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#showpauseevolutionconfirmation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Show the confirmation prompt for pausing evolutions</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">endCallback</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span><div class="tsd-comment tsd-typography"><p>The callback to call after either option is selected.
|
||
This should end the evolution phase</p>
|
||
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L311">src/phases/evolution-phase.ts:311</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="start"><span>start</span><a href="#start" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="start-1"><span class="tsd-kind-call-signature">start</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#start-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Start the current phase.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise" class="tsd-signature-type external" target="_blank">Promise</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Overrides <a href="src_phase.Phase.html">Phase</a>.<a href="src_phase.Phase.html#start">start</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L191">src/phases/evolution-phase.ts:191</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><h3 class="tsd-anchor-link" id="updateevolvedpokemonsprites"><code class="tsd-tag">Private</code><span>update<wbr/>Evolved<wbr/>Pokemon<wbr/>Sprites</span><a href="#updateevolvedpokemonsprites" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class=""><div class="tsd-signature tsd-anchor-link" id="updateevolvedpokemonsprites-1"><span class="tsd-kind-call-signature">updateEvolvedPokemonSprites</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolvedPokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#updateevolvedpokemonsprites-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Update the sprites depicting the evolved Pokemon</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">evolvedPokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The evolved Pokemon</p>
|
||
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L208">src/phases/evolution-phase.ts:208</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="validate"><span>validate</span><a href="#validate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="validate-1"><span class="tsd-kind-call-signature">validate</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#validate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/phases/evolution-phase.ts#L64">src/phases/evolution-phase.ts:64</a></li></ul></aside></div></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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>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-private" name="private"/><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>Private</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"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>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="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><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="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#cancancel" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>can<wbr/>Cancel</span></a><a href="#evochain" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evo<wbr/>Chain</span></a><a href="#evolution" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution</span></a><a href="#evolutionbasebg" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Base<wbr/>Bg</span></a><a href="#evolutionbg" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Bg</span></a><a href="#evolutionbgm" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Bgm</span></a><a href="#evolutionbgoverlay" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Bg<wbr/>Overlay</span></a><a href="#evolutioncontainer" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Container</span></a><a href="#evolutionhandler" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Handler</span></a><a href="#evolutionoverlay" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evolution<wbr/>Overlay</span></a><a href="#fusionspeciesevolved" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Species<wbr/>Evolved</span></a><a href="#lastlevel" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last<wbr/>Level</span></a><a href="#phasename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>phase<wbr/>Name</span></a><a href="#pokemon" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon</span></a><a href="#pokemonevosprite" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Evo<wbr/>Sprite</span></a><a href="#pokemonevotintsprite" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Evo<wbr/>Tint<wbr/>Sprite</span></a><a href="#pokemonsprite" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Sprite</span></a><a href="#pokemontintsprite" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Tint<wbr/>Sprite</span></a><a href="#preevolvedpokemonname" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pre<wbr/>Evolved<wbr/>Pokemon<wbr/>Name</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#configuresprite" class="tsd-is-protected"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>configure<wbr/>Sprite</span></a><a href="#doarcdownparticle"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Arc<wbr/>Down<wbr/>Particle</span></a><a href="#doarcdownward"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Arc<wbr/>Downward</span></a><a href="#docircleinward"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Circle<wbr/>Inward</span></a><a href="#docircleinwardparticle"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Circle<wbr/>Inward<wbr/>Particle</span></a><a href="#docycle"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Cycle</span></a><a href="#doevolution"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Evolution</span></a><a href="#dospiralupward"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spiral<wbr/>Upward</span></a><a href="#dospiralupwardparticle"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spiral<wbr/>Upward<wbr/>Particle</span></a><a href="#dospray"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spray</span></a><a href="#dosprayparticle"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>do<wbr/>Spray<wbr/>Particle</span></a><a href="#end" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>end</span></a><a href="#fadeoutevolutionassets" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fade<wbr/>Out<wbr/>Evolution<wbr/>Assets</span></a><a href="#fadeoutpokemonsprite" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fade<wbr/>Out<wbr/>Pokemon<wbr/>Sprite</span></a><a href="#getpokemonsprite" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pokemon<wbr/>Sprite</span></a><a href="#handlefailedevolution" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Failed<wbr/>Evolution</span></a><a href="#handlesuccessevolution" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Success<wbr/>Evolution</span></a><a href="#is" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is</span></a><a href="#onevolutioncomplete" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Evolution<wbr/>Complete</span></a><a href="#playevolutionanimation" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play<wbr/>Evolution<wbr/>Animation</span></a><a href="#postevolve" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>post<wbr/>Evolve</span></a><a href="#prepareforcycle" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prepare<wbr/>For<wbr/>Cycle</span></a><a href="#setmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Mode</span></a><a href="#setupevolutionassets" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setup<wbr/>Evolution<wbr/>Assets</span></a><a href="#setuppokemonsprites" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setup<wbr/>Pokemon<wbr/>Sprites</span></a><a href="#showfailedevolutionui" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Failed<wbr/>Evolution<wbr/>UI</span></a><a href="#showpauseevolutionconfirmation" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Pause<wbr/>Evolution<wbr/>Confirmation</span></a><a href="#start"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>start</span></a><a href="#updateevolvedpokemonsprites" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Evolved<wbr/>Pokemon<wbr/>Sprites</span></a><a href="#validate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/pagefaultgames/pokerogue" class="tsd-nav-link">GitHub</a><a href="https://pagefaultgames.github.io/pokerogue/main" class="tsd-nav-link">Switch to Main</a></nav><nav class="tsd-navigation"><a href="../modules.html">PokéRogue</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with <a href="https://github.com/JulianWowra/typedoc-github-theme" target="_blank">typedoc-github-theme</a></p><p>Copyright <strong>Pagefault Games</strong> 2025</p></footer><div class="overlay"></div></body></html>
|