pokerogue/main/classes/data_trainer_config.Trainer...

141 lines
134 KiB
HTML
Raw Normal View History

2024-06-17 22:06:36 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>TrainerConfig | 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/data_trainer_config.html">data/trainer-config</a></li><li><a href="data_trainer_config.TrainerConfig.html">TrainerConfig</a></li></ul><h1>Class TrainerConfig</h1></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L174">src/data/trainer-config.ts:174</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="data_trainer_config.TrainerConfig.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2024-05-31 13:57:14 +00:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="data_trainer_config.TrainerConfig.html#battleBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Bgm</span></a>
<a href="data_trainer_config.TrainerConfig.html#defeatMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>defeat<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#doubleDefeatMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>double<wbr/>Defeat<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#doubleEncounterBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>double<wbr/>Encounter<wbr/>Bgm</span></a>
<a href="data_trainer_config.TrainerConfig.html#doubleEncounterMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>double<wbr/>Encounter<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#doubleOnly" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>double<wbr/>Only</span></a>
<a href="data_trainer_config.TrainerConfig.html#doubleVictoryMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>double<wbr/>Victory<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#encounterBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>encounter<wbr/>Bgm</span></a>
<a href="data_trainer_config.TrainerConfig.html#encounterMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>encounter<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#femaleDefeatMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>female<wbr/>Defeat<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#femaleEncounterBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>female<wbr/>Encounter<wbr/>Bgm</span></a>
<a href="data_trainer_config.TrainerConfig.html#femaleEncounterMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>female<wbr/>Encounter<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#femaleVictoryMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>female<wbr/>Victory<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#genModifiersFunc" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gen<wbr/>Modifiers<wbr/>Func</span></a>
<a href="data_trainer_config.TrainerConfig.html#hasCharSprite" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Char<wbr/>Sprite</span></a>
<a href="data_trainer_config.TrainerConfig.html#hasDouble" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Double</span></a>
<a href="data_trainer_config.TrainerConfig.html#hasGenders" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Genders</span></a>
<a href="data_trainer_config.TrainerConfig.html#hasStaticParty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Static<wbr/>Party</span></a>
<a href="data_trainer_config.TrainerConfig.html#isBoss" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Boss</span></a>
2024-06-09 01:52:53 +00:00
<a href="data_trainer_config.TrainerConfig.html#mixedBattleBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mixed<wbr/>Battle<wbr/>Bgm</span></a>
2024-05-31 13:57:14 +00:00
<a href="data_trainer_config.TrainerConfig.html#modifierRewardFuncs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>modifier<wbr/>Reward<wbr/>Funcs</span></a>
<a href="data_trainer_config.TrainerConfig.html#moneyMultiplier" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>money<wbr/>Multiplier</span></a>
<a href="data_trainer_config.TrainerConfig.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
<a href="data_trainer_config.TrainerConfig.html#nameDouble" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name<wbr/>Double</span></a>
<a href="data_trainer_config.TrainerConfig.html#nameFemale" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name<wbr/>Female</span></a>
<a href="data_trainer_config.TrainerConfig.html#partyMemberFuncs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>party<wbr/>Member<wbr/>Funcs</span></a>
<a href="data_trainer_config.TrainerConfig.html#partyTemplateFunc" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>party<wbr/>Template<wbr/>Func</span></a>
<a href="data_trainer_config.TrainerConfig.html#partyTemplates" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>party<wbr/>Templates</span></a>
<a href="data_trainer_config.TrainerConfig.html#specialtyTypes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>specialty<wbr/>Types</span></a>
<a href="data_trainer_config.TrainerConfig.html#speciesFilter" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>species<wbr/>Filter</span></a>
<a href="data_trainer_config.TrainerConfig.html#speciesPools" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>species<wbr/>Pools</span></a>
<a href="data_trainer_config.TrainerConfig.html#title" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>title</span></a>
<a href="data_trainer_config.TrainerConfig.html#titleDouble" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>title<wbr/>Double</span></a>
<a href="data_trainer_config.TrainerConfig.html#trainerType" 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/>Type</span></a>
<a href="data_trainer_config.TrainerConfig.html#trainerTypeDouble" 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/>Type<wbr/>Double</span></a>
<a href="data_trainer_config.TrainerConfig.html#useSameSeedForAllMembers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>use<wbr/>Same<wbr/>Seed<wbr/>For<wbr/>All<wbr/>Members</span></a>
<a href="data_trainer_config.TrainerConfig.html#victoryBgm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>victory<wbr/>Bgm</span></a>
<a href="data_trainer_config.TrainerConfig.html#victoryMessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>victory<wbr/>Messages</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="data_trainer_config.TrainerConfig.html#getDerivedType" 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/>Derived<wbr/>Type</span></a>
<a href="data_trainer_config.TrainerConfig.html#getKey" 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/>Key</span></a>
<a href="data_trainer_config.TrainerConfig.html#getSpriteKey" 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/>Sprite<wbr/>Key</span></a>
<a href="data_trainer_config.TrainerConfig.html#getTitle" 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/>Title</span></a>
<a href="data_trainer_config.TrainerConfig.html#initForChampion" 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/>For<wbr/>Champion</span></a>
<a href="data_trainer_config.TrainerConfig.html#initForEliteFour" 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/>For<wbr/>Elite<wbr/>Four</span></a>
2024-06-09 23:03:48 +00:00
<a href="data_trainer_config.TrainerConfig.html#initForEvilTeamLeader" 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/>For<wbr/>Evil<wbr/>Team<wbr/>Leader</span></a>
2024-05-31 13:57:14 +00:00
<a href="data_trainer_config.TrainerConfig.html#initForGymLeader" 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/>For<wbr/>Gym<wbr/>Leader</span></a>
<a href="data_trainer_config.TrainerConfig.html#loadAssets" 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/>Assets</span></a>
<a href="data_trainer_config.TrainerConfig.html#setBattleBgm" 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/>Battle<wbr/>Bgm</span></a>
<a href="data_trainer_config.TrainerConfig.html#setBoss" 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/>Boss</span></a>
<a href="data_trainer_config.TrainerConfig.html#setDoubleMessages" 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/>Double<wbr/>Messages</span></a>
<a href="data_trainer_config.TrainerConfig.html#setDoubleOnly" 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/>Double<wbr/>Only</span></a>
<a href="data_trainer_config.TrainerConfig.html#setDoubleTitle" 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/>Double<wbr/>Title</span></a>
<a href="data_trainer_config.TrainerConfig.html#setDoubleTrainerType" 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/>Double<wbr/>Trainer<wbr/>Type</span></a>
<a href="data_trainer_config.TrainerConfig.html#setEncounterBgm" 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/>Encounter<wbr/>Bgm</span></a>
<a href="data_trainer_config.TrainerConfig.html#setGenModifiersFunc" 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/>Gen<wbr/>Modifiers<wbr/>Func</span></a>
<a href="data_trainer_config.TrainerConfig.html#setHasCharSprite" 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/>Has<wbr/>Char<wbr/>Sprite</span></a>
<a href="data_trainer_config.TrainerConfig.html#setHasDouble" 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/>Has<wbr/>Double</span></a>
<a href="data_trainer_config.TrainerConfig.html#setHasGenders" 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/>Has<wbr/>Genders</span></a>
2024-06-09 01:52:53 +00:00
<a href="data_trainer_config.TrainerConfig.html#setMixedBattleBgm" 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/>Mixed<wbr/>Battle<wbr/>Bgm</span></a>
2024-05-31 13:57:14 +00:00
<a href="data_trainer_config.TrainerConfig.html#setModifierRewardFuncs" 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/>Modifier<wbr/>Reward<wbr/>Funcs</span></a>
<a href="data_trainer_config.TrainerConfig.html#setMoneyMultiplier" 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/>Money<wbr/>Multiplier</span></a>
<a href="data_trainer_config.TrainerConfig.html#setName" 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/>Name</span></a>
<a href="data_trainer_config.TrainerConfig.html#setPartyMemberFunc" 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/>Party<wbr/>Member<wbr/>Func</span></a>
<a href="data_trainer_config.TrainerConfig.html#setPartyTemplateFunc" 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/>Party<wbr/>Template<wbr/>Func</span></a>
<a href="data_trainer_config.TrainerConfig.html#setPartyTemplates" 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/>Party<wbr/>Templates</span></a>
<a href="data_trainer_config.TrainerConfig.html#setSpecialtyTypes" 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/>Specialty<wbr/>Types</span></a>
<a href="data_trainer_config.TrainerConfig.html#setSpeciesFilter" 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/>Species<wbr/>Filter</span></a>
<a href="data_trainer_config.TrainerConfig.html#setSpeciesPools" 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/>Species<wbr/>Pools</span></a>
<a href="data_trainer_config.TrainerConfig.html#setStaticParty" 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/>Static<wbr/>Party</span></a>
<a href="data_trainer_config.TrainerConfig.html#setTitle" 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/>Title</span></a>
<a href="data_trainer_config.TrainerConfig.html#setUseSameSeedForAllMembers" 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/>Use<wbr/>Same<wbr/>Seed<wbr/>For<wbr/>All<wbr/>Members</span></a>
<a href="data_trainer_config.TrainerConfig.html#setVictoryBgm" 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/>Victory<wbr/>Bgm</span></a>
2024-06-17 22:06:36 +00:00
</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_TrainerConfig" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Trainer<wbr/>Config</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trainerType</span>, <span class="tsd-kind-parameter">allowLegendaries</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#constructor.new_TrainerConfig" 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">trainerType</span>: <a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a></span></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">allowLegendaries</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L217">src/data/trainer-config.ts:217</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="battleBgm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>battle<wbr/>Bgm</span><a href="#battleBgm" 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">battle<wbr/>Bgm</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L191">src/data/trainer-config.ts:191</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="defeatMessages" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>defeat<wbr/>Messages</span><a href="#defeatMessages" 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">defeat<wbr/>Messages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L207">src/data/trainer-config.ts:207</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="doubleDefeatMessages" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>double<wbr/>Defeat<wbr/>Messages</span><a href="#doubleDefeatMessages" 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-
2024-06-13 22:45:37 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">trainerTypeToDeriveFrom</span>: <a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a><span class="tsd-signature-symbol"> = null</span></span><div class="tsd-comment tsd-typography"><p>The trainer type to derive from. (If null, the this.trainerType property will be used.)</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a></h4><ul>
2024-05-31 13:57:14 +00:00
<li>The derived trainer type.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L282">src/data/trainer-config.ts:282</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Key</span><a href="#getKey" 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="getKey.getKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Key</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="#getKey.getKey-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">string</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L227">src/data/trainer-config.ts:227</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpriteKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Sprite<wbr/>Key</span><a href="#getSpriteKey" 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="getSpriteKey.getSpriteKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Sprite<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">female</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">isDouble</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="#getSpriteKey.getSpriteKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">female</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><span class="tsd-kind-parameter">isDouble</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/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L231">src/data/trainer-config.ts:231</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getTitle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Title</span><a href="#getTitle" 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="getTitle.getTitle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Title</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trainerSlot</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">variant</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-ty
2024-05-31 13:57:14 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">trainerSlot</span>: <a href="../enums/data_trainer_config.TrainerSlot.html" class="tsd-signature-type tsd-kind-enum">TrainerSlot</a><span class="tsd-signature-symbol"> = TrainerSlot.NONE</span></span><div class="tsd-comment tsd-typography"><p>The slot to determine which title to use. Defaults to TrainerSlot.NONE.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">variant</span>: <a href="../enums/field_trainer.TrainerVariant.html" class="tsd-signature-type tsd-kind-enum">TrainerVariant</a></span><div class="tsd-comment tsd-typography"><p>The variant of the trainer to determine the specific title.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><ul>
<li>The title of the trainer.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L730">src/data/trainer-config.ts:730</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initForChampion" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Champion</span><a href="#initForChampion" 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="initForChampion.initForChampion-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>For<wbr/>Champion</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">signatureSpecies</span>, <span class="tsd-kind-parameter">isMale</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#initForChampion.initForChampion-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>Initializes the trainer configuration for a Champion.</p>
2024-06-13 22:45:37 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">signatureSpecies</span>: <span class="tsd-signature-symbol">(</span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The signature species for the Champion.</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isMale</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether the Champion is Male or Female (for localization of the title).</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L680">src/data/trainer-config.ts:680</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initForEliteFour" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Elite<wbr/>Four</span><a href="#initForEliteFour" 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="initForEliteFour.initForEliteFour-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>For<wbr/>Elite<wbr/>Four</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">signatureSpecies</span>, <span class="tsd-kind-parameter">isMale</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#initForEliteFour.initForEliteFour-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>Initializes the trainer configuration for an Elite Four member.</p>
2024-06-13 22:45:37 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">signatureSpecies</span>: <span class="tsd-signature-symbol">(</span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The signature species for the Elite Four member.</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isMale</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether the Elite Four Member is Male or Female (for localization of the title).</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span>: <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The specialty types for the Elite Four member.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L626">src/data/trainer-config.ts:626</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initForEvilTeamLeader" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Leader</span><a href="#initForEvilTeamLeader" 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="initForEvilTeamLeader.initForEvilTeamLeader-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Leader</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">title</span>, <span class="tsd-kind-parameter">signatureSpecies</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#initForEvilTeamLeader.initForEvilTeamLeader-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>Initializes the trainer configuration for an evil team leader. Temporarily hardcoding evil leader teams though.</p>
2024-06-13 22:45:37 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">title</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">signatureSpecies</span>: <span class="tsd-signature-symbol">(</span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The signature species for the evil team leader.</p>
2024-06-09 23:03:48 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span>: <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The specialty types for the evil team Leader.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
<ul>
<li></li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L536">src/data/trainer-config.ts:536</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initForGymLeader" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Gym<wbr/>Leader</span><a href="#initForGymLeader" 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="initForGymLeader.initForGymLeader-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>For<wbr/>Gym<wbr/>Leader</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">signatureSpecies</span>, <span class="tsd-kind-parameter">isMale</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#initForGymLeader.initForGymLeader-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>Initializes the trainer configuration for a Gym Leader.</p>
2024-06-13 22:45:37 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">signatureSpecies</span>: <span class="tsd-signature-symbol">(</span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The signature species for the Gym Leader.</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isMale</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Whether the Gym Leader is Male or Not (for localization of the title).</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span>: <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The specialty types for the Gym Leader.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
<ul>
<li></li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L570">src/data/trainer-config.ts:570</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="loadAssets" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>load<wbr/>Assets</span><a href="#loadAssets" 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="loadAssets.loadAssets-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">load<wbr/>Assets</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">variant</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#loadAssets.loadAssets-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">variant</span>: <a href="../enums/field_trainer.TrainerVariant.html" class="tsd-signature-type tsd-kind-enum">TrainerVariant</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L766">src/data/trainer-config.ts:766</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setBattleBgm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Battle<wbr/>Bgm</span><a href="#setBattleBgm" 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="setBattleBgm.setBattleBgm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Battle<wbr/>Bgm</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">battleBgm</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setBattleBgm.setBattleBgm-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">battleBgm</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L469">src/data/trainer-config.ts:469</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setBoss" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Boss</span><a href="#s
2024-05-31 13:57:14 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nameDouble</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the pair (e.g. &quot;red_blue_double&quot;).</p>
2024-06-17 22:06:36 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L404">src/data/trainer-config.ts:404</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setDoubleOnly" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Double<wbr/>Only</span><a href="#setDoubleOnly" 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="setDoubleOnly.setDoubleOnly-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Double<wbr/>Only</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setDoubleOnly.setDoubleOnly-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="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L439">src/data/trainer-config.ts:439</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setDoubleTitle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Double<wbr/>Title</span><a href="#setDoubleTitle" 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="setDoubleTitle.setDoubleTitle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Double<wbr/>Title</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">titleDouble</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setDoubleTitle.setDoubleTitle-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>Sets the title for double trainers</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">titleDouble</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the key for the title in the i18n file. (e.g., &quot;champion_double&quot;).</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L419">src/data/trainer-config.ts:419</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setDoubleTrainerType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Double<wbr/>Trainer<wbr/>Type</span><a href="#setDoubleTrainerType" 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="setDoubleTrainerType.setDoubleTrainerType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Double<wbr/>Trainer<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trainerTypeDouble</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setDoubleTrainerType.setDoubleTrainerType-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>Sets the trainer type for double battles.</p>
2024-06-13 22:45:37 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">trainerTypeDouble</span>: <a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><div class="tsd-comment tsd-typography"><p>The TrainerType of the partner in a double battle.</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L394">src/data/trainer-config.ts:394</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setEncounterBgm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Encounter<wbr/>Bgm</span><a href="#setEncounterBgm" 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="setEncounterBgm.setEncounterBgm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Encounter<wbr/>Bgm</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">encounterBgm</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setEncounterBgm.setEncounterBgm-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">encounterBgm</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L474">src/data/trainer-config.ts:474</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setGenModifiersFunc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Gen<wbr/>Modifiers<wbr/>Func</span><a href="#setGenModifiersFunc" 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="setGenModifiersFunc.setGenModifiersFunc-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Gen<wbr/>Modifiers<wbr/>Func</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">genModifiersFunc</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setGenModifiersFunc.setGenModifiersFunc-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">genModifiersFunc</span>: <span class="tsd-signature-type">GenModifiersFunc</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L515">src/data/trainer-config.ts:515</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setHasCharSprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Has<wbr/>Char<wbr/>Sprite</span><a href="#setHasCharSprite" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0
2024-05-31 13:57:14 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nameDouble</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the double trainer (e.g., &quot;Ace Duo&quot; for Trainer Class Doubles or &quot;red_blue_double&quot; for NAMED trainer doubles).</p>
2024-06-13 22:45:37 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">doubleEncounterBgm</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><div class="tsd-comment tsd-typography"><p>The encounter BGM for the double trainer, which can be a TrainerType or a string.</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L380">src/data/trainer-config.ts:380</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setHasGenders" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Has<wbr/>Genders</span><a href="#setHasGenders" 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="setHasGenders.setHasGenders-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Has<wbr/>Genders</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nameFemale</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">femaleEncounterBgm</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setHasGenders.setHasGenders-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>Sets the configuration for trainers with genders, including the female name and encounter background music (BGM).</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">nameFemale</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the female trainer. If &#39;Ivy&#39;, a localized name will be assigned.</p>
2024-06-13 22:45:37 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">femaleEncounterBgm</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><div class="tsd-comment tsd-typography"><p>The encounter BGM for the female trainer, which can be a TrainerType or a string.</p>
2024-05-31 13:57:14 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><ul>
<li>The updated TrainerConfig instance.</li>
</ul>
2024-06-17 22:06:36 +00:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L343">src/data/trainer-config.ts:343</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setMixedBattleBgm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Mixed<wbr/>Battle<wbr/>Bgm</span><a href="#setMixedBattleBgm" 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="setMixedBattleBgm.setMixedBattleBgm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Mixed<wbr/>Battle<wbr/>Bgm</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mixedBattleBgm</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setMixedBattleBgm.setMixedBattleBgm-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">mixedBattleBgm</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b28afa9fa8e9f799c5f77/src/data/trainer-config.ts#L464">src/data/trainer-config.ts:464</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setModifierRewardFuncs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Modifier<wbr/>Reward<wbr/>Funcs</span><a href="#setModifierRewardFuncs" 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="setModifierRewardFuncs.setModifierRewardFuncs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Modifier<wbr/>Reward<wbr/>Funcs</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">modifierTypeFuncs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a><a href="#setModifierRewardFuncs.setModifierRewardFuncs-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">modifierTypeFuncs</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><a href="../types/modifier_modifier_type.ModifierTypeFunc.html" class="tsd-signature-type tsd-kind-type-alias">ModifierTypeFunc</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/3b3b9e39af529fd7660b2