mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 17:26:11 +00:00
95 lines
146 KiB
HTML
95 lines
146 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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L232">src/system/game-data.ts:232</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-index-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#defaultDexData" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Dex<wbr/>Data</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#scene" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a>
|
|
<a href="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 tsd-is-private"><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#fixLegendaryStats" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fix<wbr/>Legendary<wbr/>Stats</span></a>
|
|
<a href="system_game_data.GameData.html#fixStarterData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fix<wbr/>Starter<wbr/>Data</span></a>
|
|
<a href="system_game_data.GameData.html#fixVariantData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fix<wbr/>Variant<wbr/>Data</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#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 tsd-is-private"><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#initDexData" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Dex<wbr/>Data</span></a>
|
|
<a href="system_game_data.GameData.html#initStarterData" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Starter<wbr/>Data</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#loadGamepadSettings" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Gamepad<wbr/>Settings</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#loadSettings" class="tsd-index-link tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Settings</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 tsd-is-private"><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#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><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L257">src/system/game-data.ts:257</a></li></ul></aside></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L249">src/system/game-data.ts:249</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="defaultDexData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>default<wbr/>Dex<wbr/>Data</span><a href="#defaultDexData" 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">default<wbr/>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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L241">src/system/game-data.ts:241</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L240">src/system/game-data.ts:240</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L254">src/system/game-data.ts:254</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L253">src/system/game-data.ts:253</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L245">src/system/game-data.ts:245</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/system_game_data.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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L238">src/system/game-data.ts:238</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-private"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>scene</span><a href="#scene" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">scene</span><span class="tsd-signature-symbol">:</span> <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L233">src/system/game-data.ts:233</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L236">src/system/game-data.ts:236</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L243">src/system/game-data.ts:243</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L235">src/system/game-data.ts:235</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L255">src/system/game-data.ts:255</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L247">src/system/game-data.ts:247</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L252">src/system/game-data.ts:252</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L251">src/system/game-data.ts:251</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><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-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">count</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1478">src/system/game-data.ts:1478</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L562">src/system/game-data.ts:562</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1645">src/system/game-data.ts:1645</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="convertSystemDataStr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <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 tsd-is-private"><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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L530">src/system/game-data.ts:530</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L952">src/system/game-data.ts:952</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fixLegendaryStats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fix<wbr/>Legendary<wbr/>Stats</span><a href="#fixLegendaryStats" 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="fixLegendaryStats.fixLegendaryStats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fix<wbr/>Legendary<wbr/>Stats</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">systemData</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#fixLegendaryStats.fixLegendaryStats-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>: <span class="tsd-signature-type">SystemSaveData</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1732">src/system/game-data.ts:1732</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fixStarterData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fix<wbr/>Starter<wbr/>Data</span><a href="#fixStarterData" 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="fixStarterData.fixStarterData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fix<wbr/>Starter<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">systemData</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#fixStarterData.fixStarterData-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>: <span class="tsd-signature-type">SystemSaveData</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1726">src/system/game-data.ts:1726</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fixVariantData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fix<wbr/>Variant<wbr/>Data</span><a href="#fixVariantData" 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="fixVariantData.fixVariantData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fix<wbr/>Variant<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">systemData</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#fixVariantData.fixVariantData-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>: <span class="tsd-signature-type">SystemSaveData</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1680">src/system/game-data.ts:1680</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1596">src/system/game-data.ts:1596</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1641">src/system/game-data.ts:1641</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1630">src/system/game-data.ts:1630</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><a href="../enums/data_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></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/data_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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1600">src/system/game-data.ts:1600</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L764">src/system/game-data.ts:764</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"><</span><a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a><span class="tsd-signature-symbol">></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"><</span><a href="../interfaces/system_game_data.SessionSaveData.html" class="tsd-signature-type tsd-kind-interface">SessionSaveData</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L802">src/system/game-data.ts:802</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="getSessionSaveData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <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 tsd-is-private"><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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L781">src/system/game-data.ts:781</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><span class="tsd-signature-symbol"> => </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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1525">src/system/game-data.ts:1525</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1548">src/system/game-data.ts:1548</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/data_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/data_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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1582">src/system/game-data.ts:1582</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1592">src/system/game-data.ts:1592</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1563">src/system/game-data.ts:1563</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/data_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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1610">src/system/game-data.ts:1610</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><span class="tsd-signature-symbol"> => </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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1536">src/system/game-data.ts:1536</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1577">src/system/game-data.ts:1577</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><span class="tsd-signature-type">SystemSaveData</span><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 <span class="tsd-signature-type">SystemSaveData</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L286">src/system/game-data.ts:286</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L735">src/system/game-data.ts:735</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/system_game_data.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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1192">src/system/game-data.ts:1192</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1446">src/system/game-data.ts:1446</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="initDexData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>init<wbr/>Dex<wbr/>Data</span><a href="#initDexData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="initDexData.initDexData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Dex<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="#initDexData.initDexData-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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1294">src/system/game-data.ts:1294</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="initStarterData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>init<wbr/>Starter<wbr/>Data</span><a href="#initStarterData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="initStarterData.initStarterData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Starter<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="#initStarterData.initStarterData-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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1328">src/system/game-data.ts:1328</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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 ts-flagOptional">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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L375">src/system/game-data.ts:375</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="loadGamepadSettings" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>load<wbr/>Gamepad<wbr/>Settings</span><a href="#loadGamepadSettings" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="loadGamepadSettings.loadGamepadSettings-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>Gamepad<wbr/>Settings</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="#loadGamepadSettings.loadGamepadSettings-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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L701">src/system/game-data.ts:701</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>Remarks</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L624">src/system/game-data.ts:624</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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 ts-flagOptional">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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L841">src/system/game-data.ts:841</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="loadSettings" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>load<wbr/>Settings</span><a href="#loadSettings" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-private"><li class="tsd-signature tsd-anchor-link"><a id="loadSettings.loadSettings-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>Settings</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="#loadSettings.loadSettings-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 Settings from local storage if available</p>
|
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if succesful, false if not</p>
|
|
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L687">src/system/game-data.ts:687</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L342">src/system/game-data.ts:342</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>: <span class="tsd-signature-type">SystemSaveData</span></span></li><li><span><code class="tsd-tag ts-flagOptional">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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1657">src/system/game-data.ts:1657</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L988">src/system/game-data.ts:988</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1048">src/system/game-data.ts:1048</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-private"><a id="parseSystemData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <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 tsd-is-private"><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><span class="tsd-signature-type">SystemSaveData</span><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 <span class="tsd-signature-type">SystemSaveData</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L511">src/system/game-data.ts:511</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L638">src/system/game-data.ts:638</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1094">src/system/game-data.ts:1094</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>Remarks</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L659">src/system/game-data.ts:659</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L600">src/system/game-data.ts:600</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L753">src/system/game-data.ts:753</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L578">src/system/game-data.ts:578</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L306">src/system/game-data.ts:306</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L714">src/system/game-data.ts:714</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-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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></li><li><span><span class="tsd-kind-parameter">eggMoveIndex</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1483">src/system/game-data.ts:1483</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-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></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></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">fromEgg</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1368">src/system/game-data.ts:1368</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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1349">src/system/game-data.ts:1349</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-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></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></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></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">fromEgg</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1372">src/system/game-data.ts:1372</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"><</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">></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-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"><</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">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1015">src/system/game-data.ts:1015</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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/system_game_data.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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1152">src/system/game-data.ts:1152</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/data_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/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L1509">src/system/game-data.ts:1509</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/7da8bdfdb62038319d18b6e95a76c47723bdc98d/src/system/game-data.ts#L544">src/system/game-data.ts:544</a></li></ul></aside></li></ul></section></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-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"><h4 class="uppercase">Member Visibility</h4><form><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-private" name="private"/><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>Private</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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><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-index-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"><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><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="#defaultDexData" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Dex<wbr/>Data</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="#scene" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a><a href="#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><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="tsd-is-private"><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="#fixLegendaryStats" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fix<wbr/>Legendary<wbr/>Stats</span></a><a href="#fixStarterData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fix<wbr/>Starter<wbr/>Data</span></a><a href="#fixVariantData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fix<wbr/>Variant<wbr/>Data</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="#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="tsd-is-private"><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="#initDexData" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Dex<wbr/>Data</span></a><a href="#initStarterData" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Starter<wbr/>Data</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="#loadGamepadSettings" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Gamepad<wbr/>Settings</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="#loadSettings" class="tsd-is-private"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>load<wbr/>Settings</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="tsd-is-private"><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="#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><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> |