</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>
</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/e1de9373a99b0cca4d07afe4c5c034c26ebe9571/src/game-mode.ts#L203">src/game-mode.ts:203</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/e1de9373a99b0cca4d07afe4c5c034c26ebe9571/src/game-mode.ts#L212">src/game-mode.ts:212</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/e1de9373a99b0cca4d07afe4c5c034c26ebe9571/src/game-mode.ts#L232">src/game-mode.ts:232</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/e1de9373a99b0cca4d07afe4c5c034c26ebe9571/src/game-mode.ts#L222">src/game-mode.ts:222</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/e1de9373a99b0cca4d07afe4c5c034c26ebe9571/src/game-mode.ts#L242">src/game-mode.ts:242</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/e1de9373a99b0cca4d07afe4c5c034c26ebe9571/src/game-mode.ts#L161">src/game-mode.ts:161</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/e1de9373a99b0cca4d07afe4c5c034c26ebe9571/src/game-mode.ts#L186">src/game-mode.ts:186</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>