<!DOCTYPE html><htmlclass="default"lang="en"><head><metacharset="utf-8"/><metahttp-equiv="x-ua-compatible"content="IE=edge"/><title>LowerStarterPointsChallenge | pokemon-rogue-battle</title><metaname="description"content="Documentation for pokemon-rogue-battle"/><metaname="viewport"content="width=device-width, initial-scale=1"/><linkrel="stylesheet"href="../assets/style.css"/><linkrel="stylesheet"href="../assets/highlight.css"/><scriptdefersrc="../assets/main.js"></script><scriptasyncsrc="../assets/icons.js"id="tsd-icons-script"></script><scriptasyncsrc="../assets/search.js"id="tsd-search-script"></script><scriptasyncsrc="../assets/navigation.js"id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme=localStorage.getItem("tsd-theme")||"os";document.body.style.display="none";setTimeout(()=>app?app.showPage():document.body.style.removeProperty("display"),500)</script><headerclass="tsd-page-toolbar"><divclass="tsd-toolbar-contents container"><divclass="table-cell"id="tsd-search"data-base=".."><divclass="field"><labelfor="tsd-search-field"class="tsd-widget tsd-toolbar-icon search no-caption"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-search"></use></svg></label><inputtype="text"id="tsd-search-field"aria-label="Search"/></div><divclass="field"><divid="tsd-toolbar-links"></div></div><ulclass="results"><liclass="state loading">Preparing search index...</li><liclass="state failure">The search index is not available</li></ul><ahref="../index.html"class="title">pokemon-rogue-battle</a></div><divclass="table-cell"id="tsd-widgets"><ahref="#"class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle="menu"aria-label="Menu"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><divclass="container container-main"><divclass="col-content"><divclass="tsd-page-title"><ulclass="tsd-breadcrumb"><li><ahref="../index.html">pokemon-rogue-battle</a></li><li><ahref="../modules/data_challenge.html">data/challenge</a></li><li><ahref="data_challenge.LowerStarterPointsChallenge.html">LowerStarterPointsChallenge</a></li></ul><h1>Class LowerStarterPointsChallenge</h1></div><sectionclass="tsd-panel tsd-comment"><divclass="tsd-comment tsd-typography"><p>Lowers the maximum cost of starters available.</p>
</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/0f6170b3f71ce84d64e407468456d264dbe3628f/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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L338">src/data/challenge.ts:338</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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L379">src/data/challenge.ts:379</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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L348">src/data/challenge.ts:348</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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L391">src/data/challenge.ts:391</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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L358">src/data/challenge.ts:358</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>
</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><li><span><spanclass="tsd-kind-parameter">dexAttr</span>: <ahref="../interfaces/system_game_data.DexAttrProps.html"class="tsd-signature-type tsd-kind-interface">DexAttrProps</a></span><divclass="tsd-comment tsd-typography"><p><ahref="../interfaces/system_game_data.DexAttrProps.html"class="tsd-kind-interface">DexAttrProps</a> The dex attributes of the pokemon.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">soft</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = false</span></span><divclass="tsd-comment tsd-typography"><p>boolean If true, allow it if it could become a valid 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#applyStarterChoice">applyStarterChoice</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L278">src/data/challenge.ts:278</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="applyStarterCost"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Starter<wbr/>Cost</span><ahref="#applyStarterCost"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="applyStarterCost.applyStarterCost-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Starter<wbr/>Cost</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">species</span>, <spanclass="tsd-kind-parameter">cost</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyStarterCost.applyStarterCost-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_COST 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">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>Inherited from <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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L297">src/data/challenge.ts:297</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from <ahref="data_challenge.Challenge.html">Challenge</a>.<ahref="data_challenge.Challenge.html#applyStarterModify">applyStarterModify</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L306">src/data/challenge.ts:306</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="applyStarterPoints"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>apply<wbr/>Starter<wbr/>Points</span><ahref="#applyStarterPoints"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="applyStarterPoints.applyStarterPoints-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">apply<wbr/>Starter<wbr/>Points</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">points</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#applyStarterPoints.applyStarterPoints-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_POINTS 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">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>
</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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L153">src/data/challenge.ts:153</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/0f6170b3f71ce84d64e407468456d264dbe3628f/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/0f6170b3f71ce84d64e407468456d264dbe3628f/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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L183">src/data/challenge.ts:183</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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#getDifficulty">getDifficulty</a></p><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L249">src/data/challenge.ts:249</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited"><aid="getMinDifficulty"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Min<wbr/>Difficulty</span><ahref="#getMinDifficulty"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="getMinDifficulty.getMinDifficulty-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Min<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="#getMinDifficulty.getMinDifficulty-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 minimum difficulty added by 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/0f6170b3f71ce84d64e407468456d264dbe3628f/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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L162">src/data/challenge.ts:162</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><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"><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-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></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">string</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Overrides <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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L714">src/data/challenge.ts:714</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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L135">src/data/challenge.ts:135</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/0f6170b3f71ce84d64e407468456d264dbe3628f/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/0f6170b3f71ce84d64e407468456d264dbe3628f/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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L144">src/data/challenge.ts:144</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/0f6170b3f71ce84d64e407468456d264dbe3628f/src/data/challenge.ts#L126">src/data/challenge.ts:126</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.LowerStarterPointsChallenge.html"class="tsd-signature-type tsd-kind-class">LowerStarterPointsChallenge</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>