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

150 lines
156 KiB
HTML
Raw Normal View History

2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L180">src/data/trainer-config.ts:180</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="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>
2024-10-26 21:31:27 +00:00
<a href="data_trainer_config.TrainerConfig.html#eventRewardFuncs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>event<wbr/>Reward<wbr/>Funcs</span></a>
2024-05-31 13:57:14 +00:00
<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>
2024-08-17 17:01:18 +00:00
<a href="data_trainer_config.TrainerConfig.html#hasVoucher" 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/>Voucher</span></a>
2024-05-31 13:57:14 +00:00
<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>
2024-09-27 21:52:07 +00:00
</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#clone" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clone</span></a>
<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>
2024-05-31 13:57:14 +00:00
<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-08-17 17:01:18 +00:00
<a href="data_trainer_config.TrainerConfig.html#initForEvilTeamAdmin" 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/>Admin</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>
2024-09-27 21:52:07 +00:00
<a href="data_trainer_config.TrainerConfig.html#initForStatTrainer" 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/>Stat<wbr/>Trainer</span></a>
2024-05-31 13:57:14 +00:00
<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>
2024-10-26 21:31:27 +00:00
<a href="data_trainer_config.TrainerConfig.html#setEventModifierRewardFuncs" 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/>Event<wbr/>Modifier<wbr/>Reward<wbr/>Funcs</span></a>
2024-05-31 13:57:14 +00:00
<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-08-17 17:01:18 +00:00
<a href="data_trainer_config.TrainerConfig.html#setHasVoucher" 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/>Voucher</span></a>
2024-09-27 21:52:07 +00:00
<a href="data_trainer_config.TrainerConfig.html#setLocalizedName" 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/>Localized<wbr/>Name</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-08-17 17:01:18 +00:00
<a href="data_trainer_config.TrainerConfig.html#speciesPoolPerEvilTeamAdmin" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>species<wbr/>Pool<wbr/>Per<wbr/>Evil<wbr/>Team<wbr/>Admin</span></a>
2024-11-17 23:35:40 +00:00
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_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">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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L225">src/data/trainer-config.ts:225</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L197">src/data/trainer-config.ts:197</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-c
</div><h4 class="tsd-returns-title">Returns <a href="data_trainer_config.TrainerConfig.html" class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L1070">src/data/trainer-config.ts:1070</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getDerivedType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Derived<wbr/>Type</span><a href="#getDerivedType" 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="getDerivedType.getDerivedType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Derived<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trainerTypeToDeriveFrom</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_trainer_type.TrainerType.html" class="tsd-signature-type tsd-kind-enum">TrainerType</a><a href="#getDerivedType.getDerivedType-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Returns the derived trainer type for a given trainer type.</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">trainerTypeToDeriveFrom</span>: <span class="tsd-signature-type">null</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 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>
2024-06-13 22:45:37 +00:00
</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-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L300">src/data/trainer-config.ts:300</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L235">src/data/trainer-config.ts:235</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">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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L239">src/data/trainer-config.ts:239</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-type">string</span>
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-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L978">src/data/trainer-config.ts:978</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>
2024-09-27 21:52:07 +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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L914">src/data/trainer-config.ts:914</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>
2024-11-17 23:35:40 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span>: <a href="../enums/enums_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>
2024-09-27 21:52:07 +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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L859">src/data/trainer-config.ts:859</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initForEvilTeamAdmin" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Admin</span><a href="#initForEvilTeamAdmin" 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="initForEvilTeamAdmin.initForEvilTeamAdmin-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Admin</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">title</span>, <span class="tsd-kind-parameter">poolName</span>, <span class="tsd-kind-parameter">signatureSpecies</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="#initForEvilTeamAdmin.initForEvilTeamAdmin-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 admin.</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">title</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The title of the evil team admin.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">poolName</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The evil team the admin belongs to.</p>
</div><div class="tsd-comment tsd-typography"></div></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-09-27 21:52:07 +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><p>The updated TrainerConfig instance.
*</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L690">src/data/trainer-config.ts:690</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-kind-parameter">rematch</span><span class="tsd-signature-symbol">?</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-11-17 23:35:40 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">rematch</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span>: <a href="../enums/enums_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>
2024-09-27 21:52:07 +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><p>The updated TrainerConfig instance.
*</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L763">src/data/trainer-config.ts:763</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>
2024-11-17 23:35:40 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span>: <a href="../enums/enums_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>
2024-09-27 21:52:07 +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><p>The updated TrainerConfig instance.
*</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L802">src/data/trainer-config.ts:802</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initForStatTrainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Stat<wbr/>Trainer</span><a href="#initForStatTrainer" 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="initForStatTrainer.initForStatTrainer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>For<wbr/>Stat<wbr/>Trainer</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="#initForStatTrainer.initForStatTrainer-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 Stat Trainer, as part of the Trainer's Test Mystery Encounter.</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><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>
</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>
2024-11-17 23:35:40 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">specialtyTypes</span>: <a href="../enums/enums_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 Stat Trainer.</p>
2024-09-27 21:52:07 +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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L726">src/data/trainer-config.ts:726</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L1014">src/data/trainer-config.ts:1014</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L499">src/data/trainer-config.ts:499</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="
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-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L434">src/data/trainer-config.ts:434</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/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="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-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L449">src/data/trainer-config.ts:449</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-09-27 21:52:07 +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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L424">src/data/trainer-config.ts:424</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L504">src/data/trainer-config.ts:504</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setEventModifierRewardFuncs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Event<wbr/>Modifier<wbr/>Reward<wbr/>Funcs</span><a href="#setEventModifierRewardFuncs" 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="setEventModifierRewardFuncs.setEventModifierRewardFuncs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Event<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="#setEventModifierRewardFuncs.setEventModifierRewardFuncs-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">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
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-07-27 23:48:18 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">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-09-27 21:52:07 +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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L410">src/data/trainer-config.ts:410</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-07-27 23:48:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">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 'Ivy', a localized name will be assigned.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">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-09-27 21:52:07 +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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L373">src/data/trainer-config.ts:373</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setHasVoucher" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Has<wbr/>Voucher</span><a href="#setHasVoucher" 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="setHasVoucher.setHasVoucher-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Has<wbr/>Voucher</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hasVoucher</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setHasVoucher.setHasVoucher-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 if a boss trainer will have a voucher or not.</p>
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">hasVoucher</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>If the boss trainer will have a voucher.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L274">src/data/trainer-config.ts:274</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="setLocalizedName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Localized<wbr/>Name</span><a href="#setLocalizedName" 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="setLocalizedName.setLocalizedName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Localized<wbr/>Name</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</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="#setLocalizedName.setLocalizedName-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 a localized name for the trainer. This should only be used for trainers that dont use a &quot;initFor&quot; function and are considered &quot;named&quot; trainers</p>
2024-09-27 21:52:07 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the trainer.</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><p>The updated TrainerConfig instance.</p>
2024-11-17 23:35:40 +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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L963">src/data/trainer-config.ts:963</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/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L494">src/data/trainer-config.ts:494</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">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/89a3edba1cdd7d3d73521fac9154133f0a
2024-08-17 17:01:18 +00:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">team</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The evil team the admin belongs to.</p>
2024-11-17 23:35:40 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/data_trainer_config.TrainerTierPools.html" class="tsd-signature-type tsd-kind-interface">TrainerTierPools</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/89a3edba1cdd7d3d73521fac9154133f0add60e9/src/data/trainer-config.ts#L576">src/data/trainer-config.ts:576</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#battleBgm" class=""><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="#defeatMessages" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><spa