<!DOCTYPE html><htmlclass="default"lang="en"><head><metacharset="utf-8"/><metahttp-equiv="x-ua-compatible"content="IE=edge"/><title>PartyUiMode | pokemon-rogue-battle</title><metaname="description"content="Documentation for pokemon-rogue-battle"/><metaname="viewport"content="width=device-width, initial-scale=1"/><linkrel="stylesheet"href="../assets/style.css"/><linkrel="stylesheet"href="../assets/highlight.css"/><scriptdefersrc="../assets/main.js"></script><scriptasyncsrc="../assets/icons.js"id="tsd-icons-script"></script><scriptasyncsrc="../assets/search.js"id="tsd-search-script"></script><scriptasyncsrc="../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><headerclass="tsd-page-toolbar"><divclass="tsd-toolbar-contents container"><divclass="table-cell"id="tsd-search"data-base=".."><divclass="field"><labelfor="tsd-search-field"class="tsd-widget tsd-toolbar-icon search no-caption"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-search"></use></svg></label><inputtype="text"id="tsd-search-field"aria-label="Search"/></div><divclass="field"><divid="tsd-toolbar-links"></div></div><ulclass="results"><liclass="state loading">Preparing search index...</li><liclass="state failure">The search index is not available</li></ul><ahref="../index.html"class="title">pokemon-rogue-battle</a></div><divclass="table-cell"id="tsd-widgets"><ahref="#"class="tsd-widget tsd-toolbar-icon menu no-caption"data-toggle="menu"aria-label="Menu"><svgwidth="16"height="16"viewBox="0 0 16 16"fill="none"><usehref="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><divclass="container container-main"><divclass="col-content"><divclass="tsd-page-title"><ulclass="tsd-breadcrumb"><li><ahref="../index.html">pokemon-rogue-battle</a></li><li><ahref="../modules/ui_party_ui_handler.html">ui/party-ui-handler</a></li><li><ahref="ui_party_ui_handler.PartyUiMode.html">PartyUiMode</a></li></ul><h1>Enumeration PartyUiMode</h1></div><sectionclass="tsd-panel tsd-comment"><divclass="tsd-comment tsd-typography"><p>Indicates the reason why the party UI is being opened.</p>
</div></section></div></details></section></section><detailsclass="tsd-panel-group tsd-member-group tsd-accordion"open><summaryclass="tsd-accordion-summary"data-key="section-Enumeration Members"><h2><svgwidth="20"height="20"viewBox="0 0 24 24"fill="none"><usehref="../assets/icons.svg#icon-chevronDown"></use></svg> Enumeration Members</h2></summary><section><sectionclass="tsd-panel tsd-member"><aid="CHECK"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>CHECK</span><ahref="#CHECK"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">CHECK</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">11</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open to check the team. This
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L93">src/ui/party-ui-handler.ts:93</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="FAINT_SWITCH"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>FAINT_<wbr/>SWITCH</span><ahref="#FAINT_SWITCH"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">FAINT_<wbr/>SWITCH</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">1</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open because of a faint or other forced
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L43">src/ui/party-ui-handler.ts:43</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="MODIFIER"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>MODIFIER</span><ahref="#MODIFIER"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">MODIFIER</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">4</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open to select a mon to apply a modifier to.
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L58">src/ui/party-ui-handler.ts:58</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="MODIFIER_TRANSFER"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>MODIFIER_<wbr/>TRANSFER</span><ahref="#MODIFIER_TRANSFER"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">MODIFIER_<wbr/>TRANSFER</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">8</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open to transfer items between mons. This
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L78">src/ui/party-ui-handler.ts:78</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="MOVE_MODIFIER"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>MOVE_<wbr/>MODIFIER</span><ahref="#MOVE_MODIFIER"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">MOVE_<wbr/>MODIFIER</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">5</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open to select a mon to apply a move
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L63">src/ui/party-ui-handler.ts:63</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="POST_BATTLE_SWITCH"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>POST_<wbr/>BATTLE_<wbr/>SWITCH</span><ahref="#POST_BATTLE_SWITCH"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">POST_<wbr/>BATTLE_<wbr/>SWITCH</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">2</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open because of a start-of-encounter optional
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L48">src/ui/party-ui-handler.ts:48</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="RELEASE"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>RELEASE</span><ahref="#RELEASE"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">RELEASE</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">10</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open to release a party member. This
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L88">src/ui/party-ui-handler.ts:88</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="REMEMBER_MOVE_MODIFIER"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>REMEMBER_<wbr/>MOVE_<wbr/>MODIFIER</span><ahref="#REMEMBER_MOVE_MODIFIER"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">REMEMBER_<wbr/>MOVE_<wbr/>MODIFIER</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">7</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open to select a mon to remember a move.
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L73">src/ui/party-ui-handler.ts:73</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="REVIVAL_BLESSING"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>REVIVAL_<wbr/>BLESSING</span><ahref="#REVIVAL_BLESSING"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">REVIVAL_<wbr/>BLESSING</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">3</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open because of the move Revival Blessing.
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L53">src/ui/party-ui-handler.ts:53</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="SPLICE"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>SPLICE</span><ahref="#SPLICE"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">SPLICE</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">9</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open because of a DNA Splicer. This
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L83">src/ui/party-ui-handler.ts:83</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="SWITCH"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>SWITCH</span><ahref="#SWITCH"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">SWITCH</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">0</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open because of a user-opted switch. This
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/4808c07cf9e92714e4b7c0ba77a6b5e96fbe9c34/src/ui/party-ui-handler.ts#L38">src/ui/party-ui-handler.ts:38</a></li></ul></aside></section><sectionclass="tsd-panel tsd-member"><aid="TM_MODIFIER"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>TM_<wbr/>MODIFIER</span><ahref="#TM_MODIFIER"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-enum-member">TM_<wbr/>MODIFIER</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">6</span></div><divclass="tsd-comment tsd-typography"><p>Indicates that the party UI is open to select a mon to teach a TM. This