pokerogue/beta/classes/src_data_challenge.LimitedSupportChallenge.html
2025-09-23 13:50:32 +00:00

173 lines
123 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LimitedSupportChallenge | PokéRogue</title><link rel="icon" href="../assets/favicon.ico"/><meta name="description" content="Documentation for PokéRogue"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script><link rel="stylesheet" href="../assets/typedoc-github-style.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">PokéRogue</a><div id="tsd-toolbar-links"><a href="https://github.com/pagefaultgames/pokerogue">GitHub</a><a href="https://pagefaultgames.github.io/pokerogue/main">Switch to Main</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/src_data_challenge.html">src/data/challenge</a></li><li><a href="" aria-current="page">LimitedSupportChallenge</a></li></ul><h1>Class LimitedSupportChallenge</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Implements a No Support challenge</p>
</div></section><section class="tsd-panel tsd-hierarchy" data-refl="16090"><h4>Hierarchy (<a href="../hierarchy.html#src/data/challenge.LimitedSupportChallenge">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="src_data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">LimitedSupportChallenge</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L1036">src/data/challenge.ts:1036</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#conditions" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>conditions</span></a>
<a href="#id" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a>
<a href="#maxseverity" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Severity</span></a>
<a href="#maxvalue" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Value</span></a>
<a href="#severity" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>severity</span></a>
<a href="#value" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="#ribbonawarded" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ribbon<wbr/>Awarded</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="#applyfixedbattle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Fixed<wbr/>Battle</span></a>
<a href="#applyflipstat" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Flip<wbr/>Stat</span></a>
<a href="#applygamemodemodify" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Game<wbr/>Mode<wbr/>Modify</span></a>
<a href="#applylevelchange" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Level<wbr/>Change</span></a>
<a href="#applymoveaccesslevel" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Move<wbr/>Access<wbr/>Level</span></a>
<a href="#applymoveslot" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Move<wbr/>Slot</span></a>
<a href="#applymoveweight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Move<wbr/>Weight</span></a>
<a href="#applypartyheal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Party<wbr/>Heal</span></a>
<a href="#applypassiveaccess" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Passive<wbr/>Access</span></a>
<a href="#applypokemonaddtoparty" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>Add<wbr/>To<wbr/>Party</span></a>
<a href="#applypokemonfusion" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>Fusion</span></a>
<a href="#applypokemoninbattle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>In<wbr/>Battle</span></a>
<a href="#applypokemonmove" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>Move</span></a>
<a href="#applypreventrevive" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Prevent<wbr/>Revive</span></a>
<a href="#applyshop" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Shop</span></a>
<a href="#applyshopitem" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Shop<wbr/>Item</span></a>
<a href="#applystarterchoice" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Choice</span></a>
<a href="#applystartercost" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Cost</span></a>
<a href="#applystartermodify" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Modify</span></a>
<a href="#applystarterpoints" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Points</span></a>
<a href="#applystarterselectmodify" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Select<wbr/>Modify</span></a>
<a href="#applytypeeffectiveness" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Type<wbr/>Effectiveness</span></a>
<a href="#applywavereward" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Wave<wbr/>Reward</span></a>
<a href="#condition" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>condition</span></a>
<a href="#decreaseseverity" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrease<wbr/>Severity</span></a>
<a href="#decreasevalue" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrease<wbr/>Value</span></a>
<a href="#getdescription" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Description</span></a>
<a href="#getdifficulty" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Difficulty</span></a>
<a href="#geti18nkey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>geti18n<wbr/>Key</span></a>
<a href="#getmindifficulty" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Min<wbr/>Difficulty</span></a>
<a href="#getname" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name</span></a>
<a href="#getvalue" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Value</span></a>
<a href="#hasseverity" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Severity</span></a>
<a href="#increaseseverity" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increase<wbr/>Severity</span></a>
<a href="#increasevalue" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increase<wbr/>Value</span></a>
<a href="#isunlocked" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Unlocked</span></a>
<a href="#reset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a>
<a href="#loadchallenge" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Challenge</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorlimitedsupportchallenge"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">LimitedSupportChallenge</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">LimitedSupportChallenge</a><a href="#constructorlimitedsupportchallenge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">LimitedSupportChallenge</a></h4><aside class="tsd-sources"><p>Overrides <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L1040">src/data/challenge.ts:1040</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="conditions"><span>conditions</span><a href="#conditions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">conditions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ChallengeCondition</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#conditions">conditions</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L50">src/data/challenge.ts:50</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="id"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_challenges.Challenges.html" class="tsd-signature-type tsd-kind-enum">Challenges</a></div><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L43">src/data/challenge.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="maxseverity"><span>max<wbr/>Severity</span><a href="#maxseverity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxSeverity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#maxseverity">maxSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L48">src/data/challenge.ts:48</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="maxvalue"><span>max<wbr/>Value</span><a href="#maxvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxValue</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#maxvalue">maxValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L46">src/data/challenge.ts:46</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="severity"><span>severity</span><a href="#severity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">severity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#severity">severity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L47">src/data/challenge.ts:47</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="value"><span>value</span><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#value">value</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L45">src/data/challenge.ts:45</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Accessors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ribbonawarded"><span>ribbon<wbr/>Awarded</span><a href="#ribbonawarded" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li><div class="tsd-signature" id="ribbonawardedribbonawarded"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">ribbonAwarded</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/src_system_ribbons_ribbon-data.RibbonFlag.html" class="tsd-signature-type tsd-kind-type-alias">RibbonFlag</a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>The Ribbon awarded on challenge completion, or 0 if the challenge has no ribbon or is not enabled</p>
</div><h4 class="tsd-returns-title">Returns <a href="../types/src_system_ribbons_ribbon-data.RibbonFlag.html" class="tsd-signature-type tsd-kind-type-alias">RibbonFlag</a></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-defaultValue"><h4 class="tsd-anchor-link" id="default-value">Default Value<a href="#default-value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-3">0</span>
</code><button type="button">Copy</button></pre>
</div></div><aside class="tsd-sources"><p>Overrides Challenge.ribbonAwarded</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L1037">src/data/challenge.ts:1037</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applyfixedbattle"><span>apply<wbr/>Fixed<wbr/>Battle</span><a href="#applyfixedbattle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applyfixedbattle-1"><span class="tsd-kind-call-signature">applyFixedBattle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_waveIndex</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_battleConfig</span><span class="tsd-signature-symbol">:</span> <a href="src_battle.FixedBattleConfig.html" class="tsd-signature-type tsd-kind-class">FixedBattleConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applyfixedbattle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for FIXED_BATTLE challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_waveIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The current wave index</p>
</div></li><li><span><span class="tsd-kind-parameter">_battleConfig</span>: <a href="src_battle.FixedBattleConfig.html" class="tsd-signature-type tsd-kind-class">FixedBattleConfig</a></span><div class="tsd-comment tsd-typography"><p>The battle config to modify</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applyfixedbattle">applyFixedBattle</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L280">src/data/challenge.ts:280</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applyflipstat"><span>apply<wbr/>Flip<wbr/>Stat</span><a href="#applyflipstat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applyflipstat-1"><span class="tsd-kind-call-signature">applyFlipStat</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_baseStats</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applyflipstat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for FlipStats. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>What Pokémon would learn the move</p>
</div></li><li><span><span class="tsd-kind-parameter">_baseStats</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>What are the stats to flip</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applyflipstat">applyFlipStat</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L363">src/data/challenge.ts:363</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applygamemodemodify"><span>apply<wbr/>Game<wbr/>Mode<wbr/>Modify</span><a href="#applygamemodemodify" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applygamemodemodify-1"><span class="tsd-kind-call-signature">applyGameModeModify</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applygamemodemodify-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for GAME_MODE_MODIFY challenges. Derived classes should alter this.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applygamemodemodify">applyGameModeModify</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L329">src/data/challenge.ts:329</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applylevelchange"><span>apply<wbr/>Level<wbr/>Change</span><a href="#applylevelchange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applylevelchange-1"><span class="tsd-kind-call-signature">applyLevelChange</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">_level</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_levelCap</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_isTrainer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_isBoss</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applylevelchange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for AI_LEVEL challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_level</span>: <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><div class="tsd-comment tsd-typography"><p>The generated level.</p>
</div></li><li><span><span class="tsd-kind-parameter">_levelCap</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The current level cap.</p>
</div></li><li><span><span class="tsd-kind-parameter">_isTrainer</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether this is a trainer Pokémon</p>
</div></li><li><span><span class="tsd-kind-parameter">_isBoss</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether this is a non-trainer boss Pokémon</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><ul>
<li>Whether this function did anything</li>
</ul>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applylevelchange">applyLevelChange</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L301">src/data/challenge.ts:301</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applymoveaccesslevel"><span>apply<wbr/>Move<wbr/>Access<wbr/>Level</span><a href="#applymoveaccesslevel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applymoveaccesslevel-1"><span class="tsd-kind-call-signature">applyMoveAccessLevel</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_moveSource</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_move-source-type.MoveSourceType.html" class="tsd-signature-type tsd-kind-enum">MoveSourceType</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_move</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_move-id.MoveId.html" class="tsd-signature-type tsd-kind-enum">MoveId</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_level</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applymoveaccesslevel-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for MOVE_ACCESS. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>What Pokémon would learn the move</p>
</div></li><li><span><span class="tsd-kind-parameter">_moveSource</span>: <a href="../enums/src_enums_move-source-type.MoveSourceType.html" class="tsd-signature-type tsd-kind-enum">MoveSourceType</a></span><div class="tsd-comment tsd-typography"><p>What source the Pokémon would get the move from</p>
</div></li><li><span><span class="tsd-kind-parameter">_move</span>: <a href="../enums/src_enums_move-id.MoveId.html" class="tsd-signature-type tsd-kind-enum">MoveId</a></span><div class="tsd-comment tsd-typography"><p>The move in question</p>
</div></li><li><span><span class="tsd-kind-parameter">_level</span>: <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><div class="tsd-comment tsd-typography"><p>The level threshold for access</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applymoveaccesslevel">applyMoveAccessLevel</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L341">src/data/challenge.ts:341</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applymoveslot"><span>apply<wbr/>Move<wbr/>Slot</span><a href="#applymoveslot" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applymoveslot-1"><span class="tsd-kind-call-signature">applyMoveSlot</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_moveSlots</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applymoveslot-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for AI_MOVE_SLOTS challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The Pokémon that is being considered</p>
</div></li><li><span><span class="tsd-kind-parameter">_moveSlots</span>: <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><div class="tsd-comment tsd-typography"><p>The amount of move slots</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applymoveslot">applyMoveSlot</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L311">src/data/challenge.ts:311</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applymoveweight"><span>apply<wbr/>Move<wbr/>Weight</span><a href="#applymoveweight" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applymoveweight-1"><span class="tsd-kind-call-signature">applyMoveWeight</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_moveSource</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_move-source-type.MoveSourceType.html" class="tsd-signature-type tsd-kind-enum">MoveSourceType</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_move</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_move-id.MoveId.html" class="tsd-signature-type tsd-kind-enum">MoveId</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_weight</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applymoveweight-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for MOVE_WEIGHT. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>What Pokémon would learn the move</p>
</div></li><li><span><span class="tsd-kind-parameter">_moveSource</span>: <a href="../enums/src_enums_move-source-type.MoveSourceType.html" class="tsd-signature-type tsd-kind-enum">MoveSourceType</a></span><div class="tsd-comment tsd-typography"><p>What source the Pokémon would get the move from</p>
</div></li><li><span><span class="tsd-kind-parameter">_move</span>: <a href="../enums/src_enums_move-id.MoveId.html" class="tsd-signature-type tsd-kind-enum">MoveId</a></span><div class="tsd-comment tsd-typography"><p>The move in question.</p>
</div></li><li><span><span class="tsd-kind-parameter">_weight</span>: <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><div class="tsd-comment tsd-typography"><p>The base weight of the move</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applymoveweight">applyMoveWeight</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L353">src/data/challenge.ts:353</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="applypartyheal"><span>apply<wbr/>Party<wbr/>Heal</span><a href="#applypartyheal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="applypartyheal-1"><span class="tsd-kind-call-signature">applyPartyHeal</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applypartyheal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for PARTY_HEAL. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Overrides <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applypartyheal">applyPartyHeal</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L1044">src/data/challenge.ts:1044</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applypassiveaccess"><span>apply<wbr/>Passive<wbr/>Access</span><a href="#applypassiveaccess" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applypassiveaccess-1"><span class="tsd-kind-call-signature">applyPassiveAccess</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_hasPassive</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applypassiveaccess-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for PASSIVE_ACCESS challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The Pokémon to change</p>
</div></li><li><span><span class="tsd-kind-parameter">_hasPassive</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Whether it should have its passive</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applypassiveaccess">applyPassiveAccess</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L321">src/data/challenge.ts:321</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applypokemonaddtoparty"><span>apply<wbr/>Pokemon<wbr/>Add<wbr/>To<wbr/>Party</span><a href="#applypokemonaddtoparty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applypokemonaddtoparty-1"><span class="tsd-kind-call-signature">applyPokemonAddToParty</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applypokemonaddtoparty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for POKEMON_ADD_TO_PARTY. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a></span><div class="tsd-comment tsd-typography"><p>The Pokémon being caught</p>
</div></li><li><span><span class="tsd-kind-parameter">_status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Whether the Pokémon can be added to the party or not</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applypokemonaddtoparty">applyPokemonAddToParty</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L391">src/data/challenge.ts:391</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applypokemonfusion"><span>apply<wbr/>Pokemon<wbr/>Fusion</span><a href="#applypokemonfusion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applypokemonfusion-1"><span class="tsd-kind-call-signature">applyPokemonFusion</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applypokemonfusion-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for POKEMON_FUSION. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></span><div class="tsd-comment tsd-typography"><p>The Pokémon being checked</p>
</div></li><li><span><span class="tsd-kind-parameter">_status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Whether the selected Pokémon is allowed to fuse or not</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applypokemonfusion">applyPokemonFusion</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L401">src/data/challenge.ts:401</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applypokemoninbattle"><span>apply<wbr/>Pokemon<wbr/>In<wbr/>Battle</span><a href="#applypokemoninbattle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applypokemoninbattle-1"><span class="tsd-kind-call-signature">applyPokemonInBattle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_valid</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applypokemoninbattle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for POKEMON_IN_BATTLE challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The Pokémon to check the validity of</p>
</div></li><li><span><span class="tsd-kind-parameter">_valid</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Holds a boolean that will be set to false if the Pokémon isn't allowed</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applypokemoninbattle">applyPokemonInBattle</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L270">src/data/challenge.ts:270</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applypokemonmove"><span>apply<wbr/>Pokemon<wbr/>Move</span><a href="#applypokemonmove" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applypokemonmove-1"><span class="tsd-kind-call-signature">applyPokemonMove</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_moveId</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_move-id.MoveId.html" class="tsd-signature-type tsd-kind-enum">MoveId</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applypokemonmove-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for POKEMON_MOVE. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_moveId</span>: <a href="../enums/src_enums_move-id.MoveId.html" class="tsd-signature-type tsd-kind-enum">MoveId</a></span><div class="tsd-comment tsd-typography"><p>The <a href="../enums/src_enums_move-id.MoveId.html" class="tsd-kind-enum"><code>MoveId</code></a> being checked</p>
</div></li><li><span><span class="tsd-kind-parameter">_status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>A <a href="src_utils_common.BooleanHolder.html" class="tsd-kind-class"><code>BooleanHolder</code></a> containing the move's usability status</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applypokemonmove">applyPokemonMove</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L411">src/data/challenge.ts:411</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applypreventrevive"><span>apply<wbr/>Prevent<wbr/>Revive</span><a href="#applypreventrevive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applypreventrevive-1"><span class="tsd-kind-call-signature">applyPreventRevive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applypreventrevive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for PREVENT_REVIVE. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Whether fainting is a permanent status or not</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applypreventrevive">applyPreventRevive</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L440">src/data/challenge.ts:440</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="applyshop"><span>apply<wbr/>Shop</span><a href="#applyshop" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="applyshop-1"><span class="tsd-kind-call-signature">applyShop</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applyshop-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for SHOP. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Overrides <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applyshop">applyShop</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L1052">src/data/challenge.ts:1052</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applyshopitem"><span>apply<wbr/>Shop<wbr/>Item</span><a href="#applyshopitem" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applyshopitem-1"><span class="tsd-kind-call-signature">applyShopItem</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">_shopItem</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="src_modifier_modifier-type.ModifierTypeOption.html" class="tsd-signature-type tsd-kind-class">ModifierTypeOption</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applyshopitem-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for SHOP_ITEM. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_shopItem</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="src_modifier_modifier-type.ModifierTypeOption.html" class="tsd-signature-type tsd-kind-class">ModifierTypeOption</a></span><div class="tsd-comment tsd-typography"><p>The item being checked</p>
</div></li><li><span><span class="tsd-kind-parameter">_status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Whether the item should be added to the shop or not</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applyshopitem">applyShopItem</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L421">src/data/challenge.ts:421</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applystarterchoice"><span>apply<wbr/>Starter<wbr/>Choice</span><a href="#applystarterchoice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applystarterchoice-1"><span class="tsd-kind-call-signature">applyStarterChoice</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_data_pokemon-species.PokemonSpecies.html" class="tsd-signature-type tsd-kind-class">PokemonSpecies</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_valid</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_dexAttr</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/src__types_save-data.DexAttrProps.html" class="tsd-signature-type tsd-kind-interface">DexAttrProps</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applystarterchoice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for STARTER_CHOICE challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_data_pokemon-species.PokemonSpecies.html" class="tsd-signature-type tsd-kind-class">PokemonSpecies</a></span><div class="tsd-comment tsd-typography"><p>The Pokémon to check the validity of</p>
</div></li><li><span><span class="tsd-kind-parameter">_valid</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Holder for whether the Pokémon is valid or not</p>
</div></li><li><span><span class="tsd-kind-parameter">_dexAttr</span>: <a href="../interfaces/src__types_save-data.DexAttrProps.html" class="tsd-signature-type tsd-kind-interface">DexAttrProps</a></span><div class="tsd-comment tsd-typography"><p>The dex attributes of the Pokémon</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applystarterchoice">applyStarterChoice</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L223">src/data/challenge.ts:223</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applystartercost"><span>apply<wbr/>Starter<wbr/>Cost</span><a href="#applystartercost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applystartercost-1"><span class="tsd-kind-call-signature">applyStarterCost</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_species</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_species-id.SpeciesId.html" class="tsd-signature-type tsd-kind-enum">SpeciesId</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_cost</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applystartercost-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for STARTER_COST challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_species</span>: <a href="../enums/src_enums_species-id.SpeciesId.html" class="tsd-signature-type tsd-kind-enum">SpeciesId</a></span><div class="tsd-comment tsd-typography"><p>The pokémon to change the cost of</p>
</div></li><li><span><span class="tsd-kind-parameter">_cost</span>: <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><div class="tsd-comment tsd-typography"><p>Holder for the cost of the starter Pokémon</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applystartercost">applyStarterCost</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L242">src/data/challenge.ts:242</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applystartermodify"><span>apply<wbr/>Starter<wbr/>Modify</span><a href="#applystartermodify" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applystartermodify-1"><span class="tsd-kind-call-signature">applyStarterModify</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_pokemon</span><span class="tsd-signature-symbol">:</span> <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applystartermodify-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for STARTER_MODIFY challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_pokemon</span>: <a href="src_field_pokemon.Pokemon.html" class="tsd-signature-type tsd-kind-class">Pokemon</a></span><div class="tsd-comment tsd-typography"><p>The starter Pokémon to modify.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applystartermodify">applyStarterModify</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L260">src/data/challenge.ts:260</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applystarterpoints"><span>apply<wbr/>Starter<wbr/>Points</span><a href="#applystarterpoints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applystarterpoints-1"><span class="tsd-kind-call-signature">applyStarterPoints</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_points</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applystarterpoints-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for STARTER_POINTS challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_points</span>: <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><div class="tsd-comment tsd-typography"><p>Holder for amount of starter points the user has to spend</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applystarterpoints">applyStarterPoints</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L232">src/data/challenge.ts:232</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applystarterselectmodify"><span>apply<wbr/>Starter<wbr/>Select<wbr/>Modify</span><a href="#applystarterselectmodify" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applystarterselectmodify-1"><span class="tsd-kind-call-signature">applyStarterSelectModify</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">_speciesId</span><span class="tsd-signature-symbol">:</span> <a href="../enums/src_enums_species-id.SpeciesId.html" class="tsd-signature-type tsd-kind-enum">SpeciesId</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_dexEntry</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/src__types_dex-data.DexEntry.html" class="tsd-signature-type tsd-kind-interface">DexEntry</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_starterDataEntry</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/src__types_save-data.StarterDataEntry.html" class="tsd-signature-type tsd-kind-interface">StarterDataEntry</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applystarterselectmodify-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for STARTER_SELECT_MODIFY challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_speciesId</span>: <a href="../enums/src_enums_species-id.SpeciesId.html" class="tsd-signature-type tsd-kind-enum">SpeciesId</a></span></li><li><span><span class="tsd-kind-parameter">_dexEntry</span>: <a href="../interfaces/src__types_dex-data.DexEntry.html" class="tsd-signature-type tsd-kind-interface">DexEntry</a></span></li><li><span><span class="tsd-kind-parameter">_starterDataEntry</span>: <a href="../interfaces/src__types_save-data.StarterDataEntry.html" class="tsd-signature-type tsd-kind-interface">StarterDataEntry</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applystarterselectmodify">applyStarterSelectModify</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L251">src/data/challenge.ts:251</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applytypeeffectiveness"><span>apply<wbr/>Type<wbr/>Effectiveness</span><a href="#applytypeeffectiveness" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applytypeeffectiveness-1"><span class="tsd-kind-call-signature">applyTypeEffectiveness</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_effectiveness</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applytypeeffectiveness-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for TYPE_EFFECTIVENESS challenges. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_effectiveness</span>: <a href="src_utils_common.NumberHolder.html" class="tsd-signature-type tsd-kind-class">NumberHolder</a></span><div class="tsd-comment tsd-typography"><p>The current effectiveness of the move</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applytypeeffectiveness">applyTypeEffectiveness</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L289">src/data/challenge.ts:289</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="applywavereward"><span>apply<wbr/>Wave<wbr/>Reward</span><a href="#applywavereward" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="applywavereward-1"><span class="tsd-kind-call-signature">applyWaveReward</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">_reward</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="src_modifier_modifier-type.ModifierTypeOption.html" class="tsd-signature-type tsd-kind-class">ModifierTypeOption</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">_status</span><span class="tsd-signature-symbol">:</span> <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#applywavereward-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>An apply function for WAVE_REWARD. Derived classes should alter this.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">_reward</span>: <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <a href="src_modifier_modifier-type.ModifierTypeOption.html" class="tsd-signature-type tsd-kind-class">ModifierTypeOption</a></span><div class="tsd-comment tsd-typography"><p>The reward being checked</p>
</div></li><li><span><span class="tsd-kind-parameter">_status</span>: <a href="src_utils_common.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p>Whether the reward should be added to the reward options or not</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this function did anything</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#applywavereward">applyWaveReward</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L431">src/data/challenge.ts:431</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="condition"><span>condition</span><a href="#condition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="condition-1"><span class="tsd-kind-call-signature">condition</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">condition</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ChallengeCondition</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="src_data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a><a href="#condition-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds an unlock condition to this challenge.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">condition</span>: <span class="tsd-signature-type">ChallengeCondition</span></span><div class="tsd-comment tsd-typography"><p>The condition to add</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="src_data_challenge.Challenge.html" class="tsd-signature-type tsd-kind-class">Challenge</a></h4><p>This challenge</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#condition">condition</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L104">src/data/challenge.ts:104</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="decreaseseverity"><span>decrease<wbr/>Severity</span><a href="#decreaseseverity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="decreaseseverity-1"><span class="tsd-kind-call-signature">decreaseSeverity</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#decreaseseverity-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Decrease the severity of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#decreaseseverity">decreaseSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L171">src/data/challenge.ts:171</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="decreasevalue"><span>decrease<wbr/>Value</span><a href="#decreasevalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="decreasevalue-1"><span class="tsd-kind-call-signature">decreaseValue</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#decreasevalue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Decrease the value of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#decreasevalue">decreaseValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L152">src/data/challenge.ts:152</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="getdescription"><span>get<wbr/>Description</span><a href="#getdescription" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="getdescription-1"><span class="tsd-kind-call-signature">getDescription</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">overrideValue</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getdescription-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return the description of a challenge's current value.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">overrideValue</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = ...</span></span><div class="tsd-comment tsd-typography"><p>The value to check for; default this.value</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The localised description for the current value.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#getdescription">getDescription</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L132">src/data/challenge.ts:132</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="getdifficulty"><span>get<wbr/>Difficulty</span><a href="#getdifficulty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="getdifficulty-1"><span class="tsd-kind-call-signature">getDifficulty</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getdifficulty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the &quot;difficulty&quot; value of this challenge.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The difficulty value.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#getdifficulty">getDifficulty</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L195">src/data/challenge.ts:195</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="geti18nkey"><span>geti18n<wbr/>Key</span><a href="#geti18nkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="geti18nkey-1"><span class="tsd-kind-call-signature">geti18nKey</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#geti18nkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the localization key for the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The i18n key for this challenge as camel case.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#geti18nkey">geti18nKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L86">src/data/challenge.ts:86</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="getmindifficulty"><span>get<wbr/>Min<wbr/>Difficulty</span><a href="#getmindifficulty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="getmindifficulty-1"><span class="tsd-kind-call-signature">getMinDifficulty</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getmindifficulty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the minimum difficulty added by this challenge.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The difficulty value.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#getmindifficulty">getMinDifficulty</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L203">src/data/challenge.ts:203</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="getname"><span>get<wbr/>Name</span><a href="#getname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="getname-1"><span class="tsd-kind-call-signature">getName</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The localised name of this challenge.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#getname">getName</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L113">src/data/challenge.ts:113</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="getvalue"><span>get<wbr/>Value</span><a href="#getvalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="getvalue-1"><span class="tsd-kind-call-signature">getValue</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">overrideValue</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getvalue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Return the textual representation of a challenge's current value.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">overrideValue</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = ...</span></span><div class="tsd-comment tsd-typography"><p>The value to check for; default this.value</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The localised text for the current value.</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#getvalue">getValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L122">src/data/challenge.ts:122</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="hasseverity"><span>has<wbr/>Severity</span><a href="#hasseverity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="hasseverity-1"><span class="tsd-kind-call-signature">hasSeverity</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#hasseverity-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Whether to allow choosing this challenge's severity.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#hasseverity">hasSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L163">src/data/challenge.ts:163</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="increaseseverity"><span>increase<wbr/>Severity</span><a href="#increaseseverity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="increaseseverity-1"><span class="tsd-kind-call-signature">increaseSeverity</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#increaseseverity-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Increase the severity of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#increaseseverity">increaseSeverity</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L183">src/data/challenge.ts:183</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="increasevalue"><span>increase<wbr/>Value</span><a href="#increasevalue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="increasevalue-1"><span class="tsd-kind-call-signature">increaseValue</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#increasevalue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Increase the value of the challenge</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the value changed</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#increasevalue">increaseValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L140">src/data/challenge.ts:140</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="isunlocked"><span>is<wbr/>Unlocked</span><a href="#isunlocked" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="isunlocked-1"><span class="tsd-kind-call-signature">isUnlocked</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <a href="src_system_game-data.GameData.html" class="tsd-signature-type tsd-kind-class">GameData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isunlocked-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if an unlockable challenge is unlocked</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">data</span>: <a href="src_system_game-data.GameData.html" class="tsd-signature-type tsd-kind-class">GameData</a></span><div class="tsd-comment tsd-typography"><p>The save data</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether this challenge is unlocked</p>
<aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#isunlocked">isUnlocked</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L95">src/data/challenge.ts:95</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="reset"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-is-inherited"><div class="tsd-signature tsd-anchor-link" id="reset-1"><span class="tsd-kind-call-signature">reset</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Reset the challenge to a base state.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#reset">reset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L77">src/data/challenge.ts:77</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="loadchallenge"><code class="tsd-tag">Static</code><span>load<wbr/>Challenge</span><a href="#loadchallenge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="loadchallenge-1"><span class="tsd-kind-call-signature">loadChallenge</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">LimitedSupportChallenge</a><a href="#loadchallenge-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Clones a challenge, either from another challenge or json. Chainable.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">LimitedSupportChallenge</a></h4><p>This challenge.</p>
<aside class="tsd-sources"><p>Overrides <a href="src_data_challenge.Challenge.html">Challenge</a>.<a href="src_data_challenge.Challenge.html#loadchallenge">loadChallenge</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/6766940fa15202c9995f2fed7287bf85939d9816/src/data/challenge.ts#L1060">src/data/challenge.ts:1060</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#conditions" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>conditions</span></a><a href="#id" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#maxseverity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Severity</span></a><a href="#maxvalue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Value</span></a><a href="#severity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>severity</span></a><a href="#value" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>value</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary><div><a href="#ribbonawarded"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>ribbon<wbr/>Awarded</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#applyfixedbattle" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Fixed<wbr/>Battle</span></a><a href="#applyflipstat" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Flip<wbr/>Stat</span></a><a href="#applygamemodemodify" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Game<wbr/>Mode<wbr/>Modify</span></a><a href="#applylevelchange" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Level<wbr/>Change</span></a><a href="#applymoveaccesslevel" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Move<wbr/>Access<wbr/>Level</span></a><a href="#applymoveslot" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Move<wbr/>Slot</span></a><a href="#applymoveweight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Move<wbr/>Weight</span></a><a href="#applypartyheal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Party<wbr/>Heal</span></a><a href="#applypassiveaccess" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Passive<wbr/>Access</span></a><a href="#applypokemonaddtoparty" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>Add<wbr/>To<wbr/>Party</span></a><a href="#applypokemonfusion" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>Fusion</span></a><a href="#applypokemoninbattle" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>In<wbr/>Battle</span></a><a href="#applypokemonmove" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Pokemon<wbr/>Move</span></a><a href="#applypreventrevive" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Prevent<wbr/>Revive</span></a><a href="#applyshop"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Shop</span></a><a href="#applyshopitem" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Shop<wbr/>Item</span></a><a href="#applystarterchoice" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Choice</span></a><a href="#applystartercost" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Cost</span></a><a href="#applystartermodify" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Modify</span></a><a href="#applystarterpoints" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Points</span></a><a href="#applystarterselectmodify" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Starter<wbr/>Select<wbr/>Modify</span></a><a href="#applytypeeffectiveness" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Type<wbr/>Effectiveness</span></a><a href="#applywavereward" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Wave<wbr/>Reward</span></a><a href="#condition" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>condition</span></a><a href="#decreaseseverity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrease<wbr/>Severity</span></a><a href="#decreasevalue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrease<wbr/>Value</span></a><a href="#getdescription" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Description</span></a><a href="#getdifficulty" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Difficulty</span></a><a href="#geti18nkey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>geti18n<wbr/>Key</span></a><a href="#getmindifficulty" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Min<wbr/>Difficulty</span></a><a href="#getname" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name</span></a><a href="#getvalue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Value</span></a><a href="#hasseverity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Severity</span></a><a href="#increaseseverity" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increase<wbr/>Severity</span></a><a href="#increasevalue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increase<wbr/>Value</span></a><a href="#isunlocked" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Unlocked</span></a><a href="#reset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a><a href="#loadchallenge"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Challenge</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/pagefaultgames/pokerogue" class="tsd-nav-link">GitHub</a><a href="https://pagefaultgames.github.io/pokerogue/main" class="tsd-nav-link">Switch to Main</a></nav><nav class="tsd-navigation"><a href="../modules.html">PokéRogue</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a> with <a href="https://github.com/JulianWowra/typedoc-github-theme" target="_blank">typedoc-github-theme</a></p><p>Copyright <strong>Pagefault Games</strong> 2025</p></footer><div class="overlay"></div></body></html>