</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L285">src/game-mode.ts:285</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getMysteryEncounterLegalWaves"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Mystery<wbr/>Encounter<wbr/>Legal<wbr/>Waves</span><ahref="#getMysteryEncounterLegalWaves"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="getMysteryEncounterLegalWaves.getMysteryEncounterLegalWaves-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Mystery<wbr/>Encounter<wbr/>Legal<wbr/>Waves</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-symbol">[</span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">, </span><spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">]</span><ahref="#getMysteryEncounterLegalWaves.getMysteryEncounterLegalWaves-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns the wave range where MEs can spawn for the game mode [min, max]</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L107">src/game-mode.ts:107</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L127">src/game-mode.ts:127</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L72">src/game-mode.ts:72</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="isBattleClassicFinalBoss"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>is<wbr/>Battle<wbr/>Classic<wbr/>Final<wbr/>Boss</span><ahref="#isBattleClassicFinalBoss"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="isBattleClassicFinalBoss.isBattleClassicFinalBoss-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">is<wbr/>Battle<wbr/>Classic<wbr/>Final<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="#isBattleClassicFinalBoss.isBattleClassicFinalBoss-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></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><p><code>true</code> if the current battle is against classic mode's final boss</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L236">src/game-mode.ts:236</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L229">src/game-mode.ts:229</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L245">src/game-mode.ts:245</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L265">src/game-mode.ts:265</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L255">src/game-mode.ts:255</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L275">src/game-mode.ts:275</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L80">src/game-mode.ts:80</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L187">src/game-mode.ts:187</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/game-mode.ts#L212">src/game-mode.ts:212</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>