pokerogue/main/classes/battle_scene.default.html

471 lines
468 KiB
HTML
Raw Normal View History

2024-10-27 20:34:05 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | pokemon-rogue-battle</title><meta name="description" content="Documentation for pokemon-rogue-battle"/><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></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">pokemon-rogue-battle</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">pokemon-rogue-battle</a></li><li><a href="../modules/battle_scene.html">battle-scene</a></li><li><a href="battle_scene.default.html">default</a></li></ul><h1>Class default</h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#battle-scene.default">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="scene_base.SceneBase.html" class="tsd-signature-type tsd-kind-class">SceneBase</a><ul class="tsd-hierarchy"><li><span class="target">default</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L130">src/battle-scene.ts:130</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"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> 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="battle_scene.default.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2024-06-01 12:57:45 +00:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="battle_scene.default.html#abilityBar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ability<wbr/>Bar</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#add" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>add</span></a>
<a href="battle_scene.default.html#anims" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>anims</span></a>
<a href="battle_scene.default.html#arena" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena</span></a>
<a href="battle_scene.default.html#arenaBg" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena<wbr/>Bg</span></a>
<a href="battle_scene.default.html#arenaBgTransition" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena<wbr/>Bg<wbr/>Transition</span></a>
<a href="battle_scene.default.html#arenaEnemy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena<wbr/>Enemy</span></a>
2024-06-04 02:19:18 +00:00
<a href="battle_scene.default.html#arenaFlyout" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena<wbr/>Flyout</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#arenaNextEnemy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena<wbr/>Next<wbr/>Enemy</span></a>
<a href="battle_scene.default.html#arenaPlayer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena<wbr/>Player</span></a>
<a href="battle_scene.default.html#arenaPlayerTransition" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>arena<wbr/>Player<wbr/>Transition</span></a>
2024-06-06 15:27:18 +00:00
<a href="battle_scene.default.html#battleStyle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Style</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#bgmVolume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bgm<wbr/>Volume</span></a>
<a href="battle_scene.default.html#cache" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cache</span></a>
<a href="battle_scene.default.html#cameras" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>cameras</span></a>
<a href="battle_scene.default.html#candyBar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>candy<wbr/>Bar</span></a>
<a href="battle_scene.default.html#candyUpgradeDisplay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>candy<wbr/>Upgrade<wbr/>Display</span></a>
<a href="battle_scene.default.html#candyUpgradeNotification" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>candy<wbr/>Upgrade<wbr/>Notification</span></a>
<a href="battle_scene.default.html#charSprite" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>char<wbr/>Sprite</span></a>
<a href="battle_scene.default.html#children" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>children</span></a>
2024-06-12 01:42:39 +00:00
<a href="battle_scene.default.html#conditionalQueue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>conditional<wbr/>Queue</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#currentBattle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>current<wbr/>Battle</span></a>
<a href="battle_scene.default.html#damageNumberHandler" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>damage<wbr/>Number<wbr/>Handler</span></a>
<a href="battle_scene.default.html#damageNumbersMode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>damage<wbr/>Numbers<wbr/>Mode</span></a>
<a href="battle_scene.default.html#data" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a>
<a href="battle_scene.default.html#disableMenu" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disable<wbr/>Menu</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#eggSkipPreference" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>egg<wbr/>Skip<wbr/>Preference</span></a>
2024-06-06 01:29:19 +00:00
<a href="battle_scene.default.html#enableMoveInfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Move<wbr/>Info</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#enableRetries" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Retries</span></a>
<a href="battle_scene.default.html#enableTouchControls" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Touch<wbr/>Controls</span></a>
<a href="battle_scene.default.html#enableTutorials" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Tutorials</span></a>
<a href="battle_scene.default.html#enableVibration" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enable<wbr/>Vibration</span></a>
2024-06-14 16:44:47 +00:00
<a href="battle_scene.default.html#eventManager" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>event<wbr/>Manager</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#eventTarget" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>event<wbr/>Target</span></a>
<a href="battle_scene.default.html#events" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>events</span></a>
<a href="battle_scene.default.html#expGainsSpeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exp<wbr/>Gains<wbr/>Speed</span></a>
<a href="battle_scene.default.html#expParty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exp<wbr/>Party</span></a>
<a href="battle_scene.default.html#experimentalSprites" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>experimental<wbr/>Sprites</span></a>
<a href="battle_scene.default.html#facebook" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>facebook</span></a>
<a href="battle_scene.default.html#field" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>field</span></a>
<a href="battle_scene.default.html#fieldSpritePipeline" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>field<wbr/>Sprite<wbr/>Pipeline</span></a>
<a href="battle_scene.default.html#fieldUI" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fieldUI</span></a>
2024-09-01 22:17:02 +00:00
<a href="battle_scene.default.html#fieldVolume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>field<wbr/>Volume</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#fusionPaletteSwaps" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Palette<wbr/>Swaps</span></a>
<a href="battle_scene.default.html#game" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game</span></a>
<a href="battle_scene.default.html#gameData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game<wbr/>Data</span></a>
<a href="battle_scene.default.html#gameMode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game<wbr/>Mode</span></a>
<a href="battle_scene.default.html#gameSpeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game<wbr/>Speed</span></a>
2024-08-17 17:01:18 +00:00
<a href="battle_scene.default.html#hideIvs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hide<wbr/>Ivs</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#hpBarSpeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hp<wbr/>Bar<wbr/>Speed</span></a>
<a href="battle_scene.default.html#input" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>input</span></a>
<a href="battle_scene.default.html#inputController" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>input<wbr/>Controller</span></a>
2024-06-09 01:36:23 +00:00
<a href="battle_scene.default.html#inputMethod" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>input<wbr/>Method</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#lastEnemyTrainer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last<wbr/>Enemy<wbr/>Trainer</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#lastMysteryEncounter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last<wbr/>Mystery<wbr/>Encounter?</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#lastSavePlayTime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last<wbr/>Save<wbr/>Play<wbr/>Time</span></a>
<a href="battle_scene.default.html#lights" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>lights</span></a>
<a href="battle_scene.default.html#load" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>load</span></a>
<a href="battle_scene.default.html#lockModifierTiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>lock<wbr/>Modifier<wbr/>Tiers</span></a>
<a href="battle_scene.default.html#make" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>make</span></a>
<a href="battle_scene.default.html#masterVolume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>master<wbr/>Volume</span></a>
<a href="battle_scene.default.html#matter" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>matter</span></a>
2024-06-07 22:34:52 +00:00
<a href="battle_scene.default.html#modifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>modifiers</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#money" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>money</span></a>
<a href="battle_scene.default.html#moneyFormat" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>money<wbr/>Format</span></a>
<a href="battle_scene.default.html#moveAnimations" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>move<wbr/>Animations</span></a>
2024-06-08 02:53:23 +00:00
<a href="battle_scene.default.html#musicPreference" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>music<wbr/>Preference</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#mysteryEncounterSaveData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mystery<wbr/>Encounter<wbr/>Save<wbr/>Data</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#offsetGym" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>offset<wbr/>Gym</span></a>
<a href="battle_scene.default.html#partyExpBar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>party<wbr/>Exp<wbr/>Bar</span></a>
<a href="battle_scene.default.html#pbTray" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pb<wbr/>Tray</span></a>
<a href="battle_scene.default.html#pbTrayEnemy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pb<wbr/>Tray<wbr/>Enemy</span></a>
2024-06-07 22:34:52 +00:00
<a href="battle_scene.default.html#phaseQueue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>phase<wbr/>Queue</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#physics" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>physics</span></a>
<a href="battle_scene.default.html#plugins" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugins</span></a>
<a href="battle_scene.default.html#pokeballCounts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokeball<wbr/>Counts</span></a>
<a href="battle_scene.default.html#pokemonInfoContainer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokemon<wbr/>Info<wbr/>Container</span></a>
<a href="battle_scene.default.html#registry" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>registry</span></a>
<a href="battle_scene.default.html#renderer" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>renderer</span></a>
<a href="battle_scene.default.html#reroll" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>reroll</span></a>
<a href="battle_scene.default.html#rexUI" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rexUI</span></a>
<a href="battle_scene.default.html#rngCounter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rng<wbr/>Counter</span></a>
<a href="battle_scene.default.html#rngOffset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rng<wbr/>Offset</span></a>
<a href="battle_scene.default.html#rngSeedOverride" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rng<wbr/>Seed<wbr/>Override</span></a>
<a href="battle_scene.default.html#scale" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scale</span></a>
2024-06-19 19:41:19 +00:00
<a href="battle_scene.default.html#scaledCanvas" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scaled<wbr/>Canvas</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#scene" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a>
<a href="battle_scene.default.html#score" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>score</span></a>
<a href="battle_scene.default.html#seVolume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>se<wbr/>Volume</span></a>
<a href="battle_scene.default.html#seed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>seed</span></a>
<a href="battle_scene.default.html#sessionPlayTime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>session<wbr/>Play<wbr/>Time</span></a>
<a href="battle_scene.default.html#sessionSlotId" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>session<wbr/>Slot<wbr/>Id</span></a>
2024-09-01 22:17:02 +00:00
<a href="battle_scene.default.html#shopCursorTarget" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shop<wbr/>Cursor<wbr/>Target</span></a>
2024-06-04 02:19:18 +00:00
<a href="battle_scene.default.html#showArenaFlyout" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Arena<wbr/>Flyout</span></a>
2024-06-24 15:32:59 +00:00
<a href="battle_scene.default.html#showBgmBar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Bgm<wbr/>Bar</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#showLevelUpStats" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Level<wbr/>Up<wbr/>Stats</span></a>
<a href="battle_scene.default.html#showMovesetFlyout" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Moveset<wbr/>Flyout</span></a>
2024-06-06 03:59:03 +00:00
<a href="battle_scene.default.html#showTimeOfDayWidget" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>show<wbr/>Time<wbr/>Of<wbr/>Day<wbr/>Widget</span></a>
2024-06-03 10:50:22 +00:00
<a href="battle_scene.default.html#skipSeenDialogues" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>skip<wbr/>Seen<wbr/>Dialogues</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#sound" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sound</span></a>
<a href="battle_scene.default.html#spritePipeline" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sprite<wbr/>Pipeline</span></a>
<a href="battle_scene.default.html#sys" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sys</span></a>
<a href="battle_scene.default.html#textures" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>textures</span></a>
<a href="battle_scene.default.html#time" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time</span></a>
2024-06-06 03:59:03 +00:00
<a href="battle_scene.default.html#timeOfDayAnimation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>time<wbr/>Of<wbr/>Day<wbr/>Animation</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#trainer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trainer</span></a>
<a href="battle_scene.default.html#tweens" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tweens</span></a>
2024-06-08 19:34:23 +00:00
<a href="battle_scene.default.html#typeHints" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type<wbr/>Hints</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#ui" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ui</span></a>
<a href="battle_scene.default.html#uiContainer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ui<wbr/>Container</span></a>
<a href="battle_scene.default.html#uiInputs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ui<wbr/>Inputs</span></a>
<a href="battle_scene.default.html#uiTheme" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ui<wbr/>Theme</span></a>
2024-09-01 22:17:02 +00:00
<a href="battle_scene.default.html#uiVolume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ui<wbr/>Volume</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#waveCycleOffset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>wave<wbr/>Cycle<wbr/>Offset</span></a>
<a href="battle_scene.default.html#waveSeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>wave<wbr/>Seed</span></a>
<a href="battle_scene.default.html#windowType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>window<wbr/>Type</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="battle_scene.default.html#addEnemyModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Enemy<wbr/>Modifier</span></a>
<a href="battle_scene.default.html#addEnemyPokemon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Enemy<wbr/>Pokemon</span></a>
<a href="battle_scene.default.html#addFaintedEnemyScore" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Fainted<wbr/>Enemy<wbr/>Score</span></a>
<a href="battle_scene.default.html#addFieldSprite" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Field<wbr/>Sprite</span></a>
2024-06-06 01:29:19 +00:00
<a href="battle_scene.default.html#addInfoToggle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Info<wbr/>Toggle</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#addModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Modifier</span></a>
<a href="battle_scene.default.html#addMoney" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Money</span></a>
<a href="battle_scene.default.html#addPlayerPokemon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Player<wbr/>Pokemon</span></a>
<a href="battle_scene.default.html#addPokemonIcon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Pokemon<wbr/>Icon</span></a>
<a href="battle_scene.default.html#addPokemonSprite" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Pokemon<wbr/>Sprite</span></a>
2024-06-06 16:51:16 +00:00
<a href="battle_scene.default.html#animateMoneyChanged" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>animate<wbr/>Money<wbr/>Changed</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#applyModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Modifier</span></a>
<a href="battle_scene.default.html#applyModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#applyModifiersInternal" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Modifiers<wbr/>Internal</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#applyPartyExp" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Party<wbr/>Exp</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#applyShuffledModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply<wbr/>Shuffled<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#cachedFetch" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cached<wbr/>Fetch</span></a>
<a href="battle_scene.default.html#clearEnemyHeldItemModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Enemy<wbr/>Held<wbr/>Item<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#clearEnemyModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Enemy<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#clearPhaseQueue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Phase<wbr/>Queue</span></a>
<a href="battle_scene.default.html#clearPhaseQueueSplice" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Phase<wbr/>Queue<wbr/>Splice</span></a>
<a href="battle_scene.default.html#create" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create</span></a>
<a href="battle_scene.default.html#executeWithSeedOffset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>execute<wbr/>With<wbr/>Seed<wbr/>Offset</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#fadeAndSwitchBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fade<wbr/>And<wbr/>Switch<wbr/>Bgm</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#fadeOutBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fade<wbr/>Out<wbr/>Bgm</span></a>
<a href="battle_scene.default.html#findModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Modifier</span></a>
<a href="battle_scene.default.html#findModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#findPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Phase</span></a>
<a href="battle_scene.default.html#generateEnemyModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Enemy<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#generateRandomBiome" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Random<wbr/>Biome</span></a>
2024-09-10 22:07:25 +00:00
<a href="battle_scene.default.html#getActiveKeys" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Active<wbr/>Keys</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#getBgmLoopPoint" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Bgm<wbr/>Loop<wbr/>Point</span></a>
<a href="battle_scene.default.html#getCachedUrl" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Cached<wbr/>Url</span></a>
<a href="battle_scene.default.html#getCurrentPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>Phase</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#getDoubleBattleChance" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Double<wbr/>Battle<wbr/>Chance</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#getEncounterBossSegments" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Encounter<wbr/>Boss<wbr/>Segments</span></a>
<a href="battle_scene.default.html#getEnemyField" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Enemy<wbr/>Field</span></a>
<a href="battle_scene.default.html#getEnemyParty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Enemy<wbr/>Party</span></a>
<a href="battle_scene.default.html#getEnemyPokemon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Enemy<wbr/>Pokemon</span></a>
<a href="battle_scene.default.html#getField" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Field</span></a>
2024-06-06 01:29:19 +00:00
<a href="battle_scene.default.html#getInfoToggles" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Info<wbr/>Toggles</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#getMaxExpLevel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Max<wbr/>Exp<wbr/>Level</span></a>
2024-06-21 23:05:40 +00:00
<a href="battle_scene.default.html#getModifierBar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Modifier<wbr/>Bar</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#getModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Modifiers</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#getMysteryEncounter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Mystery<wbr/>Encounter</span></a>
<a href="battle_scene.default.html#getNonSwitchedEnemyPokemon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Non<wbr/>Switched<wbr/>Enemy<wbr/>Pokemon</span></a>
<a href="battle_scene.default.html#getNonSwitchedPlayerPokemon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Non<wbr/>Switched<wbr/>Player<wbr/>Pokemon</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#getParty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Party</span></a>
<a href="battle_scene.default.html#getPlayerField" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Player<wbr/>Field</span></a>
<a href="battle_scene.default.html#getPlayerPokemon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Player<wbr/>Pokemon</span></a>
<a href="battle_scene.default.html#getPokemonById" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pokemon<wbr/>By<wbr/>Id</span></a>
<a href="battle_scene.default.html#getSpeciesFormIndex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Form<wbr/>Index</span></a>
<a href="battle_scene.default.html#getStandbyPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Standby<wbr/>Phase</span></a>
<a href="battle_scene.default.html#getWaveMoneyAmount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Wave<wbr/>Money<wbr/>Amount</span></a>
<a href="battle_scene.default.html#hasExpSprite" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Exp<wbr/>Sprite</span></a>
2024-06-05 14:10:28 +00:00
<a href="battle_scene.default.html#hideEnemyModifierBar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Enemy<wbr/>Modifier<wbr/>Bar</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#hideFieldOverlay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Field<wbr/>Overlay</span></a>
<a href="battle_scene.default.html#hideLuckText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Luck<wbr/>Text</span></a>
2024-06-21 23:05:40 +00:00
<a href="battle_scene.default.html#hideShopOverlay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Shop<wbr/>Overlay</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#initExpSprites" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Exp<wbr/>Sprites</span></a>
2024-08-17 17:01:18 +00:00
<a href="battle_scene.default.html#initFinalBossPhaseTwo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Final<wbr/>Boss<wbr/>Phase<wbr/>Two</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#initPokemonSprite" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Pokemon<wbr/>Sprite</span></a>
<a href="battle_scene.default.html#initSession" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Session</span></a>
<a href="battle_scene.default.html#initStarterColors" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Starter<wbr/>Colors</span></a>
<a href="battle_scene.default.html#initVariantData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Variant<wbr/>Data</span></a>
<a href="battle_scene.default.html#isBgmPlaying" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Bgm<wbr/>Playing</span></a>
2024-10-26 21:31:27 +00:00
<a href="battle_scene.default.html#isMysteryEncounterValidForWave" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Mystery<wbr/>Encounter<wbr/>Valid<wbr/>For<wbr/>Wave</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#launchBattle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>launch<wbr/>Battle</span></a>
<a href="battle_scene.default.html#loadAtlas" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Atlas</span></a>
<a href="battle_scene.default.html#loadBgm" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Bgm</span></a>
<a href="battle_scene.default.html#loadImage" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Image</span></a>
<a href="battle_scene.default.html#loadPokemonAtlas" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Pokemon<wbr/>Atlas</span></a>
<a href="battle_scene.default.html#loadSe" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Se</span></a>
<a href="battle_scene.default.html#loadSpritesheet" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Spritesheet</span></a>
2024-06-04 02:19:18 +00:00
<a href="battle_scene.default.html#moveBelowOverlay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Below<wbr/>Overlay</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#newArena" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>new<wbr/>Arena</span></a>
<a href="battle_scene.default.html#newBattle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>new<wbr/>Battle</span></a>
<a href="battle_scene.default.html#overridePhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>override<wbr/>Phase</span></a>
<a href="battle_scene.default.html#pauseBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause<wbr/>Bgm</span></a>
<a href="battle_scene.default.html#playBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play<wbr/>Bgm</span></a>
<a href="battle_scene.default.html#playSound" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play<wbr/>Sound</span></a>
<a href="battle_scene.default.html#playSoundWithoutBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play<wbr/>Sound<wbr/>Without<wbr/>Bgm</span></a>
<a href="battle_scene.default.html#populatePhaseQueue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>populate<wbr/>Phase<wbr/>Queue</span></a>
<a href="battle_scene.default.html#preload" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>preload</span></a>
2024-07-27 23:48:18 +00:00
<a href="battle_scene.default.html#prependToPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prepend<wbr/>To<wbr/>Phase</span></a>
2024-06-04 02:19:18 +00:00
<a href="battle_scene.default.html#processInfoButton" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>process<wbr/>Info<wbr/>Button</span></a>
2024-06-12 01:42:39 +00:00
<a href="battle_scene.default.html#pushConditionalPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>push<wbr/>Conditional<wbr/>Phase</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#pushPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>push<wbr/>Phase</span></a>
<a href="battle_scene.default.html#queueMessage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>queue<wbr/>Message</span></a>
<a href="battle_scene.default.html#randBattleSeedInt" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rand<wbr/>Battle<wbr/>Seed<wbr/>Int</span></a>
<a href="battle_scene.default.html#randomSpecies" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>random<wbr/>Species</span></a>
2024-08-17 17:01:18 +00:00
<a href="battle_scene.default.html#redirectPokemonMoves" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>redirect<wbr/>Pokemon<wbr/>Moves</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#removeModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Modifier</span></a>
<a href="battle_scene.default.html#removePartyMemberModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Party<wbr/>Member<wbr/>Modifiers</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#removePokemonFromPlayerParty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Pokemon<wbr/>From<wbr/>Player<wbr/>Party</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#reset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset</span></a>
<a href="battle_scene.default.html#resetSeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Seed</span></a>
<a href="battle_scene.default.html#resumeBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>resume<wbr/>Bgm</span></a>
<a href="battle_scene.default.html#sendTextToBack" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>Text<wbr/>To<wbr/>Back</span></a>
<a href="battle_scene.default.html#setFieldScale" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Field<wbr/>Scale</span></a>
<a href="battle_scene.default.html#setModifiersVisible" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Modifiers<wbr/>Visible</span></a>
<a href="battle_scene.default.html#setPhaseQueueSplice" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Phase<wbr/>Queue<wbr/>Splice</span></a>
<a href="battle_scene.default.html#setSeed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Seed</span></a>
<a href="battle_scene.default.html#shiftPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shift<wbr/>Phase</span></a>
2024-06-05 14:10:28 +00:00
<a href="battle_scene.default.html#showEnemyModifierBar" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Enemy<wbr/>Modifier<wbr/>Bar</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#showFieldOverlay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Field<wbr/>Overlay</span></a>
2024-06-21 23:05:40 +00:00
<a href="battle_scene.default.html#showShopOverlay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Shop<wbr/>Overlay</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#toggleInvert" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Invert</span></a>
2024-09-27 21:52:07 +00:00
<a href="battle_scene.default.html#triggerPokemonBattleAnim" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>trigger<wbr/>Pokemon<wbr/>Battle<wbr/>Anim</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#triggerPokemonFormChange" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>trigger<wbr/>Pokemon<wbr/>Form<wbr/>Change</span></a>
<a href="battle_scene.default.html#tryRemovePhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Remove<wbr/>Phase</span></a>
2024-10-26 21:31:27 +00:00
<a href="battle_scene.default.html#tryRemoveUnshiftedPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Remove<wbr/>Unshifted<wbr/>Phase</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#tryReplacePhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Replace<wbr/>Phase</span></a>
<a href="battle_scene.default.html#trySpreadPokerus" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Spread<wbr/>Pokerus</span></a>
<a href="battle_scene.default.html#tryTransferHeldItemModifier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Transfer<wbr/>Held<wbr/>Item<wbr/>Modifier</span></a>
<a href="battle_scene.default.html#unshiftPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>unshift<wbr/>Phase</span></a>
<a href="battle_scene.default.html#update" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a>
<a href="battle_scene.default.html#updateAndShowText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>And<wbr/>Show<wbr/>Text</span></a>
<a href="battle_scene.default.html#updateBiomeWaveText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Biome<wbr/>Wave<wbr/>Text</span></a>
<a href="battle_scene.default.html#updateFieldScale" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Field<wbr/>Scale</span></a>
<a href="battle_scene.default.html#updateGameInfo" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Game<wbr/>Info</span></a>
<a href="battle_scene.default.html#updateModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#updateMoneyText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Money<wbr/>Text</span></a>
<a href="battle_scene.default.html#updatePartyForModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Party<wbr/>For<wbr/>Modifiers</span></a>
<a href="battle_scene.default.html#updateScoreText" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Score<wbr/>Text</span></a>
2024-07-27 23:48:18 +00:00
<a href="battle_scene.default.html#updateShopOverlayOpacity" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Shop<wbr/>Overlay<wbr/>Opacity</span></a>
2024-05-31 13:57:14 +00:00
<a href="battle_scene.default.html#updateSoundVolume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Sound<wbr/>Volume</span></a>
<a href="battle_scene.default.html#updateUIPositions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>updateUIPositions</span></a>
<a href="battle_scene.default.html#validateAchv" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate<wbr/>Achv</span></a>
<a href="battle_scene.default.html#validateAchvs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate<wbr/>Achvs</span></a>
<a href="battle_scene.default.html#validateVoucher" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>validate<wbr/>Voucher</span></a>
2024-10-27 20:34:05 +00:00
</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"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_default" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new default</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#constructor.new_default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><p>Overrides <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L319">src/battle-scene.ts:319</a></li></ul></aside></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"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="abilityBar" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ability<wbr/>Bar</span><a href="#abilityBar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ability<wbr/>Bar</span><span class="tsd-signature-symbol">:</span> <a href="ui_ability_bar.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L239">src/battle-scene.ts:239</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="add" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add</span><a href="#add" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">add</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GameObjectFactory</span></div><div class="tsd-comment tsd-typography"><p>The Scene Game Object Factory.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#add">add</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101257</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="anims" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>anims</span><a href="#anims" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">anims</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AnimationManager</span></div><div class="tsd-comment tsd-typography"><p>A reference to the global Animation Manager.</p>
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#anims">anims</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101208</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="arena" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>arena</span><a href="#arena" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">arena</span><span class="tsd-signature-symbol">:</span> <a href="field_arena.Arena.html" class="tsd-signature-type tsd-kind-class">Arena</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L248">src/battle-scene.ts:248</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="arenaBg" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>arena<wbr/>Bg</span><a href="#arenaBg" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">arena<wbr/>Bg</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L242">src/battle-scene.ts:242</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="arenaBgTransition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>arena<wbr/>Bg<wbr/>Transition</span><a href="#arenaBgTransition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">arena<wbr/>Bg<wbr/>Transition</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L243">src/battle-scene.ts:243</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="arenaEnemy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>arena<wbr/>Enemy</span><a href="#arenaEnemy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">arena<wbr/>Enemy</span><span class="tsd-signature-symbol">:</span> <a href="field_arena.ArenaBase.html" class="tsd-signature-type tsd-kind-class">ArenaBase</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L246">src/battle-scene.ts:246</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="arenaFlyout" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>arena<wbr/>Flyout</span><a href="#arenaFlyout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">arena<wbr/>Flyout</span><span class="tsd-signature-symbol">:</span> <a href="ui_arena_flyout.ArenaFlyout.html" class="tsd-signature-type tsd-kind-class">ArenaFlyout</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L271">src/battle-scene.ts:271</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="arenaNextEnemy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>arena<wbr/>Next<wbr/>Enemy</span><a href="#are
2024-06-06 15:27:18 +00:00
<ul>
2024-07-27 23:48:18 +00:00
<li>0 = 'Switch'</li>
<li>1 = 'Set' - The option to switch the active pokemon at the start of a battle will not display.</li>
2024-06-06 15:27:18 +00:00
</ul>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L208">src/battle-scene.ts:208</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="bgmVolume" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bgm<wbr/>Volume</span><a href="#bgmVolume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bgm<wbr/>Volume</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L138">src/battle-scene.ts:138</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cache" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>cache</span><a href="#cache" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cache</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CacheManager</span></div><div class="tsd-comment tsd-typography"><p>A reference to the global Cache.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#cache">cache</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101215</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cameras" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>cameras</span><a href="#cameras" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cameras</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CameraManager</span></div><div class="tsd-comment tsd-typography"><p>The Scene Camera Manager.</p>
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#cameras">cameras</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101250</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="candyBar" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>candy<wbr/>Bar</span><a href="#candyBar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">candy<wbr/>Bar</span><span class="tsd-signature-symbol">:</span> <a href="ui_candy_bar.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L241">src/battle-scene.ts:241</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="candyUpgradeDisplay" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>candy<wbr/>Upgrade<wbr/>Display</span><a href="#candyUpgradeDisplay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">candy<wbr/>Upgrade<wbr/>Display</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><div class="tsd-comment tsd-typography"><p>Determines what type of notification is used for Candy Upgrades</p>
2024-05-31 13:57:14 +00:00
<ul>
2024-07-27 23:48:18 +00:00
<li>0 = 'Icon'</li>
<li>1 = 'Animation'</li>
2024-05-31 13:57:14 +00:00
</ul>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L167">src/battle-scene.ts:167</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="candyUpgradeNotification" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>candy<wbr/>Upgrade<wbr/>Notification</span><a href="#candyUpgradeNotification" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">candy<wbr/>Upgrade<wbr/>Notification</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><div class="tsd-comment tsd-typography"><p>Determines the condition for a notification should be shown for Candy Upgrades</p>
2024-05-31 13:57:14 +00:00
<ul>
2024-07-27 23:48:18 +00:00
<li>0 = 'Off'</li>
<li>1 = 'Passives Only'</li>
<li>2 = 'On'</li>
2024-05-31 13:57:14 +00:00
</ul>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L161">src/battle-scene.ts:161</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="charSprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>char<wbr/>Sprite</span><a href="#charSprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">char<wbr/>Sprite</span><span class="tsd-signature-symbol">:</span> <a href="ui_char_sprite.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L236">src/battle-scene.ts:236</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="children" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>children</span><a href="#children" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">children</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DisplayList</span></div><div class="tsd-comment tsd-typography"><p>The Game Object Display List belonging to this Scene.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#children">children</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101278</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="conditionalQueue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>conditional<wbr/>Queue</span><a href="#conditionalQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">conditional<wbr/>Queue</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">[</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">, </span><a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L224">src/battle-scene.ts:224</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="currentBattle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>current<wbr/>Battle</span><a href="#currentBattle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">current<wbr/>Battle</span><span class="tsd-signature-symbol">:</span> <a href="battle.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L254">src/battle-scene.ts:254</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="damageNumberHandler" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>damage<wbr/>Number<wbr/>Handler</span><a href="#damageNumberHandler" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">damage<wbr/>Number<wbr/>Handler</span><span class="tsd-signature-symbol">:</span> <a href="field_damage_number_handler.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L288">src/battle-scene.ts:288</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="damageNumbersMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>damage<wbr/>Numbers<wbr/>Mode</span><a href="#damageNumbersMode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">damage<wbr/>Numbers<wbr/>Mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L143">src/battle-scene.ts:143</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="data" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>data</span><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../ass
2024-05-31 13:57:14 +00:00
<p>See the <code>registry</code> property for the global Data Manager.</p>
<p>This property will only be available if defined in the Scene Injection Map and the plugin is installed.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#data">data</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101294</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="disableMenu" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable<wbr/>Menu</span><a href="#disableMenu" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">disable<wbr/>Menu</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L217">src/battle-scene.ts:217</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="eggSkipPreference" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>egg<wbr/>Skip<wbr/>Preference</span><a href="#eggSkipPreference" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">egg<wbr/>Skip<wbr/>Preference</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><div class="tsd-comment tsd-typography"><p>Determines if the egg hatching animation should be skipped</p>
2024-09-27 21:52:07 +00:00
<ul>
<li>0 = Never (never skip animation)</li>
<li>1 = Ask (ask to skip animation when hatching 2 or more eggs)</li>
<li>2 = Always (automatically skip animation when hatching 2 or more eggs)</li>
</ul>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L182">src/battle-scene.ts:182</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enableMoveInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Move<wbr/>Info</span><a href="#enableMoveInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Move<wbr/>Info</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L152">src/battle-scene.ts:152</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enableRetries" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Retries</span><a href="#enableRetries" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Retries</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L153">src/battle-scene.ts:153</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enableTouchControls" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Touch<wbr/>Controls</span><a href="#enableTouchControls" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Touch<wbr/>Controls</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L199">src/battle-scene.ts:199</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enableTutorials" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Tutorials</span><a href="#enableTutorials" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Tutorials</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L151">src/battle-scene.ts:151</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enableVibration" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Vibration</span><a href="#enableVibration" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enable<wbr/>Vibration</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.t
2024-05-31 13:57:14 +00:00
<p>Current Events:</p>
<ul>
<li>BattleSceneEventType.MOVE_USED MoveUsedEvent</li>
<li>BattleSceneEventType.TURN_INIT TurnInitEvent</li>
<li>BattleSceneEventType.TURN_END TurnEndEvent</li>
2024-06-11 01:20:26 +00:00
<li>BattleSceneEventType.NEW_ARENA <a href="events_battle_scene.NewArenaEvent.html" class="tsd-kind-class"><code>NewArenaEvent</code></a></li>
2024-05-31 13:57:14 +00:00
</ul>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L317">src/battle-scene.ts:317</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="events" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>events</span><a href="#events" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">events</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventEmitter</span></div><div class="tsd-comment tsd-typography"><p>A Scene specific Event Emitter.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#events">events</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101243</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="expGainsSpeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exp<wbr/>Gains<wbr/>Speed</span><a href="#expGainsSpeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">exp<wbr/>Gains<wbr/>Speed</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_exp_gains_speed.ExpGainsSpeed.html" class="tsd-signature-type tsd-kind-enum">ExpGainsSpeed</a><span class="tsd-signature-symbol"> = ExpGainsSpeed.DEFAULT</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L174">src/battle-scene.ts:174</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="expParty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exp<wbr/>Party</span><a href="#expParty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">exp<wbr/>Party</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_exp_notification.ExpNotification.html" class="tsd-signature-type tsd-kind-enum">ExpNotification</a><span class="tsd-signature-symbol"> = 0</span></div><div class="tsd-comment tsd-typography"><p>Defines the experience gain display mode.</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Remarks" class="tsd-anchor"></a>Remarks<a href="#Remarks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>The <code>expParty</code> can have several modes:</p>
2024-05-31 13:57:14 +00:00
<ul>
<li><code>0</code> - Default: The normal experience gain display, nothing changed.</li>
<li><code>1</code> - Level Up Notification: Displays the level up in the small frame instead of a message.</li>
<li><code>2</code> - Skip: No level up frame nor message.</li>
</ul>
<p>Modes <code>1</code> and <code>2</code> are still compatible with stats display, level up, new move, etc.</p>
2024-07-27 23:48:18 +00:00
<h4 class="tsd-anchor-link"><a id="Default" class="tsd-anchor"></a>Default<a href="#Default" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">0</span><span class="hl-1"> - </span><span class="hl-2">Uses</span><span class="hl-1"> </span><span class="hl-2">the</span><span class="hl-1"> </span><span class="hl-3">default</span><span class="hl-1"> </span><span class="hl-2">normal</span><span class="hl-1"> </span><span class="hl-2">experience</span><span class="hl-1"> </span><span class="hl-2">gain</span><span class="hl-1"> </span><span class="hl-2">display</span><span class="hl-1">.</span>
</code><button type="button">Copy</button></pre>
2024-10-27 20:34:05 +00:00
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L196">src/battle-scene.ts:196</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="experimentalSprites" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>experimental<wbr/>Sprites</span><a href="#experimentalSprites" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">experimental<wbr/>Sprites</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L171">src/battle-scene.ts:171</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="facebook" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>facebook</span><a href="#facebook" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">facebook</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FacebookInstantGamesPlugin</span></div><div class="tsd-comment tsd-typography"><p>The Facebook Instant Games Plugin.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#facebook">facebook</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101343</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="field" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>field</span><a href="#field" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">field</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L234">src/battle-scene.ts:234</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="fieldSpritePipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>field<wbr/>Sprite<wbr/>Pipeline</span><a href="#fieldSpritePipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">field<wbr/>Sprite<wbr/>Pipeline</span><span class="tsd-signature-symbol">:</span> <a href="pipelines_field_sprite.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L291">src/battle-scene.ts:291</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="fieldUI" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fieldUI</span><a href="#fieldUI" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fieldUI</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L235">src/battle-scene.ts:235</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="fieldVolume" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>field<wbr/>Volume</span><a href="#fieldVolume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">field<wbr/>Volume</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L139">src/battle-scene.ts:139</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="fusionPaletteSwaps" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Palette<wbr/>Swaps</span><a href="#fusionPaletteSwaps" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">fusion<wbr/>Palette<wbr/>Swaps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L198">src/battle-scene.ts:198</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="game" class="tsd-anchor
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#game">game</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101201</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="gameData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>game<wbr/>Data</span><a href="#gameData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">game<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <a href="system_game_data.GameData.html" class="tsd-signature-type tsd-kind-class">GameData</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L219">src/battle-scene.ts:219</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="gameMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>game<wbr/>Mode</span><a href="#gameMode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">game<wbr/>Mode</span><span class="tsd-signature-symbol">:</span> <a href="game_mode.GameMode.html" class="tsd-signature-type tsd-kind-class">GameMode</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L249">src/battle-scene.ts:249</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="gameSpeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>game<wbr/>Speed</span><a href="#gameSpeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">game<wbr/>Speed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L142">src/battle-scene.ts:142</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="hideIvs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hide<wbr/>Ivs</span><a href="#hideIvs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hide<wbr/>Ivs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L154">src/battle-scene.ts:154</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="hpBarSpeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hp<wbr/>Bar<wbr/>Speed</span><a href="#hpBarSpeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hp<wbr/>Bar<wbr/>Speed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L197">src/battle-scene.ts:197</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="input" class
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map and the plugin is installed.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#input">input</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101301</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="inputController" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>input<wbr/>Controller</span><a href="#inputController" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">input<wbr/>Controller</span><span class="tsd-signature-symbol">:</span> <a href="inputs_controller.InputsController.html" class="tsd-signature-type tsd-kind-class">InputsController</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L132">src/battle-scene.ts:132</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="inputMethod" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>input<wbr/>Method</span><a href="#inputMethod" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">input<wbr/>Method</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L303">src/battle-scene.ts:303</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="lastEnemyTrainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>last<wbr/>Enemy<wbr/>Trainer</span><a href="#lastEnemyTrainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Enemy<wbr/>Trainer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_trainer.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L253">src/battle-scene.ts:253</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="lastMysteryEncounter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>last<wbr/>Mystery<wbr/>Encounter</span><a href="#lastMysteryEncounter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Mystery<wbr/>Encounter</span><span class="tsd-signature-symbol">?:</span> <a href="data_mystery_encounters_mystery_encounter.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><div class="tsd-comment tsd-typography"><p>If the previous wave was a MysteryEncounter, tracks the object with this variable. Mostly used for visual object cleanup</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L262">src/battle-scene.ts:262</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="lastSavePlayTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>last<wbr/>Save<wbr/>Play<wbr/>Time</span><a href="#lastSavePlayTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">last<wbr/>Save<wbr/>Play<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L136">src/battle-scene.ts:136</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="lights" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>lights</span><a href="#lights" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">lights</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LightsManager</span></div><div class="tsd-comment tsd-typography"><p>The Scene Lights Manager Plugin.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map and the plugin is installed.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#lights">lights</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101285</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="load" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load</span><a href="#load" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">load</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">LoaderPlugin</span></div><div class="tsd-comment tsd-typography"><p>The Scene Loader Plugin.</p>
<p>This property will only be available if defined in the Scene Injection Map and the plugin is installed.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#load">load</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101308</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="lockModifierTiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>lock<wbr/>Modifier<wbr/>Tiers</span><a href="#lockModifierTiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">lock<wbr/>Modifier<wbr/>Tiers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L251">src/battle-scene.ts:251</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="make" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>make</span><a href="#make" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">make</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GameObjectCreator</span></div><div class="tsd-comment tsd-typography"><p>The Scene Game Object Creator.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#make">make</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101264</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="masterVolume" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>master<wbr/>Volume</span><a href="#masterVolume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">master<wbr/>Volume</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0.5</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L137">src/battle-scene.ts:137</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="matter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>matter</span><a href="#matter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">matter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MatterPhysics</span></div><div class="tsd-comment tsd-typography"><p>The Scene Matter Physics Plugin.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#matter">matter</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101336</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="modifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>modifiers</span><a href="#modifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">modifiers</span><span class="tsd-signature-symbol">:</span> <a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L278">src/battle-scene.ts:278</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="money" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>money</span><a href="#money" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">money</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L256">src/battle-scene.ts:256</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="moneyFormat" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>money<wbr/>Format</span><a href="#moneyFormat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">money<wbr/>Format</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_money_format.MoneyFormat.html" class="tsd-signature-type tsd-kind-enum">MoneyFormat</a><span class="tsd-signature-symbol"> = MoneyFormat.NORMAL</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L168">src/battle-scene.ts:168</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="moveAnimations" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Animations</span><a href="#moveAnimations" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">move<wbr/>Animations</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L173">src/battle-scene.ts:173</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="musicPreference" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>music<wbr/>Preference</span><a href="#musicPreference" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">music<wbr/>Preference</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L172">src/battle-scene.ts:172</
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L260">src/battle-scene.ts:260</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="offsetGym" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>offset<wbr/>Gym</span><a href="#offsetGym" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">offset<wbr/>Gym</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L286">src/battle-scene.ts:286</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="partyExpBar" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>party<wbr/>Exp<wbr/>Bar</span><a href="#partyExpBar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">party<wbr/>Exp<wbr/>Bar</span><span class="tsd-signature-symbol">:</span> <a href="ui_party_exp_bar.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L240">src/battle-scene.ts:240</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="pbTray" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pb<wbr/>Tray</span><a href="#pbTray" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pb<wbr/>Tray</span><span class="tsd-signature-symbol">:</span> <a href="ui_pokeball_tray.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L237">src/battle-scene.ts:237</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="pbTrayEnemy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pb<wbr/>Tray<wbr/>Enemy</span><a href="#pbTrayEnemy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pb<wbr/>Tray<wbr/>Enemy</span><span class="tsd-signature-symbol">:</span> <a href="ui_pokeball_tray.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L238">src/battle-scene.ts:238</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="phaseQueue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>phase<wbr/>Queue</span><a href="#phaseQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">phase<wbr/>Queue</span><span class="tsd-signature-symbol">:</span> <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>PhaseQueue: dequeue/remove the first element to get the next phase</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L223">src/battle-scene.ts:223</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="physics" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>physics</span><a href="#physics" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">physics</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ArcadePhysics</span></div><div class="tsd-comment tsd-typography"><p>The Scene Arcade Physics Plugin.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map, the plugin is installed and configured.</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#physics">physics</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101329</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="plugins" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>plugins</span><a href="#plugins" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">plugins</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PluginManager</span></div><div class="tsd-comment tsd-typography"><p>A reference to the global Plugin Manager.</p>
2024-05-31 13:57:14 +00:00
<p>The Plugin Manager is a global system that allows plugins to register themselves with it, and can then install
those plugins into Scenes as required.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#plugins">plugins</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101358</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="pokeballCounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pokeball<wbr/>Counts</span><a href="#pokeballCounts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pokeball<wbr/>Counts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/battle_scene.PokeballCounts.html" class="tsd-signature-type tsd-kind-interface">PokeballCounts</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L255">src/battle-scene.ts:255</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="pokemonInfoContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pokemon<wbr/>Info<wbr/>Container</span><a href="#pokemonInfoContainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pokemon<wbr/>Info<wbr/>Container</span><span class="tsd-signature-symbol">:</span> <a href="ui_pokemon_info_container.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L257">src/battle-scene.ts:257</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="registry" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>registry</span><a href="#registry" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">registry</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DataManager</span></div><div class="tsd-comment tsd-typography"><p>A reference to the global Data Manager.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#registry">registry</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101222</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="renderer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>renderer</span><a href="#renderer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">renderer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CanvasRenderer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">WebGLRenderer</span></div><div class="tsd-comment tsd-typography"><p>A reference to the renderer instance Phaser is using, either Canvas Renderer or WebGL Renderer.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#renderer">renderer</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101363</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="reroll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reroll</span><a href="#reroll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">reroll</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L144">src/battle-scene.ts:144</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="rexUI" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rexUI</span><a href="#rexUI" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">rexUI</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UIPlugin</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L131">src/battle-scene.ts:131</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="rngCounter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rng<wbr/>Counter</span><a href="#rngCounter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">rng<wbr/>Counter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L299">src/battle-scene.ts:299</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="rngOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rng<wbr/>Offset</span><a href="#rngOffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">rng<wbr/>Offset</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L301">src/battle-scene.ts:301</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="rngSeedOverride" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rng<wbr/>Seed<wbr/>Override</span><a href="#rngSeedOverride" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">rng<wbr/>Seed<wbr/>Override</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;&quot;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L300">src/battle-scene.ts:300</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scale" class="tsd-anchor"></a><h3 class="tsd-anc
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#scale">scale</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101350</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="scaledCanvas" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>scaled<wbr/>Canvas</span><a href="#scaledCanvas" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scaled<wbr/>Canvas</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">height</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">width</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Since everything is scaled up by 6 by default using the game.canvas is annoying
2024-06-19 19:41:19 +00:00
Until such point that we use the canvas normally, this will be easier than
having to divide every width and heigh by 6 to position and scale the ui</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Default Value" class="tsd-anchor"></a>Default Value<a href="#Default Value" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>width: <code>320</code>
2024-06-19 19:41:19 +00:00
height: <code>180</code></p>
2024-10-27 20:34:05 +00:00
</div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#scaledCanvas">scaledCanvas</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/scene-base.ts#L13">src/scene-base.ts:13</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scene</span><a href="#scene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scene</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ScenePlugin</span></div><div class="tsd-comment tsd-typography"><p>A reference to the Scene Manager Plugin.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#scene">scene</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101271</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="score" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>score</span><a href="#score" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">score</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L250">src/battle-scene.ts:250</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="seVolume" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>se<wbr/>Volume</span><a href="#seVolume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">se<wbr/>Volume</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L140">src/battle-scene.ts:140</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="seed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>seed</span><a href="#seed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">seed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L283">src/battle-scene.ts:283</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="sessionPlayTime" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>session<wbr/>Play<wbr/>Time</span><a href="#sessionPlayTime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">session<wbr/>Play<wbr/>Time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L135">src/battle-scene.ts:135</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="sessionSlotId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>session<wbr/>Slot<wbr/>Id</span><a href="#sessionSlotId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">session<wbr/>Slot<wbr/>Id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L220">src/battle-scene.ts:220</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="shopCursorTarget" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shop<wbr/>Cursor<w
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map and the plugin is installed.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#sound">sound</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101229</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="spritePipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sprite<wbr/>Pipeline</span><a href="#spritePipeline" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">sprite<wbr/>Pipeline</span><span class="tsd-signature-symbol">:</span> <a href="pipelines_sprite.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L292">src/battle-scene.ts:292</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="sys" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sys</span><a href="#sys" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">sys</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Systems</span></div><div class="tsd-comment tsd-typography"><p>The Scene Systems. You must never overwrite this property, or all hell will break lose.</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#sys">sys</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101194</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="textures" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>textures</span><a href="#textures" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">textures</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TextureManager</span></div><div class="tsd-comment tsd-typography"><p>A reference to the Texture Manager.</p>
<p>This property will only be available if defined in the Scene Injection Map.</p>
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#textures">textures</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101236</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="time" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>time</span><a href="#time" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Clock</span></div><div class="tsd-comment tsd-typography"><p>The Scene Time and Clock Plugin.</p>
<p>This property will only be available if defined in the Scene Injection Map and the plugin is installed.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#time">time</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101315</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="timeOfDayAnimation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>time<wbr/>Of<wbr/>Day<wbr/>Animation</span><a href="#timeOfDayAnimation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">time<wbr/>Of<wbr/>Day<wbr/>Animation</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_ease_type.EaseType.html" class="tsd-signature-type tsd-kind-enum">EaseType</a><span class="tsd-signature-symbol"> = EaseType.NONE</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L149">src/battle-scene.ts:149</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="trainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>trainer</span><a href="#trainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">trainer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L252">src/battle-scene.ts:252</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="tweens" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tweens</span><a href="#tweens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tweens</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TweenManager</span></div><div class="tsd-comment tsd-typography"><p>The Scene Tween Manager Plugin.</p>
2024-05-31 13:57:14 +00:00
<p>This property will only be available if defined in the Scene Injection Map and the plugin is installed.</p>
2024-06-08 19:34:23 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#tweens">tweens</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:101322</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="typeHints" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>type<wbr/>Hints</span><a href="#typeHints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type<wbr/>Hints</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><div class="tsd-comment tsd-typography"><p>Defines whether or not to show type effectiveness hints</p>
<ul>
<li>true: No hints</li>
<li>false: Show hints for moves</li>
</ul>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L215">src/battle-scene.ts:215</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="ui" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ui</span><a href="#ui" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ui</span><span class="tsd-signature-symbol">:</span> <a href="ui_ui.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L281">src/battle-scene.ts:281</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="uiContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ui<wbr/>Container</span><a href="#uiContainer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ui<wbr/>Container</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L280">src/battle-scene.ts:280</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="uiInputs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ui<wbr/>Inputs</span><a href="#uiInputs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ui<wbr/>Inputs</span><span class="tsd-signature-symbol">:</span> <a href="ui_inputs.UiInputs.html" class="tsd-signature-type tsd-kind-class">UiInputs</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L133">src/battle-scene.ts:133</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="uiTheme" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ui<wbr/>Theme</span><a href="#uiTheme" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ui<wbr/>Theme</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_ui_theme.UiTheme.html" class="tsd-signature-type tsd-kind-enum">UiTheme</a><span class="tsd-signature-symbol"> = UiTheme.DEFAULT</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L169">src/battle-scene.ts:169</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="uiVolume" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ui<wbr/>Volume</span><a href="#uiVolume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ui<wbr/>Volume</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L141">src/battle-scene.ts:141</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="waveCycleOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>wave<wbr/>Cycle<wbr/>Offse
2024-10-26 21:31:27 +00:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="applyModifier.applyModifier-1.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifierType</span>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifier.applyModifier-1.T">T</a><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p>The type of modifier to apply; must extend <a href="modifier_modifier.PersistentModifier.html" class="tsd-kind-class"><code>PersistentModifier</code></a></p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to search the player (<code>true</code>) or the enemy (<code>false</code>); Defaults to <code>true</code></p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifier.applyModifier-1.T">T</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;apply&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifier.applyModifier-1.T">T</a></h4><p>the first modifier that matches <code>modifierType</code> and was applied; return <code>null</code> if none matched</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2868">src/battle-scene.ts:2868</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="applyModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>apply<wbr/>Modifiers</span><a href="#applyModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="applyModifiers.applyModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">apply<wbr/>Modifiers</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiers.applyModifiers-1.T-1">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">modifierType</span>, <span class="tsd-kind-parameter">player</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiers.applyModifiers-1.T-1">T</a><span class="tsd-signature-symbol">[]</span><a href="#applyModifiers.applyModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Apply all modifiers that match <code>modifierType</code></p>
2024-10-26 21:31:27 +00:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="applyModifiers.applyModifiers-1.T-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifierType</span>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiers.applyModifiers-1.T-1">T</a><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p>The type of modifier to apply; must extend <a href="modifier_modifier.PersistentModifier.html" class="tsd-kind-class"><code>PersistentModifier</code></a></p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to search the player (<code>true</code>) or the enemy (<code>false</code>); Defaults to <code>true</code></p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiers.applyModifiers-1.T-1">T</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;apply&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiers.applyModifiers-1.T-1">T</a><span class="tsd-signature-symbol">[]</span></h4><p>the list of all modifiers that matched <code>modifierType</code> and were applied.</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2843">src/battle-scene.ts:2843</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="applyModifiersInternal" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>apply<wbr/>Modifiers<wbr/>Internal</span><a href="#applyModifiersInternal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="applyModifiersInternal.applyModifiersInternal-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">apply<wbr/>Modifiers<wbr/>Internal</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiersInternal.applyModifiersInternal-1.T-2">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">modifiers</span>, <span class="tsd-kind-parameter">player</span>, <span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiersInternal.applyModifiersInternal-1.T-2">T</a><span class="tsd-signature-symbol">[]</span><a href="#applyModifiersInternal.applyModifiersInternal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Helper function to apply all passed modifiers</p>
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="applyModifiersInternal.applyModifiersInternal-1.T-2" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifiers</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiersInternal.applyModifiersInternal-1.T-2">T</a><span class="tsd-signature-symbol">[]</span></span></li><li><span><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiersInternal.applyModifiersInternal-1.T-2">T</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;apply&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyModifiersInternal.applyModifiersInternal-1.T-2">T</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2849">src/battle-scene.ts:2849</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="applyPartyExp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>apply<wbr/>Party<wbr/>Exp</span><a href="#applyPartyExp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="applyPartyExp.applyPartyExp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">apply<wbr/>Party<wbr/>Exp</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">expValue</span>, <span class="tsd-kind-parameter">pokemonDefeated</span>, <span class="tsd-kind-parameter">useWaveIndexMultiplier</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">pokemonParticipantIds</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#applyPartyExp.applyPartyExp-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Updates Exp and level values for Player's party, adding new level up phases as required</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">expValue</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>raw value of exp to split among participants, OR the base multiplier to use with waveIndex</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">pokemonDefeated</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>If true, will increment Macho Brace stacks and give the party Pokemon friendship increases</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">useWaveIndexMultiplier</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Default false. If true, will multiply expValue by a scaling waveIndex multiplier. Not needed if expValue is already scaled by level/wave</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pokemonParticipantIds</span>: <span class="tsd-signature-type">Set</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p>Participants. If none are defined, no exp will be given. To spread evenly among the party, should pass all ids of party members.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L3042">src/battle-scene.ts:3042</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="applyShuffledModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>apply<wbr/>Shuffled<wbr/>Modifiers</span><a href="#applyShuffledModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="applyShuffledModifiers.applyShuffledModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">apply<wbr/>Shuffled<wbr/>Modifiers</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyShuffledModifiers.applyShuffledModifiers-1.T-3">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">modifierType</span>, <span class="tsd-kind-parameter">player</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyShuffledModifiers.applyShuffledModifiers-1.T-3">T</a><span class="tsd-signature-symbol">[]</span><a href="#applyShuffledModifiers.applyShuffledModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Apply all modifiers that match <code>modifierType</code> in a random order</p>
2024-10-26 21:31:27 +00:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="applyShuffledModifiers.applyShuffledModifiers-1.T-3" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="battle_scene.default.html" class="tsd-kind-class"><code>BattleScene</code></a> used to randomize the order of modifiers</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">modifierType</span>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyShuffledModifiers.applyShuffledModifiers-1.T-3">T</a><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p>The type of modifier to apply; must extend <a href="modifier_modifier.PersistentModifier.html" class="tsd-kind-class"><code>PersistentModifier</code></a></p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to search the player (<code>true</code>) or the enemy (<code>false</code>); Defaults to <code>true</code></p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">Parameters</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyShuffledModifiers.applyShuffledModifiers-1.T-3">T</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">&quot;apply&quot;</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#applyShuffledModifiers.applyShuffledModifiers-1.T-3">T</a><span class="tsd-signature-symbol">[]</span></h4><p>the list of all modifiers that matched <code>modifierType</code> and were applied.</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2821">src/battle-scene.ts:2821</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="cachedFetch" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>cached<wbr/>Fetch</span><a href="#cachedFetch" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="cachedFetch.cachedFetch-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">cached<wbr/>Fetch</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span>, <span class="tsd-kind-parameter">init</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Response</span><span class="tsd-signature-symbol">&gt;</span><a href="#cachedFetch.cachedFetch-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">init</span>: <span class="tsd-signature-type">RequestInit</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Response</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L692">src/battle-scene.ts:692</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearEnemyHeldItemModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Enemy<wbr/>Held<wbr/>Item<wbr/>Modifiers</span><a href="#clearEnemyHeldItemModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="clearEnemyHeldItemModifiers.clearEnemyHeldItemModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Enemy<wbr/>Held<wbr/>Item<wbr/>Modifiers</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clearEnemyHeldItemModifiers.clearEnemyHeldItemModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes all modifiers from enemy pokemon of <a href="modifier_modifier.PokemonHeldItemModifier.html" class="tsd-kind-class"><code>PokemonHeldItemModifier</code></a> type</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>If specified, only removes held items from that <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a></p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2708">src/battle-scene.ts:2708</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearEnemyModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Enemy<wbr/>Modifiers</span><a href="#clearEnemyModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="clearEnemyModifiers.clearEnemyModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Enemy<wbr/>Modifiers</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clearEnemyModifiers.clearEnemyModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes all modifiers from enemy pokemon of <a href="modifier_modifier.PersistentModifier.html" class="tsd-kind-class"><code>PersistentModifier</code></a> type</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2696">src/battle-scene.ts:2696</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearPhaseQueue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Phase<wbr/>Queue</span><a href="#clearPhaseQueue" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="clearPhaseQueue.clearPhaseQueue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Phase<wbr/>Queue</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clearPhaseQueue.clearPhaseQueue-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Clears the phaseQueue</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2250">src/battle-scene.ts:2250</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearPhaseQueueSplice" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Phase<wbr/>Queue<wbr/>Splice</span><a href="#clearPhaseQueueSplice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="clearPhaseQueueSplice.clearPhaseQueueSplice-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Phase<wbr/>Queue<wbr/>Splice</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clearPhaseQueueSplice.clearPhaseQueueSplice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Resets phaseQueuePrependSpliceIndex to -1, implies that calls to unshiftPhase will insert at end of phaseQueuePrepend</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2264">src/battle-scene.ts:2264</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="create" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create</span><a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="create.create-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">create</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#create.create-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L364">src/battle-scene.ts:364</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="executeWithSeedOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>execute<wbr/>With<wbr/>Seed<wbr/>Offset</span><a href="#executeWithSeedOffset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="executeWithSeedOffset.executeWithSeedOffset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">execute<wbr/>With<wbr/>Seed<wbr/>Offset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">func</span>, <span class="tsd-kind-parameter">offset</span>, <span class="tsd-kind-parameter">seedOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#executeWithSeedOffset.executeWithSeedOffset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">func</span>: <span class="tsd-signature-type">Function</span></span></li><li><span><span class="tsd-kind-parameter">offset</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">seedOverride</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1516">src/battle-scene.ts:1516</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fadeAndSwitchBgm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fade<wbr/>And<wbr/>Switch<wbr/>Bgm</span><a href="#fadeAndSwitchBgm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="fadeAndSwitchBgm.fadeAndSwitchBgm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fade<wbr/>And<wbr/>Switch<wbr/>Bgm</span><span class="tsd-signature-symbol">(</span><span clas
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">newBgmKey</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">destroy</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">delay</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 2000</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1920">src/battle-scene.ts:1920</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fadeOutBgm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fade<wbr/>Out<wbr/>Bgm</span><a href="#fadeOutBgm" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="fadeOutBgm.fadeOutBgm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fade<wbr/>Out<wbr/>Bgm</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">destroy</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="#fadeOutBgm.fadeOutBgm-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 500</span></span></li><li><span><span class="tsd-kind-parameter">destroy</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1901">src/battle-scene.ts:1901</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="findModifier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>find<wbr/>Modifier</span><a href="#findModifier" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="findModifier.findModifier-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">find<wbr/>Modifier</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">modifierFilter</span>, <span class="tsd-kind-parameter">player</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a><a href="#findModifier.findModifier-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-descriptio
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifierFilter</span>: <a href="../types/modifier_modifier.ModifierPredicate.html" class="tsd-signature-type tsd-kind-type-alias">ModifierPredicate</a></span><div class="tsd-comment tsd-typography"><p>The function used to filter a target's modifiers</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to search the player (<code>true</code>) or the enemy (<code>false</code>); Defaults to <code>true</code></p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a></h4><p>the first modifier that passed the <code>modifierFilter</code> function; <code>undefined</code> if none passed</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2809">src/battle-scene.ts:2809</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="findModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>find<wbr/>Modifiers</span><a href="#findModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="findModifiers.findModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">find<wbr/>Modifiers</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">modifierFilter</span>, <span class="tsd-kind-parameter">isPlayer</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a><span class="tsd-signature-symbol">[]</span><a href="#findModifiers.findModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get all of the modifiers that pass the <code>modifierFilter</code> function</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifierFilter</span>: <a href="../types/modifier_modifier.ModifierPredicate.html" class="tsd-signature-type tsd-kind-type-alias">ModifierPredicate</a></span><div class="tsd-comment tsd-typography"><p>The function used to filter a target's modifiers</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isPlayer</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to search the player (<code>true</code>) or the enemy (<code>false</code>); Defaults to <code>true</code></p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a><span class="tsd-signature-symbol">[]</span></h4><p>the list of all modifiers that passed the <code>modifierFilter</code> function</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2799">src/battle-scene.ts:2799</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="findPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>find<wbr/>Phase</span><a href="#findPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="findPhase.findPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">find<wbr/>Phase</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#findPhase.findPhase-1.P">P</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phaseFilter</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#findPhase.findPhase-1.P">P</a><a href="#findPhase.findPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Find a specific <a href="phase.Phase.html" class="tsd-kind-class"><code>Phase</code></a> in the phase queue.</p>
2024-09-27 21:52:07 +00:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="findPhase.findPhase-1.P" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">P</span><span class="tsd-signature-keyword"> extends </span><a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a> = <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phaseFilter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#findPhase.findPhase-1.P">P</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>filter function to use to find the wanted phase</p>
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#findPhase.findPhase-1.P">P</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#findPhase.findPhase-1.P">P</a></h4><p>the found phase or undefined if none found</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2340">src/battle-scene.ts:2340</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="generateEnemyModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>Enemy<wbr/>Modifiers</span><a href="#generateEnemyModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="generateEnemyModifiers.generateEnemyModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Enemy<wbr/>Modifiers</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">heldModifiersConfigs</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#generateEnemyModifiers.generateEnemyModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">heldModifiersConfigs</span>: <a href="../interfaces/interfaces_held_modifier_config.default.html" class="tsd-signature-type tsd-kind-interface">default</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2627">src/battle-scene.ts:2627</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="generateRandomBiome" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>Random<wbr/>Biome</span><a href="#generateRandomBiome" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="generateRandomBiome.generateRandomBiome-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Random<wbr/>Biome</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">waveIndex</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_biome.Biome.html" class="tsd-signature-type tsd-kind-enum">Biome</a><a href="#generateRandomBiome.generateRandomBiome-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_biome.Biome.html" class="tsd-signature-type tsd-kind-enum">Biome</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1771">src/battle-scene.ts:1771</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id
2024-09-10 22:07:25 +00:00
Active Pokemon include both enemy and player Pokemon of the current wave.
Note: Questions on garbage collection go to</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><p>a string array of active sprite and audio keys that should not be deleted</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Frutescens" class="tsd-anchor"></a>Frutescens<a href="#Frutescens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2981">src/battle-scene.ts:2981</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getBgmLoopPoint" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Bgm<wbr/>Loop<wbr/>Point</span><a href="#getBgmLoopPoint" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getBgmLoopPoint.getBgmLoopPoint-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Bgm<wbr/>Loop<wbr/>Point</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bgmName</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getBgmLoopPoint.getBgmLoopPoint-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">bgmName</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1985">src/battle-scene.ts:1985</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getCachedUrl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Cached<wbr/>Url</span><a href="#getCachedUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getCachedUrl.getCachedUrl-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Cached<wbr/>Url</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getCachedUrl.getCachedUrl-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#getCachedUrl">getCachedUrl</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/scene-base.ts#L21">src/scene-base.ts:21</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getCurrentPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Current<wbr/>Phase</span><a href="#getCurrentPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="
2024-06-12 14:21:11 +00:00
</div><h4 class="tsd-returns-title">Returns <a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a><span class="tsd-signature-symbol">[]</span></h4><p>array of <a href="field_pokemon.EnemyPokemon.html" class="tsd-kind-class"><code>EnemyPokemon</code></a></p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L812">src/battle-scene.ts:812</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getEnemyParty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Enemy<wbr/>Party</span><a href="#getEnemyParty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getEnemyParty.getEnemyParty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Enemy<wbr/>Party</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a><span class="tsd-signature-symbol">[]</span><a href="#getEnemyParty.getEnemyParty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L792">src/battle-scene.ts:792</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getEnemyPokemon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Enemy<wbr/>Pokemon</span><a href="#getEnemyPokemon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getEnemyPokemon.getEnemyPokemon-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Enemy<wbr/>Pokemon</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a><a href="#getEnemyPokemon.getEnemyPokemon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L796">src/battle-scene.ts:796</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getField" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Field</span><a href="#getField" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getField.getField-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Field</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">activeOnly</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span><a href="#getField.getField-1" aria-label="
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">isEnemy</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether to return the enemy's modifier bar</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="modifier_modifier.ModifierBar.html" class="tsd-signature-type tsd-kind-class">ModifierBar</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L854">src/battle-scene.ts:854</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Modifiers</span><a href="#getModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getModifiers.getModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Modifiers</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#getModifiers.getModifiers-1.T-4">T</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">modifierType</span>, <span class="tsd-kind-parameter">player</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#getModifiers.getModifiers-1.T-4">T</a><span class="tsd-signature-symbol">[]</span><a href="#getModifiers.getModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get all of the modifiers that match <code>modifierType</code></p>
2024-10-26 21:31:27 +00:00
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getModifiers.getModifiers-1.T-4" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifierType</span>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#getModifiers.getModifiers-1.T-4">T</a><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p>The type of modifier to apply; must extend <a href="modifier_modifier.PersistentModifier.html" class="tsd-kind-class"><code>PersistentModifier</code></a></p>
2024-06-19 16:01:41 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to search the player (<code>true</code>) or the enemy (<code>false</code>); Defaults to <code>true</code></p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="battle_scene.default.html#getModifiers.getModifiers-1.T-4">T</a><span class="tsd-signature-symbol">[]</span></h4><p>the list of all modifiers that matched <code>modifierType</code>.</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2789">src/battle-scene.ts:2789</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getMysteryEncounter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Mystery<wbr/>Encounter</span><a href="#getMysteryEncounter" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getMysteryEncounter.getMysteryEncounter-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Mystery<wbr/>Encounter</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">encounterType</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">canBypass</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#getMysteryEncounter.getMysteryEncounter-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Loads or generates a mystery encounter</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">encounterType</span>: <a href="../enums/enums_mystery_encounter_type.MysteryEncounterType.html" class="tsd-signature-type tsd-kind-enum">MysteryEncounterType</a></span><div class="tsd-comment tsd-typography"><p>used to load session encounter when restarting game, etc.</p>
2024-10-26 21:31:27 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">canBypass</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>optional boolean to indicate that the request is coming from a function that needs to access a Mystery Encounter outside of gameplay requirements</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L3191">src/battle-scene.ts:3191</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getNonSwitchedEnemyPokemon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Non<wbr/>Switched<wbr/>Enemy<wbr/>Pokemon</span><a href="#getNonSwitchedEnemyPokemon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getNonSwitchedEnemyPokemon.getNonSwitchedEnemyPokemon-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Non<wbr/>Switched<wbr/>Enemy<wbr/>Pokemon</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a><a href="#getNonSwitchedEnemyPokemon.getNonSwitchedEnemyPokemon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Finds the first <a href="field_pokemon.default.html#isActive" class="tsd-kind-method"><code>() | active EnemyPokemon</code></a> pokemon from the enemy that isn't also currently switching out</p>
2024-09-27 21:52:07 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.EnemyPokemon.html" class="tsd-signature-type tsd-kind-class">EnemyPokemon</a></h4><p>Either the first <a href="field_pokemon.EnemyPokemon.html" class="tsd-kind-class"><code>EnemyPokemon</code></a> satisfying, or undefined if no player pokemon on the field satisfy</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L804">src/battle-scene.ts:804</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getNonSwitchedPlayerPokemon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Non<wbr/>Switched<wbr/>Player<wbr/>Pokemon</span><a href="#getNonSwitchedPlayerPokemon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getNonSwitchedPlayerPokemon.getNonSwitchedPlayerPokemon-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Non<wbr/>Switched<wbr/>Player<wbr/>Pokemon</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><a href="#getNonSwitchedPlayerPokemon.getNonSwitchedPlayerPokemon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Finds the first <a href="field_pokemon.default.html#isActive" class="tsd-kind-method"><code>() | active PlayerPokemon</code></a> that isn't also currently switching out</p>
2024-09-27 21:52:07 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></h4><p>Either the first <a href="field_pokemon.PlayerPokemon.html" class="tsd-kind-class"><code>PlayerPokemon</code></a> satisfying, or undefined if no player pokemon on the field satisfy</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L779">src/battle-scene.ts:779</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getParty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Party</span><a href="#getParty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getParty.getParty-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Party</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><span class="tsd-signature-symbol">[]</span><a href="#getParty.getParty-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L767">src/battle-scene.ts:767</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPlayerField" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Player<wbr/>Field</span><a href="#getPlayerField" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getPlayerField.getPlayerField-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Player<wbr/>Field</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><span class="tsd-signature-symbol">[]</span><a href="#getPlayerField.getPlayerField-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns an array of PlayerPokemon of length 1 or 2 depending on if double battles or not</p>
2024-06-12 14:21:11 +00:00
</div><h4 class="tsd-returns-title">Returns <a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><span class="tsd-signature-symbol">[]</span></h4><p>array of <a href="field_pokemon.PlayerPokemon.html" class="tsd-kind-class"><code>PlayerPokemon</code></a></p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L787">src/battle-scene.ts:787</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPlayerPokemon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Player<wbr/>Pokemon</span><a href="#getPlayerPokemon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getPlayerPokemon.getPlayerPokemon-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Player<wbr/>Pokemon</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><a href="#getPlayerPokemon.getPlayerPokemon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L771">src/battle-scene.ts:771</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPokemonById" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Pokemon<wbr/>By<wbr/>Id</span><a href="#getPokemonById" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getPokemonById.getPokemonById-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Pokemon<wbr/>By<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemonId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#getPokemonById.getPokemonById-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pokemonId</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L868">src/battle-scene.ts:868</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesFormIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Form<wbr/>Index</span><a href="#getSpeciesFormIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="getSpeciesFormIndex.getSpeciesFormIndex-1" class="tsd-anchor"></a><spa
2024-08-17 17:01:18 +00:00
</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="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>The (enemy) pokemon</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L3008">src/battle-scene.ts:3008</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initPokemonSprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>Pokemon<wbr/>Sprite</span><a href="#initPokemonSprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="initPokemonSprite.initPokemonSprite-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Pokemon<wbr/>Sprite</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sprite</span>, <span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">hasShadow</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Sprite</span><a href="#initPokemonSprite.initPokemonSprite-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">sprite</span>: <span class="tsd-signature-type">Sprite</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">hasShadow</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Sprite</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1551">src/battle-scene.ts:1551</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initSession" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>Session</span><a href="#initSession" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="initSession.initSession-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Session</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initSession.initSession-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L618">src/battle-scene.ts:618</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initStarterColors" class="tsd-anchor"></a><h3 class="tsd-anchor-l
2024-10-26 21:31:27 +00:00
Even if returns <code>true</code>, does not guarantee that a wave will actually be a ME.
That check is made in BattleScene.isWaveMysteryEncounter instead.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">battleType</span>: <a href="../enums/battle.BattleType.html" class="tsd-signature-type tsd-kind-enum">BattleType</a></span></li><li><span><span class="tsd-kind-parameter">waveIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L3141">src/battle-scene.ts:3141</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="launchBattle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>launch<wbr/>Battle</span><a href="#launchBattle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="launchBattle.launchBattle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">launch<wbr/>Battle</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#launchBattle.launchBattle-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L390">src/battle-scene.ts:390</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="loadAtlas" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load<wbr/>Atlas</span><a href="#loadAtlas" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="loadAtlas.loadAtlas-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>Atlas</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span>, <span class="tsd-kind-parameter">folder</span>, <span class="tsd-kind-parameter">filenameRoot</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#loadAtlas.loadAtlas-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">folder</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">filenameRoot</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#loadAtlas">loadAtlas</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/scene-base.ts#L56">src/scene-base.ts:56</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="loadBgm" class="tsd-anchor">
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2415">src/battle-scene.ts:2415</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="preload" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>preload</span><a href="#preload" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="preload.preload-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">preload</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#preload.preload-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L343">src/battle-scene.ts:343</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="prependToPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>prepend<wbr/>To<wbr/>Phase</span><a href="#prependToPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="prependToPhase.prependToPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">prepend<wbr/>To<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span>, <span class="tsd-kind-parameter">targetPhase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#prependToPhase.prependToPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Tries to add the input phase to index before target phase in the phaseQueue, else simply calls unshiftPhase()</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span><div class="tsd-comment tsd-typography"><p><a href="phase.Phase.html" class="tsd-kind-class"><code>Phase</code></a> the phase to be added</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">targetPhase</span>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol">&lt;</span><a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a><span class="tsd-signature-symbol">&gt;</span></span><div class="tsd-comment tsd-typography"><p><a href="phase.Phase.html" class="tsd-kind-class"><code>Phase</code></a> the type of phase to search for in phaseQueue</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>boolean if a targetPhase was found and added</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2381">src/battle-scene.ts:2381</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="processInfoButton" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>process<wbr/>Info<wbr/>Button</span><a href="#processInfoButton" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="processInfoButton.processInfoButton-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">process<wbr/>Info<wbr/>Button</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pressed</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#processInfoButton.processInfoButton-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">pressed</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1560">src/battle-scene.ts:1560</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="pushConditionalPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>push<wbr/>Conditional<wbr/>Phase</span><a href="#pushConditionalPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="pushConditionalPhase.pushConditionalPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">push<wbr/>Conditional<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span>, <span class="tsd-kind-parameter">condition</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#pushConditionalPhase.pushConditionalPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a phase to the conditional queue and ensures it is executed only when the specified condition is met.</p>
2024-06-12 01:42:39 +00:00
<p>This method allows deferring the execution of a phase until certain conditions are met, which is useful for handling
situations like abilities and entry hazards that depend on specific game states.</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">phase</span>: <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span><div class="tsd-comment tsd-typography"><p>The phase to be added to the conditional queue.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">condition</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>A function that returns a boolean indicating whether the phase should be executed.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><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></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2222">src/battle-scene.ts:2222</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="pushPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>push<wbr/>Phase</span><a href="#pushPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="pushPhase.pushPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">push<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span>, <span class="tsd-kind-parameter">defer</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#pushPhase.pushPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a phase to nextCommandPhaseQueue, as long as boolean passed in is false</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span><div class="tsd-comment tsd-typography"><p><a href="phase.Phase.html" class="tsd-kind-class"><code>Phase</code></a> the phase to add</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">defer</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>boolean on which queue to add to, defaults to false, and adds to phaseQueue</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2231">src/battle-scene.ts:2231</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="queueMessage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>queue<wbr/>Message</span><a href="#queueMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="queueMessage.queueMessage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queue<wbr/>Message</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span>, <span class="tsd-kind-parameter">callbackDelay</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">prompt</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">promptDelay</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">defer</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#queueMessage.queueMessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a MessagePhase, either to PhaseQueuePrepend or nextCommandPhaseQueue</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">message</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>string for MessagePhase</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callbackDelay</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>optional param for MessagePhase constructor</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">prompt</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>optional param for MessagePhase constructor</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">promptDelay</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>optional param for MessagePhase constructor</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">defer</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>boolean for which queue to add it to, false -&gt; add to PhaseQueuePrepend, true -&gt; nextCommandPhaseQueue</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2401">src/battle-scene.ts:2401</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="randBattleSeedInt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rand<wbr/>Battle<wbr/>Seed<wbr/>Int</span><a href="#randBattleSeedInt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="randBattleSeedInt.randBattleSeedInt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">rand<wbr/>Battle<wbr/>Seed<wbr/>Int</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">range</span>, <span class="tsd-kind-parameter">min</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#randBattleSeedInt.randBattleSeedInt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generates a random number using the current battle's seed</p>
2024-09-10 22:07:25 +00:00
<p>This calls <a href="battle.default.html#randSeedInt" class="tsd-kind-method"><code>Battle.randSeedInt</code></a>(<code>scene</code>, range, min) in <code>src/battle.ts</code>
which calls <a href="../functions/utils.randSeedInt.html" class="tsd-kind-function"><code>randSeedInt</code></a>(range, min) in <code>src/utils.ts</code></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">range</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>How large of a range of random numbers to choose from. If range &lt;= 1, returns min</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">min</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span><div class="tsd-comment tsd-typography"><p>The minimum integer to pick, default <code>0</code></p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>A random integer between min and (min + range - 1)</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1036">src/battle-scene.ts:1036</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="randomSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>random<wbr/>Species</span><a href="#randomSpecies" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="randomSpecies.randomSpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">random<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">waveIndex</span>, <span class="tsd-kind-parameter">level</span>, <span class="tsd-kind-parameter">fromArenaPool</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">speciesFilter</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">filterAllEvolutions</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#randomSpecies.randomSpecies-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><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></li><li><span><span class="tsd-kind-parameter">level</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fromArenaPool</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">speciesFilter</span>: <a href="../types/data_pokemon_species.PokemonSpeciesFilter.html" class="tsd-signature-type tsd-kind-type-alias">PokemonSpeciesFilter</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">filterAllEvolutions</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1756">src/battle-scene.ts:1756</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="redirectPokemonMoves" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>redirect<wbr/>Pokemon<wbr/>Moves</span><a href="#redirectPokemonMoves" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="redirectPokemonMoves.redirectPokemonMoves-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">redirect<wbr/>Pokemon<wbr/>Moves</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">removedPokemon</span>, <span class="tsd-kind-parameter">allyPokemon</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#redirectPokemonMoves.redirectPokemonMoves-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Used in doubles battles to redirect moves from one pokemon to another when on
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">removedPokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the pokemon that is being removed from the field (flee, faint), moves to be redirected FROM</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">allyPokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the pokemon that will have the moves be redirected TO</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L833">src/battle-scene.ts:833</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="removeModifier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Modifier</span><a href="#removeModifier" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="removeModifier.removeModifier-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Modifier</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">modifier</span>, <span class="tsd-kind-parameter">enemy</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="#removeModifier.removeModifier-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">modifier</span>: <a href="modifier_modifier.PersistentModifier.html" class="tsd-signature-type tsd-kind-class">PersistentModifier</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">enemy</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2766">src/battle-scene.ts:2766</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="removePartyMemberModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Party<wbr/>Member<wbr/>Modifiers</span><a href="#removePartyMemberModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="removePartyMemberModifiers.removePartyMemberModifiers-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Party<wbr/>Member<wbr/>Modifiers</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">partyMemberIndex</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#removePartyMemberModifiers.removePartyMemberModifiers-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">partyMemberIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2616"
2024-09-27 21:52:07 +00:00
Useful for MEs/Challenges that remove Pokemon from the player party temporarily or permanently</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="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">destroy</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Default true. If true, will destroy the <a href="field_pokemon.PlayerPokemon.html" class="tsd-kind-class"><code>PlayerPokemon</code></a> after removing</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L926">src/battle-scene.ts:926</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="reset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset</span><a href="#reset" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="reset.reset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">clearScene</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">clearData</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">reloadI18n</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#reset.reset-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">clearScene</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">clearData</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">reloadI18n</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1040">src/battle-scene.ts:1040</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="resetSeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Seed</span><a href="#resetSeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="resetSeed.resetSeed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Seed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">waveIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetSeed.resetSeed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">waveIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1508">src/battle-scene.ts:1508</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="resumeBgm" class="tsd-anchor"></a><
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1731">src/battle-scene.ts:1731</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setFieldScale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Field<wbr/>Scale</span><a href="#setFieldScale" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setFieldScale.setFieldScale-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Field<wbr/>Scale</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scale</span>, <span class="tsd-kind-parameter">instant</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#setFieldScale.setFieldScale-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">scale</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">instant</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1327">src/battle-scene.ts:1327</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setModifiersVisible" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Modifiers<wbr/>Visible</span><a href="#setModifiersVisible" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setModifiersVisible.setModifiersVisible-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Modifiers<wbr/>Visible</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setModifiersVisible.setModifiersVisible-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2716">src/battle-scene.ts:2716</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setPhaseQueueSplice" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Phase<w
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2257">src/battle-scene.ts:2257</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setSeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Seed</span><a href="#setSeed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setSeed.setSeed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Seed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">seed</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setSeed.setSeed-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">seed</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1019">src/battle-scene.ts:1019</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="shiftPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shift<wbr/>Phase</span><a href="#shiftPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="shiftPhase.shiftPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shift<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#shiftPhase.shiftPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Is called by each Phase implementations &quot;end()&quot; by default
2024-07-27 23:48:18 +00:00
We dump everything from phaseQueuePrepend to the start of of phaseQueue
then removes first Phase and starts it</p>
2024-10-27 20:34:05 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2273">src/battle-scene.ts:2273</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="showEnemyModifierBar" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>show<wbr/>Enemy<wbr/>Modifier<wbr/>Bar</span><a href="#showEnemyModifierBar" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="showEnemyModifierBar.showEnemyModifierBar-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">show<wbr/>Enemy<wbr/>Modifier<wbr/>Bar</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#showEnemyModifierBar.showEnemyModifierBar-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1622">src/battle-scene.ts:1622</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="showFieldOverlay" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>show<wbr/>Field<wbr/>Overlay</span><a href="#showFieldOverlay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="showFieldOverlay.showFieldOverlay-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">show<wbr/>Field<wbr/>Overlay</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#showFieldOverlay.showFieldOverlay-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1564">src/battle-scene.ts:1564</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="showShopOverlay" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>show<wbr/>Shop<wbr/>Overlay</span><a href="#showShopOverlay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="showShopOverlay.showShopOverlay-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">show<wbr/>Shop<wbr/>Overlay</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">duration</span><span class="tsd-s
2024-10-26 21:31:27 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phaseFilter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">: </span><a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>filter function</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2366">src/battle-scene.ts:2366</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="tryReplacePhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Replace<wbr/>Phase</span><a href="#tryReplacePhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="tryReplacePhase.tryReplacePhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Replace<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phaseFilter</span>, <span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#tryReplacePhase.tryReplacePhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phaseFilter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">: </span><a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li><li><span><span class="tsd-kind-parameter">phase</span>: <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2344">src/battle-scene.ts:2344</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="trySp
2024-05-31 13:57:14 +00:00
If the recepient already has the maximum amount allowed for this item, the transfer is cancelled.
The quantity to transfer is automatically capped at how much the recepient can take before reaching the maximum stack size for the item.
A transfer that moves a quantity smaller than what is specified in the transferQuantity parameter is still considered successful.</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">itemModifier</span>: <a href="modifier_modifier.PokemonHeldItemModifier.html" class="tsd-signature-type tsd-kind-class">PokemonHeldItemModifier</a></span><div class="tsd-comment tsd-typography"><p><a href="modifier_modifier.PokemonHeldItemModifier.html" class="tsd-kind-class"><code>PokemonHeldItemModifier</code></a> item to transfer (represents the whole stack)</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> pokemon recepient in this transfer</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">playSound</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>{boolean}</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">transferQuantity</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></span><div class="tsd-comment tsd-typography"><p>integer how many items of the stack to transfer. Optional, defaults to 1</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">instant</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>{boolean}</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreUpdate</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>{boolean}</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><p>true if the transfer was successful</p>
2024-10-27 20:34:05 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2564">src/battle-scene.ts:2564</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="unshiftPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>unshift<wbr/>Phase</span><a href="#unshiftPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="unshiftPhase.unshiftPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">unshift<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#unshiftPhase.unshiftPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds Phase to the end of phaseQueuePrepend, or at phaseQueuePrependSpliceIndex</p>
2024-07-27 23:48:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <a href="phase.Phase.html" class="tsd-signature-type tsd-kind-class">Phase</a></span><div class="tsd-comment tsd-typography"><p><a href="phase.Phase.html" class="tsd-kind-class"><code>Phase</code></a> the phase to add</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L2239">src/battle-scene.ts:2239</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="update" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update</span><a href="#update" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="update.update-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#update.update-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>This method should be overridden by your own Scenes.</p>
2024-05-31 13:57:14 +00:00
<p>This method is called once per game step while the scene is running.</p>
2024-10-27 20:34:05 +00:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Overrides <a href="scene_base.SceneBase.html">SceneBase</a>.<a href="scene_base.SceneBase.html#update">update</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L386">src/battle-scene.ts:386</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateAndShowText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>And<wbr/>Show<wbr/>Text</span><a href="#updateAndShowText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateAndShowText.updateAndShowText-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>And<wbr/>Show<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateAndShowText.updateAndShowText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Displays the current luck value.</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The time for this label to fade in, if it is not already visible.</p>
2024-10-27 20:34:05 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1677">src/battle-scene.ts:1677</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateBiomeWaveText" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Biome<wbr/>Wave<wbr/>Text</span><a href="#updateBiomeWaveText" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateBiomeWaveText.updateBiomeWaveText-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Biome<wbr/>Wave<wbr/>Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateBiomeWaveText.updateBiomeWaveText-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1630">src/battle-scene.ts:1630</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateFieldScale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Field<wbr/>Scale</span><a href="#updateFieldScale" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateFieldScale.updateFieldScale-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Field<wbr/>Scale</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#updateFieldScale.updateFieldScale-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/41380b39b950f9eeb49b31a48c0e7f5a25232de3/src/battle-scene.ts#L1317">src/battle-scene.ts:1317</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateGameInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Game<wbr/>Info</span><a href="#updateGameInfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="updateGameInfo.updateGameInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Game<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateGameInfo.updateGameInfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg>