pokerogue/main/classes/data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html

40 lines
72 KiB
HTML
Raw Normal View History

2024-10-27 02:36:13 +00:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MysteryEncounterOptionBuilder | 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_mystery_encounters_mystery_encounter_option.html">data/mystery-encounters/mystery-encounter-option</a></li><li><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html">MysteryEncounterOptionBuilder</a></li></ul><h1>Class MysteryEncounterOptionBuilder</h1></div><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">&gt;</span></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L180">src/data/mystery-encounters/mystery-encounter-option.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_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.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-09-27 22:52:07 +01:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#dialogue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>dialogue?</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#excludePrimaryFromSecondaryRequirements" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exclude<wbr/>Primary<wbr/>From<wbr/>Secondary<wbr/>Requirements</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#hasDexProgress" 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/>Dex<wbr/>Progress</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#isDisabledOnRequirementsNotMet" 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/>Disabled<wbr/>On<wbr/>Requirements<wbr/>Not<wbr/>Met</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#optionMode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>option<wbr/>Mode</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#primaryPokemonRequirements" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>primary<wbr/>Pokemon<wbr/>Requirements</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#requirements" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>requirements</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#secondaryPokemonRequirements" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>secondary<wbr/>Pokemon<wbr/>Requirements</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#build" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>build</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withDialogue" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Dialogue</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withHasDexProgress" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Has<wbr/>Dex<wbr/>Progress</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withOptionPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Option<wbr/>Phase</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withPokemonCanLearnMoveRequirement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Pokemon<wbr/>Can<wbr/>Learn<wbr/>Move<wbr/>Requirement</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withPokemonTypeRequirement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Pokemon<wbr/>Type<wbr/>Requirement</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withPostOptionPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Post<wbr/>Option<wbr/>Phase</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withPreOptionPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Pre<wbr/>Option<wbr/>Phase</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withPrimaryPokemonRequirement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Primary<wbr/>Pokemon<wbr/>Requirement</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withSceneMoneyRequirement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Scene<wbr/>Money<wbr/>Requirement</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withSceneRequirement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Scene<wbr/>Requirement</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#withSecondaryPokemonRequirement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>with<wbr/>Secondary<wbr/>Pokemon<wbr/>Requirement</span></a>
<a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#newOptionWithMode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>new<wbr/>Option<wbr/>With<wbr/>Mode</span></a>
2024-10-27 02:36:13 +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_MysteryEncounterOptionBuilder" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Mystery<wbr/>Encounter<wbr/>Option<wbr/>Builder</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><a href="#constructor.new_MysteryEncounterOptionBuilder" 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_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a></h4></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="dialogue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>dialogue</span><a href="#dialogue" 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">dialogue</span><span class="tsd-signature-symbol">?:</span> <a href="data_mystery_encounters_mystery_encounter_dialogue.OptionTextDisplay.html" class="tsd-signature-type tsd-kind-class">OptionTextDisplay</a></div><aside class="tsd-sources"><p>Implementation of Partial.dialogue</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L188">src/data/mystery-encounters/mystery-encounter-option.ts:188</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="excludePrimaryFromSecondaryRequirements" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exclude<wbr/>Primary<wbr/>From<wbr/>Secondary<wbr/>Requirements</span><a href="#excludePrimaryFromSecondaryRequirements" 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">exclude<wbr/>Primary<wbr/>From<wbr/>Secondary<wbr/>Requirements</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><p>Implementation of Partial.excludePrimaryFromSecondaryRequirements</p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L185">src/data/mystery-encounters/mystery-encounter-option.ts:185</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="hasDexProgress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Dex<wbr/>Progres
2024-09-27 22:52:07 +01: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">dialogue</span>: <a href="data_mystery_encounters_mystery_encounter_dialogue.OptionTextDisplay.html" class="tsd-signature-type tsd-kind-class">OptionTextDisplay</a></span><div class="tsd-comment tsd-typography"><p>see <a href="data_mystery_encounters_mystery_encounter_dialogue.OptionTextDisplay.html" class="tsd-kind-class"><code>OptionTextDisplay</code></a></p>
2024-10-27 02:36:13 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</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/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L295">src/data/mystery-encounters/mystery-encounter-option.ts:295</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withHasDexProgress" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Has<wbr/>Dex<wbr/>Progress</span><a href="#withHasDexProgress" 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="withHasDexProgress.withHasDexProgress-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Has<wbr/>Dex<wbr/>Progress</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hasDexProgress</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;hasDexProgress&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#withHasDexProgress.withHasDexProgress-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">hasDexProgress</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;hasDexProgress&quot;</span><span class="tsd-signature-symbol">&gt;</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/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L194">src/data/mystery-encounters/mystery-encounter-option.ts:194</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withOptionPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Option<wbr/>Phase</span><a href="#withOptionPhase" 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="t
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">onOptionPhase</span>: <a href="../types/data_mystery_encounters_mystery_encounter_option.OptionPhaseCallback.html" class="tsd-signature-type tsd-kind-type-alias">OptionPhaseCallback</a></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;onOptionPhase&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L229">src/data/mystery-encounters/mystery-encounter-option.ts:229</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withPokemonCanLearnMoveRequirement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Pokemon<wbr/>Can<wbr/>Learn<wbr/>Move<wbr/>Requirement</span><a href="#withPokemonCanLearnMoveRequirement" 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="withPokemonCanLearnMoveRequirement.withPokemonCanLearnMoveRequirement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Pokemon<wbr/>Can<wbr/>Learn<wbr/>Move<wbr/>Requirement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">move</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;primaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#withPokemonCanLearnMoveRequirement.withPokemonCanLearnMoveRequirement-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>Player is required to have a pokemon that can learn a certain move/moveset</p>
2024-09-27 22:52:07 +01: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">move</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the required move/moves</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/data_mystery_encounters_requirements_can_learn_move_requirement.CanLearnMoveRequirementOptions.html" class="tsd-signature-type tsd-kind-interface">CanLearnMoveRequirementOptions</a></span><div class="tsd-comment tsd-typography"><p>see <a href="../interfaces/data_mystery_encounters_requirements_can_learn_move_requirement.CanLearnMoveRequirementOptions.html" class="tsd-kind-interface"><code>CanLearnMoveRequirementOptions</code></a></p>
2024-10-27 02:36:13 +00:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;primaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L270">src/data/mystery-encounters/mystery-encounter-option.ts:270</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withPokemonTypeRequirement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Pokemon<wbr/>Type<wbr/>Requirement</span><a href="#withPokemonTypeRequirement" 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="withPokemonTypeRequirement.withPokemonTypeRequirement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Pokemon<wbr/>Type<wbr/>Requirement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">excludeFainted</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">minNumberOfPokemon</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">invertQuery</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;primaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#withPokemonTypeRequirement.withPokemonTypeRequirement-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>Player is required to have certain type/s of pokemon in his party (with optional min number of pokemons with that type)</p>
2024-09-27 22:52:07 +01: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">type</span>: <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><span class="tsd-signature-symbol"> | </span><a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>the required type/s</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">excludeFainted</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>whether to exclude fainted pokemon</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">minNumberOfPokemon</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>number of pokemons to have that type</p>
2024-10-27 02:36:13 +00:00
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">invertQuery</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;primaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L259">src/data/mystery-encounters/mystery-encounter-option.ts:259</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withPostOptionPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Post<wbr/>Option<wbr/>Phase</span><a href="#withPostOptionPhase" 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="withPostOptionPhase.withPostOptionPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Post<wbr/>Option<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">onPostOptionPhase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;onPostOptionPhase&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#withPostOptionPhase.withPostOptionPhase-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">onPostOptionPhase</span>: <a href="../types/data_mystery_encounters_mystery_encounter_option.OptionPhaseCallback.html" class="tsd-signature-type tsd-kind-type-alias">OptionPhaseCallback</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncoun
2024-09-27 22:52:07 +01:00
Can determine whether or not the Encounter <em>should</em> continue.
If there are scenarios where the Encounter should NOT continue, should return boolean instead of void.</p>
2024-10-27 02:36:13 +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">onPreOptionPhase</span>: <a href="../types/data_mystery_encounters_mystery_encounter_option.OptionPhaseCallback.html" class="tsd-signature-type tsd-kind-type-alias">OptionPhaseCallback</a></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;onPreOptionPhase&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L221">src/data/mystery-encounters/mystery-encounter-option.ts:221</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withPrimaryPokemonRequirement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Primary<wbr/>Pokemon<wbr/>Requirement</span><a href="#withPrimaryPokemonRequirement" 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="withPrimaryPokemonRequirement.withPrimaryPokemonRequirement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Primary<wbr/>Pokemon<wbr/>Requirement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">requirement</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;primaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#withPrimaryPokemonRequirement.withPrimaryPokemonRequirement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a <a href="data_mystery_encounters_mystery_encounter_requirements.EncounterPokemonRequirement.html" class="tsd-kind-class"><code>EncounterPokemonRequirement</code></a> to <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#primaryPokemonRequirements" class="tsd-kind-property"><code>primaryPokemonRequirements</code></a></p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requirement</span>: <a href="data_mystery_encounters_mystery_encounter_requirements.EncounterPokemonRequirement.html" class="tsd-signature-type tsd-kind-class">EncounterPokemonRequirement</a></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;primaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L241">src/data/mystery-encounters/mystery-encounter-option.ts:241</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withSceneMoneyRequirement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Scene<wbr/>Money<wbr/>Requirement</span><a href="#withSceneMoneyRequirement" 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="withSceneMoneyRequirement.withSceneMoneyRequirement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Scene<wbr/>Money<wbr/>Requirement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">requiredMoney</span>, <span class="tsd-kind-parameter">scalingMultiplier</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;requirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#withSceneMoneyRequirement.withSceneMoneyRequirement-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">requiredMoney</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">scalingMultiplier</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBui
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requirement</span>: <a href="data_mystery_encounters_mystery_encounter_requirements.EncounterSceneRequirement.html" class="tsd-signature-type tsd-kind-class">EncounterSceneRequirement</a></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;requirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L202">src/data/mystery-encounters/mystery-encounter-option.ts:202</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="withSecondaryPokemonRequirement" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>with<wbr/>Secondary<wbr/>Pokemon<wbr/>Requirement</span><a href="#withSecondaryPokemonRequirement" 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="withSecondaryPokemonRequirement.withSecondaryPokemonRequirement-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">with<wbr/>Secondary<wbr/>Pokemon<wbr/>Requirement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">requirement</span>, <span class="tsd-kind-parameter">excludePrimaryFromSecondaryRequirements</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;secondaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span><a href="#withSecondaryPokemonRequirement.withSecondaryPokemonRequirement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds a <a href="data_mystery_encounters_mystery_encounter_requirements.EncounterPokemonRequirement.html" class="tsd-kind-class"><code>EncounterPokemonRequirement</code></a> to <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html#secondaryPokemonRequirements" class="tsd-kind-property"><code>secondaryPokemonRequirements</code></a></p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">requirement</span>: <a href="data_mystery_encounters_mystery_encounter_requirements.EncounterPokemonRequirement.html" class="tsd-signature-type tsd-kind-class">EncounterPokemonRequirement</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">excludePrimaryFromSecondaryRequirements</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Required</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;secondaryPokemonRequirements&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/9a56f080db2405010240ff0273328973ec3c78b5/src/data/mystery-encounters/mystery-encounter-option.ts#L279">src/data/mystery-encounters/mystery-encounter-option.ts:279</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="newOptionWithMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>new<wbr/>Option<wbr/>With<wbr/>Mode</span><a href="#newOptionWithMode" 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="newOptionWithMode.newOptionWithMode-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">new<wbr/>Option<wbr/>With<wbr/>Mode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">optionMode</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/data_mystery_encounters_mystery_encounter_option.IMysteryEncounterOption.html" class="tsd-signature-type tsd-kind-interface">IMysteryEncounterOption</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">&quot;optionMode&quot;</span><span class="tsd-signature-symbol">&gt;</span><a href="#newOptionWithMode.newOptionWithMode-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">optionMode</span>: <a href="../enums/enums_mystery_encounter_option_mode.MysteryEncounterOptionMode.html" class="tsd-signature-type tsd-kind-enum">MysteryEncounterOptionMode</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_mystery_encounters_mystery_encounter_option.MysteryEncounterOptionBuilder.html" class="tsd-signature-type tsd-kind-class">MysteryEncounterOptionBuilder</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-