if the MoveAttr also comes with a condition, also adds that to the conditions array: <ahref="data_move.MoveCondition.html"class="tsd-kind-class"><code>MoveCondition</code></a>
Almost identical to <ahref="data_move.default.html#attr"class="tsd-kind-method">attr</a>, except you are passing in a MoveAttr object, instead of a constructor and it's arguments</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">attrAdd</span>: <ahref="data_move.MoveAttr.html"class="tsd-signature-type tsd-kind-class">MoveAttr</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.MoveAttr.html"class="tsd-kind-class"><code>MoveAttr</code></a> the attribute to add</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>the called object <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L238">src/data/move.ts:238</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="applyConditions"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Conditions</span><ahref="#applyConditions"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="applyConditions.applyConditions-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Conditions</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyConditions.applyConditions-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 each <ahref="data_move.MoveCondition.html"class="tsd-kind-class"><code>MoveCondition</code></a> function of this move to the params, determines if the move can be used prior to calling each attribute's apply()</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>boolean: false if any of the apply()'s return false, else true</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L658">src/data/move.ts:658</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="attr"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>attr</span><ahref="#attr"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="attr.attr-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">attr</span><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="data_move.default.html#attr.attr-1.T">T</a><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">AttrType</span>, <spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">args</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#attr.attr-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>Adds a new MoveAttr to the move (appends to the attr array)
if the MoveAttr also comes with a condition, also adds that to the conditions array: <ahref="data_move.MoveCondition.html"class="tsd-kind-class"><code>MoveCondition</code></a></p>
</div><sectionclass="tsd-panel"><h4>Type Parameters</h4><ulclass="tsd-type-parameter-list"><li><span><aid="attr.attr-1.T"class="tsd-anchor"></a><spanclass="tsd-kind-type-parameter">T</span><spanclass="tsd-signature-keyword"> extends </span><ahref="../types/utils.Constructor.html"class="tsd-signature-type tsd-kind-type-alias">Constructor</a><spanclass="tsd-signature-symbol"><</span><ahref="data_move.MoveAttr.html"class="tsd-signature-type tsd-kind-class">MoveAttr</a><spanclass="tsd-signature-symbol">></span></span></li></ul></section><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">AttrType</span>: <aclass="tsd-signature-type tsd-kind-type-parameter"href="data_move.AttackMove.html#attr.attr-1.T">T</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.MoveAttr.html"class="tsd-kind-class"><code>MoveAttr</code></a> the constructor of a MoveAttr class</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">args</span>: <spanclass="tsd-signature-type">ConstructorParameters</span><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="data_move.AttackMove.html#attr.attr-1.T">T</a><spanclass="tsd-signature-symbol">></span></span><divclass="tsd-comment tsd-typography"><p>the args needed to instantiate a the given class</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L217">src/data/move.ts:217</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="ballBombMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>ball<wbr/>Bomb<wbr/>Move</span><ahref="#ballBombMove"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="ballBombMove.ballBombMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">ball<wbr/>Bomb<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#ballBombMove.ballBombMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#BALLBOMB_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.BALLBOMB_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L531">src/data/move.ts:531</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="bitingMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>biting<wbr/>Move</span><ahref="#bitingMove"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="bitingMove.bitingMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">biting<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#bitingMove.bitingMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#BITING_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.BITING_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L481">src/data/move.ts:481</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="calculateBattleAccuracy"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>calculate<wbr/>Battle<wbr/>Accuracy</span><ahref="#calculateBattleAccuracy"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="calculateBattleAccuracy.calculateBattleAccuracy-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">calculate<wbr/>Battle<wbr/>Accuracy</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">simulated</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#calculateBattleAccuracy.calculateBattleAccuracy-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>Calculates the accuracy of a move in battle based on various conditions and attributes.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> The Pokémon using the move.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> The Pokémon being targeted by the move.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L732">src/data/move.ts:732</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="calculateBattlePower"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>calculate<wbr/>Battle<wbr/>Power</span><ahref="#calculateBattlePower"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="calculateBattlePower.calculateBattlePower-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">calculate<wbr/>Battle<wbr/>Power</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">simulated</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#calculateBattlePower.calculateBattlePower-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>Calculates the power of a move in battle based on various conditions and attributes.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">source</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> The Pokémon using the move.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> The Pokémon being targeted by the move.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">simulated</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = false</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><p>The calculated power of the move.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L770">src/data/move.ts:770</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="checkAllHits"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>check<wbr/>All<wbr/>Hits</span><ahref="#checkAllHits"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="checkAllHits.checkAllHits-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">check<wbr/>All<wbr/>Hits</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#checkAllHits.checkAllHits-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>Sets the <ahref="../enums/data_move.MoveFlags.html#CHECK_ALL_HITS"class="tsd-kind-enum-member"><code>MoveFlags.CHECK_ALL_HITS</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L591">src/data/move.ts:591</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="checkFlag"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>check<wbr/>Flag</span><ahref="#checkFlag"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="checkFlag.checkFlag-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">check<wbr/>Flag</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">flag</span>, <spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#checkFlag.checkFlag-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>Checks if the move flag applies to the pokemon(s) using/receiving the move</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">flag</span>: <ahref="../enums/data_move.MoveFlags.html"class="tsd-signature-type tsd-kind-enum">MoveFlags</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../enums/data_move.MoveFlags.html"class="tsd-kind-enum"><code>MoveFlags</code></a> MoveFlag to check on user and/or target</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> the Pokemon using the move</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L623">src/data/move.ts:623</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="condition"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>condition</span><ahref="#condition"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="condition.condition-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">condition</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">condition</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#condition.condition-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>Adds a move condition to the move</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">condition</span>: <ahref="data_move.MoveCondition.html"class="tsd-signature-type tsd-kind-class">MoveCondition</a><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">MoveConditionFunc</span></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.MoveCondition.html"class="tsd-kind-class"><code>MoveCondition</code></a> or MoveConditionFunc, appends to conditions array a new MoveCondition object</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>the called object <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L366">src/data/move.ts:366</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="danceMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>dance<wbr/>Move</span><ahref="#danceMove"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="danceMove.danceMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">dance<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#danceMove.danceMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#DANCE_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.DANCE_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L551">src/data/move.ts:551</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="edgeCase"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>edge<wbr/>Case</span><ahref="#edgeCase"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="edgeCase.edgeCase-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">edge<wbr/>Case</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#edgeCase.edgeCase-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>Internal dev flag for documenting edge cases. When using this, please document the known edge case.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>the called object <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L379">src/data/move.ts:379</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="findAttr"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>find<wbr/>Attr</span><ahref="#findAttr"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="findAttr.findAttr-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">find<wbr/>Attr</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">attrPredicate</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_move.MoveAttr.html"class="tsd-signature-type tsd-kind-class">MoveAttr</a><ahref="#findAttr.findAttr-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>Takes as input a boolean function and returns the first MoveAttr in attrs that matches true</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">attrPredicate</span>: <spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">attr</span><spanclass="tsd-signature-symbol">: </span><ahref="data_move.MoveAttr.html"class="tsd-signature-type tsd-kind-class">MoveAttr</a><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol"> =></span><spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol">)</span></span><divclass="tsd-comment tsd-typography"></div><ulclass="tsd-parameters"><liclass="tsd-parameter-signature"><ulclass="tsd-signatures"><liclass="tsd-signature"><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">attr</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">attr</span>: <ahref="data_move.MoveAttr.html"class="tsd-signature-type tsd-kind-class">MoveAttr</a></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4class="tsd-returns-title">Returns <ahref="data_move.MoveAttr.html"class="tsd-signature-type tsd-kind-class">MoveAttr</a></h4><p>the first <ahref="data_move.MoveAttr.html"class="tsd-kind-class"><code>MoveAttr</code></a> element in attrs that makes the input function return true</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <aclass="tsd-signature-type tsd-kind-type-parameter"href="data_move.AttackMove.html#getAttrs.getAttrs-1.T-1">T</a><spanclass="tsd-signature-symbol">[]</span></h4><p>Array of attributes that match <code>attrType</code>, Empty Array if none match.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L188">src/data/move.ts:188</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getFailedText"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Failed<wbr/>Text</span><ahref="#getFailedText"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="getFailedText.getFailedText-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Failed<wbr/>Text</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">cancelled</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">string</span><ahref="#getFailedText.getFailedText-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>Sees if, given the target pokemon, a move fails on it (by looking at each <ahref="data_move.MoveAttr.html"class="tsd-kind-class"><code>MoveAttr</code></a> of this move</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> receiving the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="data_move.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">cancelled</span>: <ahref="utils.BooleanHolder.html"class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.BooleanHolder.html"class="tsd-kind-class"><code>Utils.BooleanHolder</code></a> to hold boolean value</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">string</span></h4><p>string of the failed text, or null</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L676">src/data/move.ts:676</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getTargetBenefitScore"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Target<wbr/>Benefit<wbr/>Score</span><ahref="#getTargetBenefitScore"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="getTargetBenefitScore.getTargetBenefitScore-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Target<wbr/>Benefit<wbr/>Score</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#getTargetBenefitScore.getTargetBenefitScore-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>Calculates the targetBenefitScore across all the attributes</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> receiving the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="data_move.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><p>integer representing the total benefitScore</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L714">src/data/move.ts:714</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getUserBenefitScore"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Benefit<wbr/>Score</span><ahref="#getUserBenefitScore"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="getUserBenefitScore.getUserBenefitScore-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>User<wbr/>Benefit<wbr/>Score</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">move</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#getUserBenefitScore.getUserBenefitScore-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>Calculates the userBenefitScore across all the attributes and conditions</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> receiving the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="data_move.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> using the move</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><p>integer representing the total benefitScore</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L693">src/data/move.ts:693</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="hasAttr"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>has<wbr/>Attr</span><ahref="#hasAttr"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="hasAttr.hasAttr-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">has<wbr/>Attr</span><spanclass="tsd-signature-symbol"><</span><aclass="tsd-signature-type tsd-kind-type-parameter"href="data_move.default.html#hasAttr.hasAttr-1.T-2">T</a><spanclass="tsd-signature-symbol">></span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">attrType</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#hasAttr.hasAttr-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 if a move has an attribute that matches <code>attrType</code></p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if the move has attribute <code>attrType</code></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L197">src/data/move.ts:197</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="hasFlag"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>has<wbr/>Flag</span><ahref="#hasFlag"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="hasFlag.hasFlag-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">has<wbr/>Flag</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">flag</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#hasFlag.hasFlag-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>Getter function that returns if this Move has a MoveFlag</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L266">src/data/move.ts:266</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="hidesTarget"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>hides<wbr/>Target</span><ahref="#hidesTarget"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="hidesTarget.hidesTarget-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">hides<wbr/>Target</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#hidesTarget.hidesTarget-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>Sets the <ahref="../enums/data_move.MoveFlags.html#HIDE_TARGET"class="tsd-kind-enum-member"><code>MoveFlags.HIDE_TARGET</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L471">src/data/move.ts:471</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="hidesUser"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>hides<wbr/>User</span><ahref="#hidesUser"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="hidesUser.hidesUser-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">hides<wbr/>User</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#hidesUser.hidesUser-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>Sets the <ahref="../enums/data_move.MoveFlags.html#HIDE_USER"class="tsd-kind-enum-member"><code>MoveFlags.HIDE_USER</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L461">src/data/move.ts:461</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="hitsSubstitute"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>hits<wbr/>Substitute</span><ahref="#hitsSubstitute"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="hitsSubstitute.hitsSubstitute-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">hits<wbr/>Substitute</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#hitsSubstitute.hitsSubstitute-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>Checks if the move would hit its target's Substitute instead of the target itself.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p>The <ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> using this move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p>The <ahref="field_pokemon.default.html"class="tsd-kind-class"><code>Pokemon</code></a> targeted by this move</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 the move can bypass the target's Substitute; <code>false</code> otherwise.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L346">src/data/move.ts:346</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="ignoresAbilities"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>ignores<wbr/>Abilities</span><ahref="#ignoresAbilities"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="ignoresAbilities.ignoresAbilities-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">ignores<wbr/>Abilities</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#ignoresAbilities.ignoresAbilities-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>Sets the <ahref="../enums/data_move.MoveFlags.html#IGNORE_ABILITIES"class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_ABILITIES</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L581">src/data/move.ts:581</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="ignoresProtect"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>ignores<wbr/>Protect</span><ahref="#ignoresProtect"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="ignoresProtect.ignoresProtect-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">ignores<wbr/>Protect</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#ignoresProtect.ignoresProtect-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>Sets the <ahref="../enums/data_move.MoveFlags.html#IGNORE_PROTECT"class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_PROTECT</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L431">src/data/move.ts:431</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="ignoresSubstitute"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>ignores<wbr/>Substitute</span><ahref="#ignoresSubstitute"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="ignoresSubstitute.ignoresSubstitute-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">ignores<wbr/>Substitute</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#ignoresSubstitute.ignoresSubstitute-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>Sets the <ahref="../enums/data_move.MoveFlags.html#IGNORE_SUBSTITUTE"class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_SUBSTITUTE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L601">src/data/move.ts:601</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="ignoresVirtual"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>ignores<wbr/>Virtual</span><ahref="#ignoresVirtual"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="ignoresVirtual.ignoresVirtual-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">ignores<wbr/>Virtual</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#ignoresVirtual.ignoresVirtual-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>Sets the <ahref="../enums/data_move.MoveFlags.html#IGNORE_VIRTUAL"class="tsd-kind-enum-member"><code>MoveFlags.IGNORE_VIRTUAL</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L441">src/data/move.ts:441</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isAllyTarget"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Ally<wbr/>Target</span><ahref="#isAllyTarget"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="isAllyTarget.isAllyTarget-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Ally<wbr/>Target</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isAllyTarget.isAllyTarget-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>Getter function that returns if the move targets the user or its ally</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L275">src/data/move.ts:275</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isTypeImmune"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Type<wbr/>Immune</span><ahref="#isTypeImmune"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="isTypeImmune.isTypeImmune-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Type<wbr/>Immune</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">user</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">type</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isTypeImmune.isTypeImmune-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>Checks if the move is immune to certain types.
Currently looks at cases of Grass types with powder moves and Dark types with moves affected by Prankster.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">user</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p>the source of this move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">target</span>: <ahref="field_pokemon.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p>the target of this move</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">type</span>: <ahref="../enums/data_type.Type.html"class="tsd-signature-type tsd-kind-enum">Type</a></span><divclass="tsd-comment tsd-typography"><p>the type of the move's target</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L320">src/data/move.ts:320</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="localize"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>localize</span><ahref="#localize"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="localize.localize-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">localize</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#localize.localize-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>Implementation of <ahref="../interfaces/interfaces_locales.Localizable.html">Localizable</a>.<ahref="../interfaces/interfaces_locales.Localizable.html#localize">localize</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L176">src/data/move.ts:176</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="makesContact"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>makes<wbr/>Contact</span><ahref="#makesContact"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="makesContact.makesContact-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">makes<wbr/>Contact</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">setFlag</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#makesContact.makesContact-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>Sets the <ahref="../enums/data_move.MoveFlags.html#MAKES_CONTACT"class="tsd-kind-enum-member"><code>MoveFlags.MAKES_CONTACT</code></a> flag for the calling Move</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">setFlag</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = true</span></span><divclass="tsd-comment tsd-typography"><p>Default <code>true</code>, set to <code>false</code> if the move doesn't make contact</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L421">src/data/move.ts:421</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="partial"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>partial</span><ahref="#partial"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="partial.partial-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">partial</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#partial.partial-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>Marks the move as "partial": appends texts to the move name</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>the called object <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L387">src/data/move.ts:387</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="powderMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>powder<wbr/>Move</span><ahref="#powderMove"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="powderMove.powderMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">powder<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#powderMove.powderMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#POWDER_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.POWDER_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L541">src/data/move.ts:541</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="pulseMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>pulse<wbr/>Move</span><ahref="#pulseMove"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="pulseMove.pulseMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">pulse<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#pulseMove.pulseMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#PULSE_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.PULSE_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L491">src/data/move.ts:491</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="punchingMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>punching<wbr/>Move</span><ahref="#punchingMove"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="punchingMove.punchingMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">punching<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#punchingMove.punchingMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#PUNCHING_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.PUNCHING_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L501">src/data/move.ts:501</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="recklessMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>reckless<wbr/>Move</span><ahref="#recklessMove"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="recklessMove.recklessMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">reckless<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#recklessMove.recklessMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#RECKLESS_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.RECKLESS_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L521">src/data/move.ts:521</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="redirectCounter"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>redirect<wbr/>Counter</span><ahref="#redirectCounter"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="redirectCounter.redirectCounter-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">redirect<wbr/>Counter</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#redirectCounter.redirectCounter-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>Sets the <ahref="../enums/data_move.MoveFlags.html#REDIRECT_COUNTER"class="tsd-kind-enum-member"><code>MoveFlags.REDIRECT_COUNTER</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L611">src/data/move.ts:611</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="slicingMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>slicing<wbr/>Move</span><ahref="#slicingMove"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="slicingMove.slicingMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">slicing<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#slicingMove.slicingMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#SLICING_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.SLICING_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L511">src/data/move.ts:511</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="soundBased"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>sound<wbr/>Based</span><ahref="#soundBased"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="soundBased.soundBased-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">sound<wbr/>Based</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#soundBased.soundBased-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>Sets the <ahref="../enums/data_move.MoveFlags.html#SOUND_BASED"class="tsd-kind-enum-member"><code>MoveFlags.SOUND_BASED</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L451">src/data/move.ts:451</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="target"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>target</span><ahref="#target"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="target.target-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">target</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">moveTarget</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#target.target-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>Sets the move target of this move</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">moveTarget</span>: <ahref="../enums/data_move.MoveTarget.html"class="tsd-signature-type tsd-kind-enum">MoveTarget</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../enums/data_move.MoveTarget.html"class="tsd-kind-enum"><code>MoveTarget</code></a> the move target to set</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>the called object <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L256">src/data/move.ts:256</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="triageMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>triage<wbr/>Move</span><ahref="#triageMove"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="triageMove.triageMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">triage<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#triageMove.triageMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#TRIAGE_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.TRIAGE_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>
</div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L571">src/data/move.ts:571</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="unimplemented"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>unimplemented</span><ahref="#unimplemented"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="unimplemented.unimplemented-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">unimplemented</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#unimplemented.unimplemented-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>Marks the move as "unimplemented": appends texts to the move name</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>the called object <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a></p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b4cc9d7892a7d8b548c857f3acca40d5cf5defba/src/data/move.ts#L396">src/data/move.ts:396</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="windMove"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>wind<wbr/>Move</span><ahref="#windMove"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="windMove.windMove-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">wind<wbr/>Move</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#windMove.windMove-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>Sets the <ahref="../enums/data_move.MoveFlags.html#WIND_MOVE"class="tsd-kind-enum-member"><code>MoveFlags.WIND_MOVE</code></a> flag for the calling Move</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><p>The <ahref="data_move.default.html"class="tsd-kind-class"><code>Move</code></a> that called this function</p>