</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">trainerTypeToDeriveFrom</span>: <ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a><spanclass="tsd-signature-symbol"> = null</span></span><divclass="tsd-comment tsd-typography"><p>The trainer type to derive from. (If null, the this.trainerType property will be used.)</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">trainerSlot</span>: <ahref="../enums/data_trainer_config.TrainerSlot.html"class="tsd-signature-type tsd-kind-enum">TrainerSlot</a><spanclass="tsd-signature-symbol"> = TrainerSlot.NONE</span></span><divclass="tsd-comment tsd-typography"><p>The slot to determine which title to use. Defaults to TrainerSlot.NONE.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">variant</span>: <ahref="../enums/field_trainer.TrainerVariant.html"class="tsd-signature-type tsd-kind-enum">TrainerVariant</a></span><divclass="tsd-comment tsd-typography"><p>The variant of the trainer to determine the specific title.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dc30dd33b226a22d3ce32df4d8f442f53f2ed04e/src/data/trainer-config.ts#L730">src/data/trainer-config.ts:730</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initForChampion"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Champion</span><ahref="#initForChampion"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="initForChampion.initForChampion-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>For<wbr/>Champion</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">signatureSpecies</span>, <spanclass="tsd-kind-parameter">isMale</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#initForChampion.initForChampion-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Initializes the trainer configuration for a Champion.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the Champion.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isMale</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether the Champion is Male or Female (for localization of the title).</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dc30dd33b226a22d3ce32df4d8f442f53f2ed04e/src/data/trainer-config.ts#L680">src/data/trainer-config.ts:680</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initForEliteFour"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Elite<wbr/>Four</span><ahref="#initForEliteFour"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="initForEliteFour.initForEliteFour-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>For<wbr/>Elite<wbr/>Four</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">signatureSpecies</span>, <spanclass="tsd-kind-parameter">isMale</span>, <spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#initForEliteFour.initForEliteFour-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Initializes the trainer configuration for an Elite Four member.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the Elite Four member.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isMale</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether the Elite Four Member is Male or Female (for localization of the title).</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagRest">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span>: <ahref="../enums/data_type.Type.html"class="tsd-signature-type tsd-kind-enum">Type</a><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The specialty types for the Elite Four member.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dc30dd33b226a22d3ce32df4d8f442f53f2ed04e/src/data/trainer-config.ts#L626">src/data/trainer-config.ts:626</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initForEvilTeamLeader"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Leader</span><ahref="#initForEvilTeamLeader"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="initForEvilTeamLeader.initForEvilTeamLeader-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Leader</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">title</span>, <spanclass="tsd-kind-parameter">signatureSpecies</span>, <spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#initForEvilTeamLeader.initForEvilTeamLeader-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Initializes the trainer configuration for an evil team leader. Temporarily hardcoding evil leader teams though.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">title</span>: <spanclass="tsd-signature-type">string</span></span></li><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the evil team leader.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagRest">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span>: <ahref="../enums/data_type.Type.html"class="tsd-signature-type tsd-kind-enum">Type</a><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The specialty types for the evil team Leader.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dc30dd33b226a22d3ce32df4d8f442f53f2ed04e/src/data/trainer-config.ts#L536">src/data/trainer-config.ts:536</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initForGymLeader"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Gym<wbr/>Leader</span><ahref="#initForGymLeader"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="initForGymLeader.initForGymLeader-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>For<wbr/>Gym<wbr/>Leader</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">signatureSpecies</span>, <spanclass="tsd-kind-parameter">isMale</span>, <spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#initForGymLeader.initForGymLeader-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Initializes the trainer configuration for a Gym Leader.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the Gym Leader.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isMale</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether the Gym Leader is Male or Not (for localization of the title).</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagRest">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span>: <ahref="../enums/data_type.Type.html"class="tsd-signature-type tsd-kind-enum">Type</a><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The specialty types for the Gym Leader.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">nameDouble</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the pair (e.g. "red_blue_double").</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">titleDouble</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>the key for the title in the i18n file. (e.g., "champion_double").</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dc30dd33b226a22d3ce32df4d8f442f53f2ed04e/src/data/trainer-config.ts#L419">src/data/trainer-config.ts:419</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="setDoubleTrainerType"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Double<wbr/>Trainer<wbr/>Type</span><ahref="#setDoubleTrainerType"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="setDoubleTrainerType.setDoubleTrainerType-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Double<wbr/>Trainer<wbr/>Type</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">trainerTypeDouble</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#setDoubleTrainerType.setDoubleTrainerType-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets the trainer type for double battles.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">trainerTypeDouble</span>: <ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><divclass="tsd-comment tsd-typography"><p>The TrainerType of the partner in a double battle.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">nameDouble</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the double trainer (e.g., "Ace Duo" for Trainer Class Doubles or "red_blue_double" for NAMED trainer doubles).</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">doubleEncounterBgm</span>: <spanclass="tsd-signature-type">string</span><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><divclass="tsd-comment tsd-typography"><p>The encounter BGM for the double trainer, which can be a TrainerType or a string.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/dc30dd33b226a22d3ce32df4d8f442f53f2ed04e/src/data/trainer-config.ts#L380">src/data/trainer-config.ts:380</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="setHasGenders"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Has<wbr/>Genders</span><ahref="#setHasGenders"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="setHasGenders.setHasGenders-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Has<wbr/>Genders</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">nameFemale</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">femaleEncounterBgm</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#setHasGenders.setHasGenders-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets the configuration for trainers with genders, including the female name and encounter background music (BGM).</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">nameFemale</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the female trainer. If 'Ivy', a localized name will be assigned.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">femaleEncounterBgm</span>: <spanclass="tsd-signature-type">string</span><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><divclass="tsd-comment tsd-typography"><p>The encounter BGM for the female trainer, which can be a TrainerType or a string.</p>