pokerogue/main/classes/system_game_data.GameData.html
2024-09-28 15:26:07 +00:00

102 lines
145 KiB
HTML

<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GameData | 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/system_game_data.html">system/game-data</a></li><li><a href="system_game_data.GameData.html">GameData</a></li></ul><h1>Class GameData</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L299">src/system/game-data.ts:299</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="system_game_data.GameData.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>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="system_game_data.GameData.html#achvUnlocks" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>achv<wbr/>Unlocks</span></a>
<a href="system_game_data.GameData.html#dexData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dex<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#eggPity" 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/>Pity</span></a>
<a href="system_game_data.GameData.html#eggs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>eggs</span></a>
<a href="system_game_data.GameData.html#gameStats" 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/>Stats</span></a>
<a href="system_game_data.GameData.html#gender" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gender</span></a>
<a href="system_game_data.GameData.html#runHistory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>run<wbr/>History</span></a>
<a href="system_game_data.GameData.html#secretId" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>secret<wbr/>Id</span></a>
<a href="system_game_data.GameData.html#starterData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>starter<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#trainerId" 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<wbr/>Id</span></a>
<a href="system_game_data.GameData.html#unlockPity" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>unlock<wbr/>Pity</span></a>
<a href="system_game_data.GameData.html#unlocks" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>unlocks</span></a>
<a href="system_game_data.GameData.html#voucherCounts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>voucher<wbr/>Counts</span></a>
<a href="system_game_data.GameData.html#voucherUnlocks" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>voucher<wbr/>Unlocks</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="system_game_data.GameData.html#addStarterCandy" 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/>Starter<wbr/>Candy</span></a>
<a href="system_game_data.GameData.html#clearLocalData" 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/>Local<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#consolidateDexData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>consolidate<wbr/>Dex<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#convertSystemDataStr" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>convert<wbr/>System<wbr/>Data<wbr/>Str</span></a>
<a href="system_game_data.GameData.html#deleteSession" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Session</span></a>
<a href="system_game_data.GameData.html#getDexAttrLuck" 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/>Dex<wbr/>Attr<wbr/>Luck</span></a>
<a href="system_game_data.GameData.html#getFormAttr" 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/>Form<wbr/>Attr</span></a>
<a href="system_game_data.GameData.html#getFormIndex" 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/>Form<wbr/>Index</span></a>
<a href="system_game_data.GameData.html#getNaturesForAttr" 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/>Natures<wbr/>For<wbr/>Attr</span></a>
<a href="system_game_data.GameData.html#getRunHistoryData" 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/>Run<wbr/>History<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#getSeenDialogues" 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/>Seen<wbr/>Dialogues</span></a>
<a href="system_game_data.GameData.html#getSession" 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/>Session</span></a>
<a href="system_game_data.GameData.html#getSessionSaveData" 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/>Session<wbr/>Save<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#getSpeciesCount" 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/>Count</span></a>
<a href="system_game_data.GameData.html#getSpeciesDefaultDexAttr" 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/>Default<wbr/>Dex<wbr/>Attr</span></a>
<a href="system_game_data.GameData.html#getSpeciesDefaultNature" 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/>Default<wbr/>Nature</span></a>
<a href="system_game_data.GameData.html#getSpeciesDefaultNatureAttr" 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/>Default<wbr/>Nature<wbr/>Attr</span></a>
<a href="system_game_data.GameData.html#getSpeciesDexAttrProps" 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/>Dex<wbr/>Attr<wbr/>Props</span></a>
<a href="system_game_data.GameData.html#getSpeciesStarterValue" 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/>Starter<wbr/>Value</span></a>
<a href="system_game_data.GameData.html#getStarterCount" 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/>Starter<wbr/>Count</span></a>
<a href="system_game_data.GameData.html#getStarterSpeciesDefaultAbilityIndex" 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/>Starter<wbr/>Species<wbr/>Default<wbr/>Ability<wbr/>Index</span></a>
<a href="system_game_data.GameData.html#getSystemSaveData" 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/>System<wbr/>Save<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#getTutorialFlags" 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/>Tutorial<wbr/>Flags</span></a>
<a href="system_game_data.GameData.html#importData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#incrementRibbonCount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increment<wbr/>Ribbon<wbr/>Count</span></a>
<a href="system_game_data.GameData.html#initSystem" 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/>System</span></a>
<a href="system_game_data.GameData.html#isUnlocked" 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/>Unlocked</span></a>
<a href="system_game_data.GameData.html#loadMappingConfigs" 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/>Mapping<wbr/>Configs</span></a>
<a href="system_game_data.GameData.html#loadSession" 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/>Session</span></a>
<a href="system_game_data.GameData.html#loadSystem" 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/>System</span></a>
<a href="system_game_data.GameData.html#migrateStarterAbilities" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>migrate<wbr/>Starter<wbr/>Abilities</span></a>
<a href="system_game_data.GameData.html#offlineNewClear" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>offline<wbr/>New<wbr/>Clear</span></a>
<a href="system_game_data.GameData.html#parseSessionData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>parse<wbr/>Session<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#parseSystemData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>parse<wbr/>System<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#resetMappingToFactory" 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/>Mapping<wbr/>To<wbr/>Factory</span></a>
<a href="system_game_data.GameData.html#saveAll" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>All</span></a>
<a href="system_game_data.GameData.html#saveControlSetting" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Control<wbr/>Setting</span></a>
<a href="system_game_data.GameData.html#saveMappingConfigs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Mapping<wbr/>Configs</span></a>
<a href="system_game_data.GameData.html#saveRunHistory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Run<wbr/>History</span></a>
<a href="system_game_data.GameData.html#saveSeenDialogue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Seen<wbr/>Dialogue</span></a>
<a href="system_game_data.GameData.html#saveSetting" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Setting</span></a>
<a href="system_game_data.GameData.html#saveSystem" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>System</span></a>
<a href="system_game_data.GameData.html#saveTutorialFlag" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Tutorial<wbr/>Flag</span></a>
<a href="system_game_data.GameData.html#setEggMoveUnlocked" 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/>Egg<wbr/>Move<wbr/>Unlocked</span></a>
<a href="system_game_data.GameData.html#setPokemonCaught" 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/>Pokemon<wbr/>Caught</span></a>
<a href="system_game_data.GameData.html#setPokemonSeen" 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/>Pokemon<wbr/>Seen</span></a>
<a href="system_game_data.GameData.html#setPokemonSpeciesCaught" 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/>Pokemon<wbr/>Species<wbr/>Caught</span></a>
<a href="system_game_data.GameData.html#tryClearSession" 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/>Clear<wbr/>Session</span></a>
<a href="system_game_data.GameData.html#tryExportData" 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/>Export<wbr/>Data</span></a>
<a href="system_game_data.GameData.html#updateSpeciesDexIvs" 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/>Species<wbr/>Dex<wbr/>Ivs</span></a>
<a href="system_game_data.GameData.html#verify" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verify</span></a>
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><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_GameData" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Game<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="system_game_data.GameData.html" class="tsd-signature-type tsd-kind-class">GameData</a><a href="#constructor.new_GameData" 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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="system_game_data.GameData.html" class="tsd-signature-type tsd-kind-class">GameData</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L325">src/system/game-data.ts:325</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="achvUnlocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>achv<wbr/>Unlocks</span><a href="#achvUnlocks" 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">achv<wbr/>Unlocks</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">AchvUnlocks</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L317">src/system/game-data.ts:317</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="dexData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>dex<wbr/>Data</span><a href="#dexData" 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">dex<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/system_game_data.DexData.html" class="tsd-signature-type tsd-kind-interface">DexData</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L307">src/system/game-data.ts:307</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="eggPity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>egg<wbr/>Pity</span><a href="#eggPity" 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/>Pity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L322">src/system/game-data.ts:322</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="eggs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>eggs</span><a href="#eggs" 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">eggs</span><span class="tsd-signature-symbol">:</span> <a href="data_egg.Egg.html" class="tsd-signature-type tsd-kind-class">Egg</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L321">src/system/game-data.ts:321</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="gameStats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>game<wbr/>Stats</span><a href="#gameStats" 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/>Stats</span><span class="tsd-signature-symbol">:</span> <a href="system_game_stats.GameStats.html" class="tsd-signature-type tsd-kind-class">GameStats</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L312">src/system/game-data.ts:312</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="gender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>gender</span><a href="#gender" 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">gender</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_player_gender.PlayerGender.html" class="tsd-signature-type tsd-kind-enum">PlayerGender</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L305">src/system/game-data.ts:305</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="runHistory" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>run<wbr/>History</span><a href="#runHistory" 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">run<wbr/>History</span><span class="tsd-signature-symbol">:</span> <a href="../types/system_game_data.RunHistoryData.html" class="tsd-signature-type tsd-kind-type-alias">RunHistoryData</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L313">src/system/game-data.ts:313</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="secretId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>secret<wbr/>Id</span><a href="#secretId" 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">secret<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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L303">src/system/game-data.ts:303</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="starterData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>starter<wbr/>Data</span><a href="#starterData" 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">starter<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/system_game_data.StarterData.html" class="tsd-signature-type tsd-kind-interface">StarterData</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L310">src/system/game-data.ts:310</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="trainerId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>trainer<wbr/>Id</span><a href="#trainerId" 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<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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L302">src/system/game-data.ts:302</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="unlockPity" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>unlock<wbr/>Pity</span><a href="#unlockPity" 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">unlock<wbr/>Pity</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L323">src/system/game-data.ts:323</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="unlocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>unlocks</span><a href="#unlocks" 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">unlocks</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Unlocks</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L315">src/system/game-data.ts:315</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="voucherCounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>voucher<wbr/>Counts</span><a href="#voucherCounts" 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">voucher<wbr/>Counts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/system_game_data.VoucherCounts.html" class="tsd-signature-type tsd-kind-interface">VoucherCounts</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L320">src/system/game-data.ts:320</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="voucherUnlocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>voucher<wbr/>Unlocks</span><a href="#voucherUnlocks" 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">voucher<wbr/>Unlocks</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">VoucherUnlocks</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L319">src/system/game-data.ts:319</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="addStarterCandy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Starter<wbr/>Candy</span><a href="#addStarterCandy" 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="addStarterCandy.addStarterCandy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Starter<wbr/>Candy</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">count</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addStarterCandy.addStarterCandy-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 candy to the player's game data for a given <a href="data_pokemon_species.default.html" class="tsd-kind-class"><code>PokemonSpecies</code></a>.
Will do nothing if the player does not have the Pokemon owned in their system save data.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">count</span>: <span class="tsd-signature-type">number</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1727">src/system/game-data.ts:1727</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearLocalData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Local<wbr/>Data</span><a href="#clearLocalData" 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="clearLocalData.clearLocalData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Local<wbr/>Data</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="#clearLocalData.clearLocalData-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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L722">src/system/game-data.ts:722</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="consolidateDexData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>consolidate<wbr/>Dex<wbr/>Data</span><a href="#consolidateDexData" 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="consolidateDexData.consolidateDexData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">consolidate<wbr/>Dex<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dexData</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#consolidateDexData.consolidateDexData-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">dexData</span>: <a href="../interfaces/system_game_data.DexData.html" class="tsd-signature-type tsd-kind-interface">DexData</a></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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1915">src/system/game-data.ts:1915</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="convertSystemDataStr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>convert<wbr/>System<wbr/>Data<wbr/>Str</span><a href="#convertSystemDataStr" 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="convertSystemDataStr.convertSystemDataStr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">convert<wbr/>System<wbr/>Data<wbr/>Str</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dataStr</span>, <span class="tsd-kind-parameter">shorten</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#convertSystemDataStr.convertSystemDataStr-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">dataStr</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">shorten</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">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L688">src/system/game-data.ts:688</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="deleteSession" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>delete<wbr/>Session</span><a href="#deleteSession" 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="deleteSession.deleteSession-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">delete<wbr/>Session</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">slotId</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#deleteSession.deleteSession-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">slotId</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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1127">src/system/game-data.ts:1127</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getDexAttrLuck" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Dex<wbr/>Attr<wbr/>Luck</span><a href="#getDexAttrLuck" 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="getDexAttrLuck.getDexAttrLuck-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Dex<wbr/>Attr<wbr/>Luck</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dexAttr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getDexAttrLuck.getDexAttrLuck-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">dexAttr</span>: <span class="tsd-signature-type">bigint</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1863">src/system/game-data.ts:1863</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getFormAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Form<wbr/>Attr</span><a href="#getFormAttr" 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="getFormAttr.getFormAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Form<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">formIndex</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#getFormAttr.getFormAttr-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">formIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">bigint</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1911">src/system/game-data.ts:1911</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getFormIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Form<wbr/>Index</span><a href="#getFormIndex" 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="getFormIndex.getFormIndex-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Form<wbr/>Index</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getFormIndex.getFormIndex-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">attr</span>: <span class="tsd-signature-type">bigint</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1900">src/system/game-data.ts:1900</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getNaturesForAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Natures<wbr/>For<wbr/>Attr</span><a href="#getNaturesForAttr" 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="getNaturesForAttr.getNaturesForAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Natures<wbr/>For<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">natureAttr</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a><span class="tsd-signature-symbol">[]</span><a href="#getNaturesForAttr.getNaturesForAttr-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">natureAttr</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1867">src/system/game-data.ts:1867</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getRunHistoryData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Run<wbr/>History<wbr/>Data</span><a href="#getRunHistoryData" 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="getRunHistoryData.getRunHistoryData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Run<wbr/>History<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</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><a href="../types/system_game_data.RunHistoryData.html" class="tsd-signature-type tsd-kind-type-alias">RunHistoryData</a><span class="tsd-signature-symbol">&gt;</span><a href="#getRunHistoryData.getRunHistoryData-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>Retrieves current run history data, organized by time stamp.
At the moment, only retrievable from locale cache</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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../types/system_game_data.RunHistoryData.html" class="tsd-signature-type tsd-kind-type-alias">RunHistoryData</a><span class="tsd-signature-symbol">&gt;</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L581">src/system/game-data.ts:581</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSeenDialogues" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Seen<wbr/>Dialogues</span><a href="#getSeenDialogues" 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="getSeenDialogues.getSeenDialogues-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Seen<wbr/>Dialogues</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.SeenDialogues.html" class="tsd-signature-type tsd-kind-interface">SeenDialogues</a><a href="#getSeenDialogues.getSeenDialogues-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="../interfaces/system_game_data.SeenDialogues.html" class="tsd-signature-type tsd-kind-interface">SeenDialogues</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L932">src/system/game-data.ts:932</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSession" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Session</span><a href="#getSession" 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="getSession.getSession-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Session</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">slotId</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a><span class="tsd-signature-symbol">&gt;</span><a href="#getSession.getSession-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">slotId</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">null</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L973">src/system/game-data.ts:973</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSessionSaveData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Session<wbr/>Save<wbr/>Data</span><a href="#getSessionSaveData" 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="getSessionSaveData.getSessionSaveData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Session<wbr/>Save<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a><a href="#getSessionSaveData.getSessionSaveData-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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L949">src/system/game-data.ts:949</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Count</span><a href="#getSpeciesCount" 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="getSpeciesCount.getSpeciesCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dexEntryPredicate</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getSpeciesCount.getSpeciesCount-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">dexEntryPredicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">entry</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.DexEntry.html" class="tsd-signature-type tsd-kind-interface">DexEntry</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">entry</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">entry</span>: <a href="../interfaces/system_game_data.DexEntry.html" class="tsd-signature-type tsd-kind-interface">DexEntry</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">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1792">src/system/game-data.ts:1792</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesDefaultDexAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Default<wbr/>Dex<wbr/>Attr</span><a href="#getSpeciesDefaultDexAttr" 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="getSpeciesDefaultDexAttr.getSpeciesDefaultDexAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>Default<wbr/>Dex<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">forSeen</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">optimistic</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#getSpeciesDefaultDexAttr.getSpeciesDefaultDexAttr-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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">forSeen</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">optimistic</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">bigint</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1815">src/system/game-data.ts:1815</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesDefaultNature" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Default<wbr/>Nature</span><a href="#getSpeciesDefaultNature" 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="getSpeciesDefaultNature.getSpeciesDefaultNature-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>Default<wbr/>Nature</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a><a href="#getSpeciesDefaultNature.getSpeciesDefaultNature-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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1849">src/system/game-data.ts:1849</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesDefaultNatureAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Default<wbr/>Nature<wbr/>Attr</span><a href="#getSpeciesDefaultNatureAttr" 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="getSpeciesDefaultNatureAttr.getSpeciesDefaultNatureAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>Default<wbr/>Nature<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getSpeciesDefaultNatureAttr.getSpeciesDefaultNatureAttr-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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1859">src/system/game-data.ts:1859</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesDexAttrProps" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Dex<wbr/>Attr<wbr/>Props</span><a href="#getSpeciesDexAttrProps" 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="getSpeciesDexAttrProps.getSpeciesDexAttrProps-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>Dex<wbr/>Attr<wbr/>Props</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">dexAttr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.DexAttrProps.html" class="tsd-signature-type tsd-kind-interface">DexAttrProps</a><a href="#getSpeciesDexAttrProps.getSpeciesDexAttrProps-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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">dexAttr</span>: <span class="tsd-signature-type">bigint</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/system_game_data.DexAttrProps.html" class="tsd-signature-type tsd-kind-interface">DexAttrProps</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1830">src/system/game-data.ts:1830</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesStarterValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Starter<wbr/>Value</span><a href="#getSpeciesStarterValue" 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="getSpeciesStarterValue.getSpeciesStarterValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>Starter<wbr/>Value</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">speciesId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getSpeciesStarterValue.getSpeciesStarterValue-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">speciesId</span>: <a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a></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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1877">src/system/game-data.ts:1877</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getStarterCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Starter<wbr/>Count</span><a href="#getStarterCount" 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="getStarterCount.getStarterCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Starter<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dexEntryPredicate</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getStarterCount.getStarterCount-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">dexEntryPredicate</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">entry</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.DexEntry.html" class="tsd-signature-type tsd-kind-interface">DexEntry</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">entry</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">entry</span>: <a href="../interfaces/system_game_data.DexEntry.html" class="tsd-signature-type tsd-kind-interface">DexEntry</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">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1803">src/system/game-data.ts:1803</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getStarterSpeciesDefaultAbilityIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Starter<wbr/>Species<wbr/>Default<wbr/>Ability<wbr/>Index</span><a href="#getStarterSpeciesDefaultAbilityIndex" 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="getStarterSpeciesDefaultAbilityIndex.getStarterSpeciesDefaultAbilityIndex-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Starter<wbr/>Species<wbr/>Default<wbr/>Ability<wbr/>Index</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getStarterSpeciesDefaultAbilityIndex.getStarterSpeciesDefaultAbilityIndex-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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1844">src/system/game-data.ts:1844</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSystemSaveData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>System<wbr/>Save<wbr/>Data</span><a href="#getSystemSaveData" 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="getSystemSaveData.getSystemSaveData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>System<wbr/>Save<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.SystemSaveData.html" class="tsd-signature-type tsd-kind-interface">SystemSaveData</a><a href="#getSystemSaveData.getSystemSaveData-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="../interfaces/system_game_data.SystemSaveData.html" class="tsd-signature-type tsd-kind-interface">SystemSaveData</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L356">src/system/game-data.ts:356</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getTutorialFlags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Tutorial<wbr/>Flags</span><a href="#getTutorialFlags" 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="getTutorialFlags.getTutorialFlags-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tutorial<wbr/>Flags</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.TutorialFlags.html" class="tsd-signature-type tsd-kind-interface">TutorialFlags</a><a href="#getTutorialFlags.getTutorialFlags-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="../interfaces/system_game_data.TutorialFlags.html" class="tsd-signature-type tsd-kind-interface">TutorialFlags</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L903">src/system/game-data.ts:903</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="importData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>import<wbr/>Data</span><a href="#importData" 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="importData.importData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">import<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dataType</span>, <span class="tsd-kind-parameter">slotId</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="#importData.importData-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">dataType</span>: <a href="../enums/enums_game_data_type.GameDataType.html" class="tsd-signature-type tsd-kind-enum">GameDataType</a></span></li><li><span><span class="tsd-kind-parameter">slotId</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1399">src/system/game-data.ts:1399</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="incrementRibbonCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>increment<wbr/>Ribbon<wbr/>Count</span><a href="#incrementRibbonCount" 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="incrementRibbonCount.incrementRibbonCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">increment<wbr/>Ribbon<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">forStarter</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="#incrementRibbonCount.incrementRibbonCount-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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">forStarter</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">number</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1689">src/system/game-data.ts:1689</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initSystem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>System</span><a href="#initSystem" 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="initSystem.initSystem-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>System</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">systemDataStr</span>, <span class="tsd-kind-parameter">cachedSystemDataStr</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#initSystem.initSystem-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">systemDataStr</span>: <span class="tsd-signature-type">string</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">cachedSystemDataStr</span>: <span class="tsd-signature-type">string</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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L457">src/system/game-data.ts:457</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isUnlocked" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Unlocked</span><a href="#isUnlocked" 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="isUnlocked.isUnlocked-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Unlocked</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">unlockable</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isUnlocked.isUnlocked-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>Checks if an <code>Unlockable</code> has been unlocked.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">unlockable</span>: <a href="../enums/system_unlockables.Unlockables.html" class="tsd-signature-type tsd-kind-enum">Unlockables</a></span><div class="tsd-comment tsd-typography"><p>The Unlockable to check</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><code>true</code> if the player has unlocked this <code>Unlockable</code> or an override has enabled it</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L381">src/system/game-data.ts:381</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="loadMappingConfigs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load<wbr/>Mapping<wbr/>Configs</span><a href="#loadMappingConfigs" 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="loadMappingConfigs.loadMappingConfigs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>Mapping<wbr/>Configs</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="#loadMappingConfigs.loadMappingConfigs-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 the mapping configurations from localStorage and injects them into the input controller.</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the configurations are successfully loaded and injected; <code>false</code> if no configurations are found in localStorage.</p>
<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>This method checks if the 'mappingConfigs' entry exists in localStorage. If it does not exist, the method returns <code>false</code>.
If 'mappingConfigs' exists, it parses the configurations and injects each configuration into the input controller
for the corresponding gamepad or device key. The method then returns <code>true</code> to indicate success.</p>
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L785">src/system/game-data.ts:785</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="loadSession" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load<wbr/>Session</span><a href="#loadSession" 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="loadSession.loadSession-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>Session</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">slotId</span>, <span class="tsd-kind-parameter">sessionData</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#loadSession.loadSession-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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">slotId</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">sessionData</span>: <a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a></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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1012">src/system/game-data.ts:1012</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="loadSystem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load<wbr/>System</span><a href="#loadSystem" 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="loadSystem.loadSystem-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>System</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#loadSystem.loadSystem-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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L424">src/system/game-data.ts:424</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="migrateStarterAbilities" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>migrate<wbr/>Starter<wbr/>Abilities</span><a href="#migrateStarterAbilities" 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="migrateStarterAbilities.migrateStarterAbilities-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">migrate<wbr/>Starter<wbr/>Abilities</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">systemData</span>, <span class="tsd-kind-parameter">initialStarterData</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="#migrateStarterAbilities.migrateStarterAbilities-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">systemData</span>: <a href="../interfaces/system_game_data.SystemSaveData.html" class="tsd-signature-type tsd-kind-interface">SystemSaveData</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">initialStarterData</span>: <a href="../interfaces/system_game_data.StarterData.html" class="tsd-signature-type tsd-kind-interface">StarterData</a></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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1927">src/system/game-data.ts:1927</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="offlineNewClear" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>offline<wbr/>New<wbr/>Clear</span><a href="#offlineNewClear" 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="offlineNewClear.offlineNewClear-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">offline<wbr/>New<wbr/>Clear</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#offlineNewClear.offlineNewClear-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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1163">src/system/game-data.ts:1163</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="parseSessionData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>parse<wbr/>Session<wbr/>Data</span><a href="#parseSessionData" 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="parseSessionData.parseSessionData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">parse<wbr/>Session<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dataStr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a><a href="#parseSessionData.parseSessionData-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">dataStr</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1229">src/system/game-data.ts:1229</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="parseSystemData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>parse<wbr/>System<wbr/>Data</span><a href="#parseSystemData" 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="parseSystemData.parseSystemData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">parse<wbr/>System<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dataStr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/system_game_data.SystemSaveData.html" class="tsd-signature-type tsd-kind-interface">SystemSaveData</a><a href="#parseSystemData.parseSystemData-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">dataStr</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/system_game_data.SystemSaveData.html" class="tsd-signature-type tsd-kind-interface">SystemSaveData</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L669">src/system/game-data.ts:669</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="resetMappingToFactory" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Mapping<wbr/>To<wbr/>Factory</span><a href="#resetMappingToFactory" 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="resetMappingToFactory.resetMappingToFactory-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Mapping<wbr/>To<wbr/>Factory</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="#resetMappingToFactory.resetMappingToFactory-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">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L799">src/system/game-data.ts:799</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>All</span><a href="#saveAll" 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="saveAll.saveAll-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>All</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">skipVerification</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">sync</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">useCachedSession</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">useCachedSystem</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#saveAll.saveAll-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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">skipVerification</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">sync</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">useCachedSession</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">useCachedSystem</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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1301">src/system/game-data.ts:1301</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveControlSetting" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>Control<wbr/>Setting</span><a href="#saveControlSetting" 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="saveControlSetting.saveControlSetting-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>Control<wbr/>Setting</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">device</span>, <span class="tsd-kind-parameter">localStoragePropertyName</span>, <span class="tsd-kind-parameter">setting</span>, <span class="tsd-kind-parameter">settingDefaults</span>, <span class="tsd-kind-parameter">valueIndex</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#saveControlSetting.saveControlSetting-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>Saves a gamepad setting to localStorage.</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">device</span>: <a href="../enums/enums_devices.Device.html" class="tsd-signature-type tsd-kind-enum">Device</a></span></li><li><span><span class="tsd-kind-parameter">localStoragePropertyName</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">setting</span>: <a href="../enums/system_settings_settings_gamepad.SettingGamepad.html" class="tsd-signature-type tsd-kind-enum">SettingGamepad</a><span class="tsd-signature-symbol"> | </span><a href="../enums/system_settings_settings_keyboard.SettingKeyboard.html" class="tsd-signature-type tsd-kind-enum">SettingKeyboard</a></span><div class="tsd-comment tsd-typography"><p>The gamepad setting to save.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">settingDefaults</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">valueIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The index of the value to set for the gamepad setting.</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><code>true</code> if the setting is successfully saved.</p>
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Remarks-1" class="tsd-anchor"></a>Remarks<a href="#Remarks-1" 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>This method initializes an empty object for gamepad settings if none exist in localStorage.
It then updates the setting in the current scene and iterates over the default gamepad settings
to update the specified setting with the new value. Finally, it saves the updated settings back
to localStorage and returns <code>true</code> to indicate success.</p>
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L821">src/system/game-data.ts:821</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveMappingConfigs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>Mapping<wbr/>Configs</span><a href="#saveMappingConfigs" 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="saveMappingConfigs.saveMappingConfigs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>Mapping<wbr/>Configs</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">deviceName</span>, <span class="tsd-kind-parameter">config</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#saveMappingConfigs.saveMappingConfigs-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>Saves the mapping configurations for a specified device.</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">deviceName</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the device for which the configurations are being saved.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The configuration object containing custom mapping details.</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><code>true</code> if the configurations are successfully saved.</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L761">src/system/game-data.ts:761</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveRunHistory" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>Run<wbr/>History</span><a href="#saveRunHistory" 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="saveRunHistory.saveRunHistory-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>Run<wbr/>History</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">runEntry</span>, <span class="tsd-kind-parameter">isVictory</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#saveRunHistory.saveRunHistory-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>Saves a new entry to Run History</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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">runEntry</span>: <a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a></span></li><li><span><span class="tsd-kind-parameter">isVictory</span>: <span class="tsd-signature-type">boolean</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">boolean</span><span class="tsd-signature-symbol">&gt;</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L634">src/system/game-data.ts:634</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveSeenDialogue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>Seen<wbr/>Dialogue</span><a href="#saveSeenDialogue" 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="saveSeenDialogue.saveSeenDialogue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>Seen<wbr/>Dialogue</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dialogue</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#saveSeenDialogue.saveSeenDialogue-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">dialogue</span>: <span class="tsd-signature-type">string</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L921">src/system/game-data.ts:921</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveSetting" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>Setting</span><a href="#saveSetting" 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="saveSetting.saveSetting-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>Setting</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">setting</span>, <span class="tsd-kind-parameter">valueIndex</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#saveSetting.saveSetting-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>Saves a setting to localStorage</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">setting</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>string ideally of SettingKeys</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">valueIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>index of the setting's option</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>true</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L738">src/system/game-data.ts:738</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveSystem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>System</span><a href="#saveSystem" 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="saveSystem.saveSystem-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>System</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#saveSystem.saveSystem-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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L388">src/system/game-data.ts:388</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="saveTutorialFlag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>save<wbr/>Tutorial<wbr/>Flag</span><a href="#saveTutorialFlag" 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="saveTutorialFlag.saveTutorialFlag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">save<wbr/>Tutorial<wbr/>Flag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tutorial</span>, <span class="tsd-kind-parameter">flag</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#saveTutorialFlag.saveTutorialFlag-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">tutorial</span>: <a href="../enums/tutorial.Tutorial.html" class="tsd-signature-type tsd-kind-enum">Tutorial</a></span></li><li><span><span class="tsd-kind-parameter">flag</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L882">src/system/game-data.ts:882</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setEggMoveUnlocked" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Egg<wbr/>Move<wbr/>Unlocked</span><a href="#setEggMoveUnlocked" 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="setEggMoveUnlocked.setEggMoveUnlocked-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Egg<wbr/>Move<wbr/>Unlocked</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">eggMoveIndex</span>, <span class="tsd-kind-parameter">showMessage</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">prependSpeciesToMessage</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#setEggMoveUnlocked.setEggMoveUnlocked-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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">eggMoveIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">showMessage</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 display message for unlocked egg move</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">prependSpeciesToMessage</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Default false. If true, will change message from &quot;X Egg Move Unlocked!&quot; to &quot;Bulbasaur X Egg Move Unlocked!&quot;</p>
</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><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1743">src/system/game-data.ts:1743</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setPokemonCaught" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Pokemon<wbr/>Caught</span><a href="#setPokemonCaught" 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="setPokemonCaught.setPokemonCaught-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Pokemon<wbr/>Caught</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span>, <span class="tsd-kind-parameter">incrementCount</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">fromEgg</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">showMessage</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#setPokemonCaught.setPokemonCaught-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">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">incrementCount</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fromEgg</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">showMessage</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><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><code>true</code> if Pokemon catch unlocked a new starter, <code>false</code> if Pokemon catch did not unlock a starter</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1585">src/system/game-data.ts:1585</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setPokemonSeen" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Pokemon<wbr/>Seen</span><a href="#setPokemonSeen" 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="setPokemonSeen.setPokemonSeen-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Pokemon<wbr/>Seen</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span>, <span class="tsd-kind-parameter">incrementCount</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">trainer</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="#setPokemonSeen.setPokemonSeen-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">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">incrementCount</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li><li><span><span class="tsd-kind-parameter">trainer</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1558">src/system/game-data.ts:1558</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setPokemonSpeciesCaught" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Pokemon<wbr/>Species<wbr/>Caught</span><a href="#setPokemonSpeciesCaught" 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="setPokemonSpeciesCaught.setPokemonSpeciesCaught-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Pokemon<wbr/>Species<wbr/>Caught</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span>, <span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">incrementCount</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">fromEgg</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">showMessage</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#setPokemonSpeciesCaught.setPokemonSpeciesCaught-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">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">incrementCount</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fromEgg</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">showMessage</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><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><code>true</code> if Pokemon catch unlocked a new starter, <code>false</code> if Pokemon catch did not unlock a starter</p>
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1605">src/system/game-data.ts:1605</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="tryClearSession" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Clear<wbr/>Session</span><a href="#tryClearSession" 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="tryClearSession.tryClearSession-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Clear<wbr/>Session</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">slotId</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-symbol">[</span>success<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span>newClear<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</span><a href="#tryClearSession.tryClearSession-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>Attempt to clear session data. After session data is removed, attempt to update user info so the menu updates</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">scene</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">slotId</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-symbol">[</span>success<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">, </span>newClear<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">&gt;</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1194">src/system/game-data.ts:1194</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="tryExportData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Export<wbr/>Data</span><a href="#tryExportData" 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="tryExportData.tryExportData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Export<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dataType</span>, <span class="tsd-kind-parameter">slotId</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#tryExportData.tryExportData-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">dataType</span>: <a href="../enums/enums_game_data_type.GameDataType.html" class="tsd-signature-type tsd-kind-enum">GameDataType</a></span></li><li><span><span class="tsd-kind-parameter">slotId</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1359">src/system/game-data.ts:1359</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="updateSpeciesDexIvs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Species<wbr/>Dex<wbr/>Ivs</span><a href="#updateSpeciesDexIvs" 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="updateSpeciesDexIvs.updateSpeciesDexIvs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Species<wbr/>Dex<wbr/>Ivs</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">speciesId</span>, <span class="tsd-kind-parameter">ivs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateSpeciesDexIvs.updateSpeciesDexIvs-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">speciesId</span>: <a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a></span></li><li><span><span class="tsd-kind-parameter">ivs</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L1776">src/system/game-data.ts:1776</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="verify" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>verify</span><a href="#verify" 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="verify.verify-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">verify</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">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#verify.verify-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">boolean</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/3a5f3c39cda4a55df93517819a009bf328aacc17/src/system/game-data.ts#L704">src/system/game-data.ts:704</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#achvUnlocks" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>achv<wbr/>Unlocks</span></a><a href="#dexData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dex<wbr/>Data</span></a><a href="#eggPity" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>egg<wbr/>Pity</span></a><a href="#eggs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>eggs</span></a><a href="#gameStats" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game<wbr/>Stats</span></a><a href="#gender" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gender</span></a><a href="#runHistory" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>run<wbr/>History</span></a><a href="#secretId" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>secret<wbr/>Id</span></a><a href="#starterData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>starter<wbr/>Data</span></a><a href="#trainerId" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trainer<wbr/>Id</span></a><a href="#unlockPity" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>unlock<wbr/>Pity</span></a><a href="#unlocks" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>unlocks</span></a><a href="#voucherCounts" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>voucher<wbr/>Counts</span></a><a href="#voucherUnlocks" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>voucher<wbr/>Unlocks</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addStarterCandy" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Starter<wbr/>Candy</span></a><a href="#clearLocalData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Local<wbr/>Data</span></a><a href="#consolidateDexData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>consolidate<wbr/>Dex<wbr/>Data</span></a><a href="#convertSystemDataStr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>convert<wbr/>System<wbr/>Data<wbr/>Str</span></a><a href="#deleteSession" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Session</span></a><a href="#getDexAttrLuck" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dex<wbr/>Attr<wbr/>Luck</span></a><a href="#getFormAttr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Form<wbr/>Attr</span></a><a href="#getFormIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Form<wbr/>Index</span></a><a href="#getNaturesForAttr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Natures<wbr/>For<wbr/>Attr</span></a><a href="#getRunHistoryData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Run<wbr/>History<wbr/>Data</span></a><a href="#getSeenDialogues" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Seen<wbr/>Dialogues</span></a><a href="#getSession" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Session</span></a><a href="#getSessionSaveData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Session<wbr/>Save<wbr/>Data</span></a><a href="#getSpeciesCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Count</span></a><a href="#getSpeciesDefaultDexAttr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Default<wbr/>Dex<wbr/>Attr</span></a><a href="#getSpeciesDefaultNature" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Default<wbr/>Nature</span></a><a href="#getSpeciesDefaultNatureAttr" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Default<wbr/>Nature<wbr/>Attr</span></a><a href="#getSpeciesDexAttrProps" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Dex<wbr/>Attr<wbr/>Props</span></a><a href="#getSpeciesStarterValue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Starter<wbr/>Value</span></a><a href="#getStarterCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Starter<wbr/>Count</span></a><a href="#getStarterSpeciesDefaultAbilityIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Starter<wbr/>Species<wbr/>Default<wbr/>Ability<wbr/>Index</span></a><a href="#getSystemSaveData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>System<wbr/>Save<wbr/>Data</span></a><a href="#getTutorialFlags" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tutorial<wbr/>Flags</span></a><a href="#importData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>import<wbr/>Data</span></a><a href="#incrementRibbonCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increment<wbr/>Ribbon<wbr/>Count</span></a><a href="#initSystem" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>System</span></a><a href="#isUnlocked" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Unlocked</span></a><a href="#loadMappingConfigs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Mapping<wbr/>Configs</span></a><a href="#loadSession" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Session</span></a><a href="#loadSystem" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>System</span></a><a href="#migrateStarterAbilities" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>migrate<wbr/>Starter<wbr/>Abilities</span></a><a href="#offlineNewClear" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>offline<wbr/>New<wbr/>Clear</span></a><a href="#parseSessionData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>parse<wbr/>Session<wbr/>Data</span></a><a href="#parseSystemData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>parse<wbr/>System<wbr/>Data</span></a><a href="#resetMappingToFactory" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Mapping<wbr/>To<wbr/>Factory</span></a><a href="#saveAll" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>All</span></a><a href="#saveControlSetting" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Control<wbr/>Setting</span></a><a href="#saveMappingConfigs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Mapping<wbr/>Configs</span></a><a href="#saveRunHistory" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Run<wbr/>History</span></a><a href="#saveSeenDialogue" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Seen<wbr/>Dialogue</span></a><a href="#saveSetting" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Setting</span></a><a href="#saveSystem" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>System</span></a><a href="#saveTutorialFlag" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Tutorial<wbr/>Flag</span></a><a href="#setEggMoveUnlocked" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Egg<wbr/>Move<wbr/>Unlocked</span></a><a href="#setPokemonCaught" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pokemon<wbr/>Caught</span></a><a href="#setPokemonSeen" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pokemon<wbr/>Seen</span></a><a href="#setPokemonSpeciesCaught" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pokemon<wbr/>Species<wbr/>Caught</span></a><a href="#tryClearSession" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Clear<wbr/>Session</span></a><a href="#tryExportData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Export<wbr/>Data</span></a><a href="#updateSpeciesDexIvs" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Species<wbr/>Dex<wbr/>Ivs</span></a><a href="#verify" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>verify</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>pokemon-rogue-battle</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>