</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The wave to check.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <ahref="battle.FixedBattleConfig.html"class="tsd-signature-type tsd-kind-class">FixedBattleConfig</a></h4><p>The fixed battle for this wave.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L99">src/game-mode.ts:99</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getWaveForDifficulty"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Wave<wbr/>For<wbr/>Difficulty</span><ahref="#getWaveForDifficulty"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getWaveForDifficulty.getWaveForDifficulty-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Wave<wbr/>For<wbr/>Difficulty</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span>, <spanclass="tsd-kind-parameter">ignoreCurveChanges</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#getWaveForDifficulty.getWaveForDifficulty-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span></li><li><span><spanclass="tsd-kind-parameter">ignoreCurveChanges</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = false</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L119">src/game-mode.ts:119</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="hasChallenge"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>has<wbr/>Challenge</span><ahref="#hasChallenge"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="hasChallenge.hasChallenge-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">has<wbr/>Challenge</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">challenge</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#hasChallenge.hasChallenge-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Helper function to see if a GameMode has a specific challenge type</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">challenge</span>: <ahref="../enums/enums_challenges.Challenges.html"class="tsd-signature-type tsd-kind-enum">Challenges</a></span><divclass="tsd-comment tsd-typography"><p>the Challenges it looks for</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if the game mode has that challenge</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L64">src/game-mode.ts:64</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isBoss"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Boss</span><ahref="#isBoss"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isBoss.isBoss-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Boss</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isBoss.isBoss-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Every 10 waves is a boss battle</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if waveIndex is a multiple of 10</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L221">src/game-mode.ts:221</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isEndlessBoss"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Endless<wbr/>Boss</span><ahref="#isEndlessBoss"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isEndlessBoss.isEndlessBoss-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Endless<wbr/>Boss</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isEndlessBoss.isEndlessBoss-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Every 50 waves of an Endless mode is a boss
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if waveIndex is a multiple of 50 in Endless</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L230">src/game-mode.ts:230</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isEndlessMajorBoss"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Endless<wbr/>Major<wbr/>Boss</span><ahref="#isEndlessMajorBoss"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isEndlessMajorBoss.isEndlessMajorBoss-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Endless<wbr/>Major<wbr/>Boss</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isEndlessMajorBoss.isEndlessMajorBoss-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Every 1000 waves of an Endless mode is a major boss
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if waveIndex is a multiple of 1000 in Endless</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L250">src/game-mode.ts:250</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isEndlessMinorBoss"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Endless<wbr/>Minor<wbr/>Boss</span><ahref="#isEndlessMinorBoss"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isEndlessMinorBoss.isEndlessMinorBoss-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Endless<wbr/>Minor<wbr/>Boss</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isEndlessMinorBoss.isEndlessMinorBoss-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Every 250 waves of an Endless mode is a minor boss
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if waveIndex is a multiple of 250 in Endless</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L240">src/game-mode.ts:240</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isFixedBattle"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Fixed<wbr/>Battle</span><ahref="#isFixedBattle"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isFixedBattle.isFixedBattle-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Fixed<wbr/>Battle</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isFixedBattle.isFixedBattle-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Checks whether there is a fixed battle on this gamemode on a given wave.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The wave to check.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>If this game mode has a fixed battle on this wave</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L260">src/game-mode.ts:260</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isFreshStartChallenge"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Fresh<wbr/>Start<wbr/>Challenge</span><ahref="#isFreshStartChallenge"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isFreshStartChallenge.isFreshStartChallenge-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Fresh<wbr/>Start<wbr/>Challenge</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isFreshStartChallenge.isFreshStartChallenge-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Helper function to see if the game mode is using fresh start</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L72">src/game-mode.ts:72</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isTrainerBoss"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Trainer<wbr/>Boss</span><ahref="#isTrainerBoss"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isTrainerBoss.isTrainerBoss-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Trainer<wbr/>Boss</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span>, <spanclass="tsd-kind-parameter">biomeType</span>, <spanclass="tsd-kind-parameter">offsetGym</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isTrainerBoss.isTrainerBoss-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span></li><li><span><spanclass="tsd-kind-parameter">biomeType</span>: <ahref="../enums/enums_biome.Biome.html"class="tsd-signature-type tsd-kind-enum">Biome</a></span></li><li><span><spanclass="tsd-kind-parameter">offsetGym</span>: <spanclass="tsd-signature-type">boolean</span></span></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L179">src/game-mode.ts:179</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isWaveFinal"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Wave<wbr/>Final</span><ahref="#isWaveFinal"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isWaveFinal.isWaveFinal-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Wave<wbr/>Final</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span>, <spanclass="tsd-kind-parameter">modeId</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isWaveFinal.isWaveFinal-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Checks if wave provided is the final for current or specified game mode</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>if the current wave is final for classic or daily OR a minor boss in endless</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/38d4a594a096a6a3f2558843511529602ce4819b/src/game-mode.ts#L204">src/game-mode.ts:204</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isWaveTrainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Wave<wbr/>Trainer</span><ahref="#isWaveTrainer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="isWaveTrainer.isWaveTrainer-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Wave<wbr/>Trainer</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">waveIndex</span>, <spanclass="tsd-kind-parameter">arena</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#isWaveTrainer.isWaveTrainer-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Determines whether or not to generate a trainer</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">waveIndex</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>the current floor the player is on (trainer sprites fail to generate on X1 floors)</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arena</span>: <ahref="field_arena.Arena.html"class="tsd-signature-type tsd-kind-class">Arena</a></span><divclass="tsd-comment tsd-typography"><p>the arena that contains the scene and functions</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p>true if a trainer should be generated, false otherwise</p>