</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">Number</span></span><divclass="tsd-comment tsd-typography"><p>Number The current wave index.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">battleConfig</span>: <ahref="battle.FixedBattleConfig.html"class="tsd-signature-type tsd-kind-class">FixedBattleConfig</a></span><divclass="tsd-comment tsd-typography"><p><ahref="battle.FixedBattleConfig.html"class="tsd-kind-class">FixedBattleConfig</a> The battle config to modify.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyFixedBattle">applyFixedBattle</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L326">src/data/challenge.ts:326</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyGameModeModify"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Game<wbr/>Mode<wbr/>Modify</span><ahref="#applyGameModeModify"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="applyGameModeModify.applyGameModeModify-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Game<wbr/>Mode<wbr/>Modify</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameMode</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyGameModeModify.applyGameModeModify-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>An apply function for GAME_MODE_MODIFY challenges. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">gameMode</span>: <ahref="game_mode.GameMode.html"class="tsd-signature-type tsd-kind-class">GameMode</a></span><divclass="tsd-comment tsd-typography"><p><ahref="game_mode.GameMode.html"class="tsd-kind-class">GameMode</a> The current game mode.</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 Whether this function did anything.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">level</span>: <ahref="utils.IntegerHolder.html"class="tsd-signature-type tsd-kind-class">IntegerHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.IntegerHolder.html"class="tsd-kind-class">Utils.IntegerHolder</a> The generated level.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">levelCap</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Number The current level cap.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isTrainer</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Boolean Whether this is a trainer pokemon.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isBoss</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Boolean Whether this is a non-trainer boss pokemon.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyLevelChange">applyLevelChange</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L347">src/data/challenge.ts:347</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyMoveAccessLevel"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Move<wbr/>Access<wbr/>Level</span><ahref="#applyMoveAccessLevel"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="applyMoveAccessLevel.applyMoveAccessLevel-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Move<wbr/>Access<wbr/>Level</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">moveSource</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">level</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyMoveAccessLevel.applyMoveAccessLevel-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>An apply function for MOVE_ACCESS. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</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">Pokemon</a> What pokemon would learn the move.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">moveSource</span>: <ahref="../enums/data_challenge.MoveSourceType.html"class="tsd-signature-type tsd-kind-enum">MoveSourceType</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../enums/data_challenge.MoveSourceType.html"class="tsd-kind-enum">MoveSourceType</a> What source the pokemon would get the move from.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="../enums/enums_moves.Moves.html"class="tsd-signature-type tsd-kind-enum">Moves</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../enums/enums_moves.Moves.html"class="tsd-kind-enum">Moves</a> The move in question.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">level</span>: <ahref="utils.IntegerHolder.html"class="tsd-signature-type tsd-kind-class">IntegerHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.IntegerHolder.html"class="tsd-kind-class">Utils.IntegerHolder</a> The level threshold for access.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyMoveAccessLevel">applyMoveAccessLevel</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L388">src/data/challenge.ts:388</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyMoveSlot"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Move<wbr/>Slot</span><ahref="#applyMoveSlot"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="applyMoveSlot.applyMoveSlot-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Move<wbr/>Slot</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">moveSlots</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyMoveSlot.applyMoveSlot-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>An apply function for AI_MOVE_SLOTS challenges. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</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">Pokemon</a> The pokemon that is being considered.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">moveSlots</span>: <ahref="utils.IntegerHolder.html"class="tsd-signature-type tsd-kind-class">IntegerHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.IntegerHolder.html"class="tsd-kind-class">Utils.IntegerHolder</a> The amount of move slots.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyMoveSlot">applyMoveSlot</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L357">src/data/challenge.ts:357</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyMoveWeight"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Move<wbr/>Weight</span><ahref="#applyMoveWeight"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="applyMoveWeight.applyMoveWeight-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Move<wbr/>Weight</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">moveSource</span>, <spanclass="tsd-kind-parameter">move</span>, <spanclass="tsd-kind-parameter">level</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyMoveWeight.applyMoveWeight-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>An apply function for MOVE_WEIGHT. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</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">Pokemon</a> What pokemon would learn the move.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">moveSource</span>: <ahref="../enums/data_challenge.MoveSourceType.html"class="tsd-signature-type tsd-kind-enum">MoveSourceType</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../enums/data_challenge.MoveSourceType.html"class="tsd-kind-enum">MoveSourceType</a> What source the pokemon would get the move from.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">move</span>: <ahref="../enums/enums_moves.Moves.html"class="tsd-signature-type tsd-kind-enum">Moves</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../enums/enums_moves.Moves.html"class="tsd-kind-enum">Moves</a> The move in question.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">level</span>: <ahref="utils.IntegerHolder.html"class="tsd-signature-type tsd-kind-class">IntegerHolder</a></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>boolean Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyMoveWeight">applyMoveWeight</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L400">src/data/challenge.ts:400</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyPassiveAccess"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Passive<wbr/>Access</span><ahref="#applyPassiveAccess"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="applyPassiveAccess.applyPassiveAccess-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Passive<wbr/>Access</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">hasPassive</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyPassiveAccess.applyPassiveAccess-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>An apply function for PASSIVE_ACCESS challenges. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</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">Pokemon</a> The pokemon to change.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">hasPassive</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">Utils.BooleanHolder</a> Whether it should have its passive.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyPassiveAccess">applyPassiveAccess</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L367">src/data/challenge.ts:367</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyPokemonInBattle"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Pokemon<wbr/>In<wbr/>Battle</span><ahref="#applyPokemonInBattle"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="applyPokemonInBattle.applyPokemonInBattle-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Pokemon<wbr/>In<wbr/>Battle</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">valid</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyPokemonInBattle.applyPokemonInBattle-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>An apply function for POKEMON_IN_BATTLE challenges. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</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">Pokemon</a> The pokemon to check the validity of.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">valid</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">Utils.BooleanHolder</a> A BooleanHolder, the value gets set to false if the pokemon isn't allowed.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyPokemonInBattle">applyPokemonInBattle</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L316">src/data/challenge.ts:316</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="applyStarterChoice"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Starter<wbr/>Choice</span><ahref="#applyStarterChoice"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="applyStarterChoice.applyStarterChoice-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Starter<wbr/>Choice</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span>, <spanclass="tsd-kind-parameter">valid</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyStarterChoice.applyStarterChoice-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>An apply function for STARTER_CHOICE challenges. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</span>: <ahref="data_pokemon_species.default.html"class="tsd-signature-type tsd-kind-class">default</a></span><divclass="tsd-comment tsd-typography"><p><ahref="data_pokemon_species.default.html"class="tsd-kind-class">PokemonSpecies</a> The pokemon to check the validity of.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">valid</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">Utils.BooleanHolder</a> A BooleanHolder, the value gets set to false if the pokemon isn't allowed.</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 Whether this function did anything.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">species</span>: <ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../enums/enums_species.Species.html"class="tsd-kind-enum">Species</a> The pokemon to change the cost of.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">cost</span>: <ahref="utils.NumberHolder.html"class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.NumberHolder.html"class="tsd-kind-class">Utils.NumberHolder</a> The cost of the starter.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Overrides <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyStarterCost">applyStarterCost</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L638">src/data/challenge.ts:638</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="applyStarterModify"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Starter<wbr/>Modify</span><ahref="#applyStarterModify"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="applyStarterModify.applyStarterModify-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Starter<wbr/>Modify</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">pokemon</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyStarterModify.applyStarterModify-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>An apply function for STARTER_MODIFY challenges. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">pokemon</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">Pokemon</a> The starter pokemon to modify.</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 Whether this function did anything.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">points</span>: <ahref="utils.NumberHolder.html"class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.NumberHolder.html"class="tsd-kind-class">Utils.NumberHolder</a> The amount of points you have available.</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 Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyStarterPoints">applyStarterPoints</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L287">src/data/challenge.ts:287</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyTypeEffectiveness"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Type<wbr/>Effectiveness</span><ahref="#applyTypeEffectiveness"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="applyTypeEffectiveness.applyTypeEffectiveness-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Type<wbr/>Effectiveness</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">effectiveness</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyTypeEffectiveness.applyTypeEffectiveness-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>An apply function for TYPE_EFFECTIVENESS challenges. Derived classes should alter this.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">effectiveness</span>: <ahref="utils.NumberHolder.html"class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><divclass="tsd-comment tsd-typography"><p><ahref="utils.NumberHolder.html"class="tsd-kind-class"><code>Utils.NumberHolder</code></a> The current effectiveness of the 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>Whether this function did anything.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyTypeEffectiveness">applyTypeEffectiveness</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L335">src/data/challenge.ts:335</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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><ahref="data_challenge.Challenge.html"class="tsd-signature-type tsd-kind-class">Challenge</a><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 an unlock condition to this challenge.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">condition</span>: <spanclass="tsd-signature-type">ChallengeCondition</span></span><divclass="tsd-comment tsd-typography"><p>ChallengeCondition The condition to add.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <ahref="data_challenge.Challenge.html"class="tsd-signature-type tsd-kind-class">Challenge</a></h4><p><ahref="data_challenge.Challenge.html"class="tsd-kind-class">Challenge</a> This challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#condition">condition</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L157">src/data/challenge.ts:157</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="decreaseSeverity"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>decrease<wbr/>Severity</span><ahref="#decreaseSeverity"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="decreaseSeverity.decreaseSeverity-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">decrease<wbr/>Severity</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#decreaseSeverity.decreaseSeverity-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>Decrease the severity of the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#decreaseSeverity">decreaseSeverity</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L225">src/data/challenge.ts:225</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="decreaseValue"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>decrease<wbr/>Value</span><ahref="#decreaseValue"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="decreaseValue.decreaseValue-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">decrease<wbr/>Value</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#decreaseValue.decreaseValue-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>Decrease the value of the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#decreaseValue">decreaseValue</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L206">src/data/challenge.ts:206</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getDescription"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Description</span><ahref="#getDescription"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="getDescription.getDescription-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Description</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">overrideValue</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#getDescription.getDescription-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>Returns the description of a challenge's current value.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag">Optional</code><spanclass="tsd-kind-parameter">overrideValue</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>integer The value to check for. If undefined, gets the current value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">string</span></h4><p>string The localised description for the current value.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#getDescription">getDescription</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L185">src/data/challenge.ts:185</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getDifficulty"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Difficulty</span><ahref="#getDifficulty"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="getDifficulty.getDifficulty-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Difficulty</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#getDifficulty.getDifficulty-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>Gets the "difficulty" value of this challenge.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#getMinDifficulty">getMinDifficulty</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L257">src/data/challenge.ts:257</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getName"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Name</span><ahref="#getName"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="getName.getName-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Name</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#getName.getName-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">string</span></h4><p>string The localised name of this challenge.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#getName">getName</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L166">src/data/challenge.ts:166</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getValue"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Value</span><ahref="#getValue"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="getValue.getValue-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Value</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">overrideValue</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#getValue.getValue-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>Returns the textual representation of a challenge's current value.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag">Optional</code><spanclass="tsd-kind-parameter">overrideValue</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>integer The value to check for. If undefined, gets the current value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">string</span></h4><p>string The localised name for the current value.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#getValue">getValue</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L175">src/data/challenge.ts:175</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="geti18nKey"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>geti18n<wbr/>Key</span><ahref="#geti18nKey"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="geti18nKey.geti18nKey-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">geti18n<wbr/>Key</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">string</span><ahref="#geti18nKey.geti18nKey-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>Gets the localisation key for the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#geti18nKey">geti18nKey</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L139">src/data/challenge.ts:139</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="hasSeverity"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>has<wbr/>Severity</span><ahref="#hasSeverity"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="hasSeverity.hasSeverity-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">has<wbr/>Severity</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#hasSeverity.hasSeverity-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>Whether to allow choosing this challenge's severity.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#hasSeverity">hasSeverity</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L217">src/data/challenge.ts:217</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="increaseSeverity"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>increase<wbr/>Severity</span><ahref="#increaseSeverity"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="increaseSeverity.increaseSeverity-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">increase<wbr/>Severity</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#increaseSeverity.increaseSeverity-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>Increase the severity of the challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#increaseSeverity">increaseSeverity</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L237">src/data/challenge.ts:237</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="increaseValue"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>increase<wbr/>Value</span><ahref="#increaseValue"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="increaseValue.increaseValue-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">increase<wbr/>Value</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#increaseValue.increaseValue-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>Increase the value of the challenge</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">data</span>: <ahref="system_game_data.GameData.html"class="tsd-signature-type tsd-kind-class">GameData</a></span><divclass="tsd-comment tsd-typography"><p><ahref="system_game_data.GameData.html"class="tsd-kind-class">GameData</a> The save data.</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 Whether this challenge is unlocked.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#isUnlocked">isUnlocked</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L148">src/data/challenge.ts:148</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="reset"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>reset</span><ahref="#reset"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="reset.reset-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">reset</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#reset.reset-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>Reset the challenge to a base state.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#reset">reset</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0a4c12387b5992e1f14f53a0f8e6b493a0390ad0/src/data/challenge.ts#L130">src/data/challenge.ts:130</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="loadChallenge"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag">Static</code><span>load<wbr/>Challenge</span><ahref="#loadChallenge"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="loadChallenge.loadChallenge-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">load<wbr/>Challenge</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_challenge.FreshStartChallenge.html"class="tsd-signature-type tsd-kind-class">FreshStartChallenge</a><ahref="#loadChallenge.loadChallenge-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>Clones a challenge, either from another challenge or json. Chainable.</p>