</div></section></div></details></section></section><detailsclass="tsd-panel-group tsd-member-group tsd-accordion"open><summaryclass="tsd-accordion-summary"data-key="section-Constructors"><h2><svgwidth="20"height="20"viewBox="0 0 24 24"fill="none"><usehref="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><sectionclass="tsd-panel tsd-member"><aid="constructor"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>constructor</span><ahref="#constructor"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="constructor.new_MovePhase"class="tsd-anchor"></a><spanclass="tsd-kind-constructor-signature">new <wbr/>Move<wbr/>Phase</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">scene</span>, <spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">targets</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">followUp</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">ignorePp</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="phases_move_phase.MovePhase.html"class="tsd-signature-type tsd-kind-class">MovePhase</a><ahref="#constructor.new_MovePhase"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">scene</span>: <ahref="battle_scene.default.html"class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><spanclass="tsd-kind-parameter">pokemon</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><spanclass="tsd-kind-parameter">targets</span>: <ahref="../enums/battle.BattlerIndex.html"class="tsd-signature-type tsd-kind-enum">BattlerIndex</a><spanclass="tsd-signature-symbol">[]</span></span></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="field_pokemon.PokemonMove.html"class="tsd-signature-type tsd-kind-class">PokemonMove</a></span></li><li><span><spanclass="tsd-kind-parameter">followUp</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = false</span></span><divclass="tsd-comment tsd-typography"><p>Indicates that the move being uses is a "follow-up" - for example, a move being used by Metronome or Dancer.
Follow-ups bypass a few failure conditions, including flinches, sleep/paralysis/freeze and volatile status checks, etc.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">ignoreDisableTags</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = false</span></span><divclass="tsd-comment tsd-typography"><p><code>true</code> to not check if the move is disabled</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p><code>true</code> if all the checks pass</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L103">src/phases/move-phase.ts:103</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="cancel"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>cancel</span><ahref="#cancel"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="cancel.cancel-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">cancel</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#cancel.cancel-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Signifies the current move should cancel and retain PP</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L113">src/phases/move-phase.ts:113</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-protected"><aid="chargeMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Protected</code><span>charge<wbr/>Move</span><ahref="#chargeMove"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-protected"><liclass="tsd-signature tsd-anchor-link"><aid="chargeMove.chargeMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">charge<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#chargeMove.chargeMove-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Queues a <ahref="phases_move_charge_phase.MoveChargePhase.html"class="tsd-kind-class"><code>MoveChargePhase</code></a> for this phase's invoked move.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L367">src/phases/move-phase.ts:367</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="end"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>end</span><ahref="#end"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="end.end-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">end</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#end.end-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Queues a <ahref="phases_move_end_phase.MoveEndPhase.html"class="tsd-kind-class"><code>MoveEndPhase</code></a> if the move wasn't a <ahref="phases_move_phase.MovePhase.html#followUp"class="tsd-kind-property"><code>followUp</code></a> and <ahref="phases_move_phase.MovePhase.html#canMove"class="tsd-kind-method"><code>()</code></a> returns <code>true</code>,
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Overrides <ahref="phases_battle_phase.BattlePhase.html">BattlePhase</a>.<ahref="phases_battle_phase.BattlePhase.html#end">end</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L393">src/phases/move-phase.ts:393</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="fail"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>fail</span><ahref="#fail"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="fail.fail-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">fail</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#fail.fail-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Signifies the current move should fail but still use PP</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L108">src/phases/move-phase.ts:108</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getActiveTargetPokemon"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Active<wbr/>Target<wbr/>Pokemon</span><ahref="#getActiveTargetPokemon"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getActiveTargetPokemon.getActiveTargetPokemon-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Active<wbr/>Target<wbr/>Pokemon</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a><spanclass="tsd-signature-symbol">[]</span><ahref="#getActiveTargetPokemon.getActiveTargetPokemon-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><h4class="tsd-returns-title">Returns <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a><spanclass="tsd-signature-symbol">[]</span></h4><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L182">src/phases/move-phase.ts:182</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getPpIncreaseFromPressure"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Pp<wbr/>Increase<wbr/>From<wbr/>Pressure</span><ahref="#getPpIncreaseFromPressure"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getPpIncreaseFromPressure.getPpIncreaseFromPressure-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Pp<wbr/>Increase<wbr/>From<wbr/>Pressure</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">targets</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#getPpIncreaseFromPressure.getPpIncreaseFromPressure-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Applies PP increasing abilities (currently only <ahref="../enums/enums_abilities.Abilities.html#PRESSURE"class="tsd-kind-enum-member">Pressure</a>) if they exist on the target pokemon.
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">targets</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a><spanclass="tsd-signature-symbol">[]</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L407">src/phases/move-phase.ts:407</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-protected"><aid="handlePreMoveFailures"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Protected</code><span>handle<wbr/>Pre<wbr/>Move<wbr/>Failures</span><ahref="#handlePreMoveFailures"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-protected"><liclass="tsd-signature tsd-anchor-link"><aid="handlePreMoveFailures.handlePreMoveFailures-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">handle<wbr/>Pre<wbr/>Move<wbr/>Failures</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#handlePreMoveFailures.handlePreMoveFailures-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Handles the case where the move was cancelled or failed:</p>
<li>Uses PP if the move failed (not cancelled) and should use PP (failed moves are not affected by <ahref="../enums/enums_abilities.Abilities.html#PRESSURE"class="tsd-kind-enum-member">Pressure</a>)</li>
<li>Records a cancelled OR failed move in move history, so abilities like <ahref="../enums/enums_abilities.Abilities.html#TRUANT"class="tsd-kind-enum-member">Truant</a> don't trigger on the
next turn and soft-lock.</li>
<li>Lapses <code>MOVE_EFFECT</code> tags:
<ul>
<li>
<p>Semi-invulnerable battler tags (Fly/Dive/etc.) are intended to lapse on move effects, but also need
to lapse on move failure/cancellation.</p>
<p>TODO: ...this seems weird.</p>
</li>
</ul>
</li>
<li>Lapses <code>AFTER_MOVE</code> tags:
<ul>
<li>This handles the effects of <ahref="../enums/enums_moves.Moves.html#SUBSTITUTE"class="tsd-kind-enum-member">Substitute</a></li>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L503">src/phases/move-phase.ts:503</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="hideEnemyTrainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>hide<wbr/>Enemy<wbr/>Trainer</span><ahref="#hideEnemyTrainer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited"><liclass="tsd-signature tsd-anchor-link"><aid="hideEnemyTrainer.hideEnemyTrainer-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">hide<wbr/>Enemy<wbr/>Trainer</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#hideEnemyTrainer.hideEnemyTrainer-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><asideclass="tsd-sources"><p>Inherited from <ahref="phases_battle_phase.BattlePhase.html">BattlePhase</a>.<ahref="phases_battle_phase.BattlePhase.html#hideEnemyTrainer">hideEnemyTrainer</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/battle-phase.ts#L37">src/phases/battle-phase.ts:37</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-protected"><aid="lapsePreMoveAndMoveTags"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Protected</code><span>lapse<wbr/>Pre<wbr/>Move<wbr/>And<wbr/>Move<wbr/>Tags</span><ahref="#lapsePreMoveAndMoveTags"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-protected"><liclass="tsd-signature tsd-anchor-link"><aid="lapsePreMoveAndMoveTags.lapsePreMoveAndMoveTags-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">lapse<wbr/>Pre<wbr/>Move<wbr/>And<wbr/>Move<wbr/>Tags</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#lapsePreMoveAndMoveTags.lapsePreMoveAndMoveTags-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Lapse <ahref="../enums/data_battler_tags.BattlerTagLapseType.html#PRE_MOVE"class="tsd-kind-enum-member"><code>PRE_MOVE</code></a> tags that trigger before a move is used, regardless of whether or not it failed.
Also lapse <ahref="../enums/data_battler_tags.BattlerTagLapseType.html#MOVE"class="tsd-kind-enum-member"><code>MOVE</code></a> tags if the move should be successful.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L466">src/phases/move-phase.ts:466</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-protected"><aid="resolveFinalPreMoveCancellationChecks"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Protected</code><span>resolve<wbr/>Final<wbr/>Pre<wbr/>Move<wbr/>Cancellation<wbr/>Checks</span><ahref="#resolveFinalPreMoveCancellationChecks"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-protected"><liclass="tsd-signature tsd-anchor-link"><aid="resolveFinalPreMoveCancellationChecks.resolveFinalPreMoveCancellationChecks-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">resolve<wbr/>Final<wbr/>Pre<wbr/>Move<wbr/>Cancellation<wbr/>Checks</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#resolveFinalPreMoveCancellationChecks.resolveFinalPreMoveCancellationChecks-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Check for cancellation edge cases - no targets remaining, or <ahref="../enums/enums_moves.Moves.html#NONE"class="tsd-kind-enum-member"><code>Moves.NONE</code></a> is in the queue</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L171">src/phases/move-phase.ts:171</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-protected"><aid="resolvePreMoveStatusEffects"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Protected</code><span>resolve<wbr/>Pre<wbr/>Move<wbr/>Status<wbr/>Effects</span><ahref="#resolvePreMoveStatusEffects"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-protected"><liclass="tsd-signature tsd-anchor-link"><aid="resolvePreMoveStatusEffects.resolvePreMoveStatusEffects-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">resolve<wbr/>Pre<wbr/>Move<wbr/>Status<wbr/>Effects</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#resolvePreMoveStatusEffects.resolvePreMoveStatusEffects-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Handles <ahref="../enums/enums_status_effect.StatusEffect.html#SLEEP"class="tsd-kind-enum-member">Sleep</a>/<ahref="../enums/enums_status_effect.StatusEffect.html#PARALYSIS"class="tsd-kind-enum-member">Paralysis</a>/<ahref="../enums/enums_status_effect.StatusEffect.html#FREEZE"class="tsd-kind-enum-member">Freeze</a> rolls and side effects.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dd904fe7827eb2695c5362f0864e32d58df10c6c/src/phases/move-phase.ts#L189">src/phases/move-phase.ts:189</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-protected"><aid="resolveRedirectTarget"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Protected</code><span>resolve<wbr/>Redirect<wbr/>Target</span><ahref="#resolveRedirectTarget"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-protected"><liclass="tsd-signature tsd-anchor-link"><aid="resolveRedirectTarget.resolveRedirectTarget-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">resolve<wbr/>Redirect<wbr/>Target</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#resolveRedirectTarget.resolveRedirectTarget-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Modifies <code>this.targets</code> in place, based upon:</p>
<li>Counterattacks, which pass a special value into the <code>targets</code> constructor param (<code>[</code><ahref="../enums/battle.BattlerIndex.html#ATTACKER"class="tsd-kind-enum-member"><code>BattlerIndex.ATTACKER</code></a><code>]</code>).</li>
the pokemon is on a recharge turn (ie: <ahref="../enums/enums_moves.Moves.html#HYPER_BEAM"class="tsd-kind-enum-member">Hyper Beam</a>), or a 2-turn move was interrupted (ie: <ahref="../enums/enums_moves.Moves.html#FLY"class="tsd-kind-enum-member">Fly</a>).</p>