1454 lines
936 KiB
HTML
1454 lines
936 KiB
HTML
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PlayerPokemon | 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/field_pokemon.html">field/pokemon</a></li><li><a href="field_pokemon.PlayerPokemon.html">PlayerPokemon</a></li></ul><h1>Class PlayerPokemon</h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#field/pokemon.PlayerPokemon">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><ul class="tsd-hierarchy"><li><span class="target">PlayerPokemon</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4160">src/field/pokemon.ts:4160</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="field_pokemon.PlayerPokemon.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>
|
||
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="field_pokemon.PlayerPokemon.html#abilityIndex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ability<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#active" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>active</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#alpha" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>alpha</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#angle" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>angle</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#battleData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#battleInfo" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Info</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#battleSummonData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Summon<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#blendMode" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>blend<wbr/>Mode</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#body" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>body</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#cameraFilter" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera<wbr/>Filter</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#compatibleTms" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>compatible<wbr/>Tms</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#customPokemonData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>custom<wbr/>Pokemon<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#data" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#depth" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>depth</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#displayHeight" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Height</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#displayList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>List</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#displayOriginX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>OriginX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#displayOriginY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>OriginY</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#displayWidth" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Width</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#evoCounter" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evo<wbr/>Counter</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#exclusive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exclusive</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#exp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exp</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fieldPosition" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>field<wbr/>Position</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#first" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>first</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#formIndex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>form<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#friendship" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>friendship</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionAbilityIndex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Ability<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionCustomPokemonData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Custom<wbr/>Pokemon<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionFormIndex" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Form<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionGender" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Gender</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionLuck" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Luck</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionShiny" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Shiny</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionSpecies" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Species</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fusionVariant" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Variant</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#gender" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gender</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Post<wbr/>Pipeline</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasTransformComponent" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Transform<wbr/>Component</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#height" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hp</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#id" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#ignoreDestroy" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ignore<wbr/>Destroy</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#input" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>input</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#ivs" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ivs</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#last" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#length" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>length</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#level" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>level</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#levelExp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>level<wbr/>Exp</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#list" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>list</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#localTransform" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>local<wbr/>Transform</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#luck" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>luck</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#mask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#maskEnabled" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Enabled</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#maskSprite" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Sprite</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#maxSize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Size</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#metBiome" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Biome</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#metLevel" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Level</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#metSpecies" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Species</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#metWave" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Wave</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#moveset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>moveset</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#mysteryEncounterBattleEffects" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mystery<wbr/>Encounter<wbr/>Battle<wbr/>Effects?</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#name" class="tsd-index-link tsd-is-inherited"><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="field_pokemon.PlayerPokemon.html#nature" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nature</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#next" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>next</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#nickname" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nickname</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#originX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>originX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#originY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>originY</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#parentContainer" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>parent<wbr/>Container</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#passive" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>passive</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#pauseEvolutions" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pause<wbr/>Evolutions</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#pokeball" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokeball</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#pokerus" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokerus</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#position" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>position</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#postFX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>postFX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#postPipelineData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>post<wbr/>Pipeline<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#postPipelines" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>post<wbr/>Pipelines</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#preFX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>preFX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#previous" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#renderFlags" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>render<wbr/>Flags</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#rotation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rotation</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#scale" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scale</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#scaleX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scaleX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#scaleY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scaleY</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#scene" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#scrollFactorX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scroll<wbr/>FactorX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#scrollFactorY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scroll<wbr/>FactorY</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#shiny" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shiny</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#species" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>species</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#state" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#stats" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stats</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#status" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#summonData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>summon<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#switchOutStatus" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>switch<wbr/>Out<wbr/>Status</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#tabIndex" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tab<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#turnData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>turn<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#type" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#usedTMs" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>usedTMs</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#variant" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>variant</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#visible" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>visible</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#w" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>w</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#width" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>width</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#x" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>x</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#y" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>y</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#z" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>z</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#RENDER_MASK" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>RENDER_<wbr/>MASK</span></a>
|
||
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="field_pokemon.PlayerPokemon.html#add" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addAt" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>At</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addExp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Exp</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addFriendship" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Friendship</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addListener" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Listener</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addTag" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Tag</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addToDisplayList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Display<wbr/>List</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addToUpdateList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Update<wbr/>List</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#addedToScene" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>added<wbr/>To<wbr/>Scene</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#apply" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#bringToTop" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bring<wbr/>To<wbr/>Top</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#calculateBaseStats" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>Base<wbr/>Stats</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#calculateStats" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>Stats</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#canAddTag" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Add<wbr/>Tag</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#canApplyAbility" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Apply<wbr/>Ability</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#canSetStatus" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Set<wbr/>Status</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#changeForm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Form</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#checkIfPlayerHasAbilityOfStarter" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>If<wbr/>Player<wbr/>Has<wbr/>Ability<wbr/>Of<wbr/>Starter</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#clearAlpha" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Alpha</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#clearFX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clearFX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#clearFusionSpecies" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Fusion<wbr/>Species</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#clearMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Mask</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#copyMoveset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>copy<wbr/>Moveset</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#copyPosition" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>copy<wbr/>Position</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#count" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#createBitmapMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Bitmap<wbr/>Mask</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#createGeometryMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Geometry<wbr/>Mask</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#cry" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cry</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#damage" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>damage</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#damageAndUpdate" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>damage<wbr/>And<wbr/>Update</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#destroy" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#destroySubstitute" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy<wbr/>Substitute</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#disableInteractive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable<wbr/>Interactive</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#disableMask" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable<wbr/>Mask</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#each" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>each</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#emit" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#enableMask" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable<wbr/>Mask</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#eventNames" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>event<wbr/>Names</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#evolve" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>evolve</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#exists" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exists</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#faintCry" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>faint<wbr/>Cry</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fallbackVariantColor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fallback<wbr/>Variant<wbr/>Color</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#findAndRemoveTags" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>And<wbr/>Remove<wbr/>Tags</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#findTag" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Tag</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#findTags" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Tags</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#fuse" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fuse</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#generateAndPopulateMoveset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>And<wbr/>Populate<wbr/>Moveset</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#generateCompatibleTms" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Compatible<wbr/>Tms</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#generateFusionSpecies" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Fusion<wbr/>Species</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#generateGender" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Gender</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#generateName" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Name</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#generateNature" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Nature</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#generateShinyVariant" class="tsd-index-link tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Shiny<wbr/>Variant</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAbility" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ability</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAbilityAttrs" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ability<wbr/>Attrs</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAccuracyMultiplier" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Accuracy<wbr/>Multiplier</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAll" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>All</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAlliedField" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Allied<wbr/>Field</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAlly" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ally</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAt" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>At</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAttackDamage" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Attack<wbr/>Damage</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getAttackTypeEffectiveness" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Attack<wbr/>Type<wbr/>Effectiveness</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBaseDamage" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Base<wbr/>Damage</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBattleInfo" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Info</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBattleSpriteAtlasPath" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBattleSpriteId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBattleSpriteKey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Key</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBattlerIndex" 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/>Battler<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBounds" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Bounds</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getBoundsTransformMatrix" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Bounds<wbr/>Transform<wbr/>Matrix</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getByName" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>By<wbr/>Name</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getCritStage" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Crit<wbr/>Stage</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getDexAttr" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dex<wbr/>Attr</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getEffectiveStat" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Effective<wbr/>Stat</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getEggMoves" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Egg<wbr/>Moves</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getEvolution" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Evolution</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getExpValue" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Exp<wbr/>Value</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFieldIndex" 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/>Field<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFieldPositionOffset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Field<wbr/>Position<wbr/>Offset</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFirst" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>First</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFormKey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Form<wbr/>Key</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionBattleSpriteAtlasPath" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionBattleSpriteId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionBattleSpriteKey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Key</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionFormKey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Form<wbr/>Key</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionGender" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Gender</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionIconAtlasKey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Icon<wbr/>Atlas<wbr/>Key</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionIconId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Icon<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionSpeciesForm" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Species<wbr/>Form</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getFusionSpriteId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Sprite<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getGender" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Gender</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getHeldItems" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Held<wbr/>Items</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getHpRatio" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Hp<wbr/>Ratio</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getIconAtlasKey" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Icon<wbr/>Atlas<wbr/>Key</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getIconId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Icon<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getIndex" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Index</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getIndexList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Index<wbr/>List</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getInverseHp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Inverse<wbr/>Hp</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getLastXMoves" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>LastXMoves</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getLearnableLevelMoves" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Learnable<wbr/>Level<wbr/>Moves</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getLevelMoves" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Level<wbr/>Moves</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getLocalPoint" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Local<wbr/>Point</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getLocalTransformMatrix" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Local<wbr/>Transform<wbr/>Matrix</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getLuck" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Luck</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getMatchupScore" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Matchup<wbr/>Score</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getMaxHp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Max<wbr/>Hp</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getMoveEffectiveness" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>Effectiveness</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getMoveHistory" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>History</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getMoveQueue" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>Queue</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getMoveType" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>Type</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getMoveset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moveset</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getNameToRender" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name<wbr/>To<wbr/>Render</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getNature" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Nature</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getOpponent" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Opponent</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getOpponentDescriptor" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Opponent<wbr/>Descriptor</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getOpponents" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Opponents</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getParentRotation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Parent<wbr/>Rotation</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getPassiveAbility" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Passive<wbr/>Ability</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getPossibleEvolution" 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/>Possible<wbr/>Evolution</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getPossibleForm" 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/>Possible<wbr/>Form</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Post<wbr/>Pipeline</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getRandom" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Random</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getRestrictingTag" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Restricting<wbr/>Tag</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getSpeciesForm" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Form</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getSprite" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getSpriteAtlasPath" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getSpriteId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getSpriteKey" class="tsd-index-link tsd-is-inherited"><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="field_pokemon.PlayerPokemon.html#getSpriteScale" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite<wbr/>Scale</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getStat" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getStatStage" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat<wbr/>Stage</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getStatStageMultiplier" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat<wbr/>Stage<wbr/>Multiplier</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getStatStages" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat<wbr/>Stages</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getStats" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stats</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getSubstituteOffset" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Substitute<wbr/>Offset</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getTag" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tag</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getTeraType" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tera<wbr/>Type</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getTintSprite" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tint<wbr/>Sprite</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getTypes" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Types</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getUnlockedEggMoves" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Unlocked<wbr/>Egg<wbr/>Moves</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getVariant" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Variant</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getWeight" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Weight</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#getWorldTransformMatrix" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>World<wbr/>Transform<wbr/>Matrix</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasAbility" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Ability</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasAbilityWithAttr" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Ability<wbr/>With<wbr/>Attr</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasFusionSpecies" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Fusion<wbr/>Species</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasPassive" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Passive</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasSameAbilityInRootForm" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Same<wbr/>Ability<wbr/>In<wbr/>Root<wbr/>Form</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hasTrainer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Trainer</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#heal" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>heal</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#hideInfo" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Info</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#incData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>inc<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#init" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#initBattleInfo" 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/>Battle<wbr/>Info</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#initPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Post<wbr/>Pipeline</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#initShinySparkle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Shiny<wbr/>Sparkle</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isActive" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Active</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isAllowedInBattle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Allowed<wbr/>In<wbr/>Battle</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isAllowedInChallenge" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Allowed<wbr/>In<wbr/>Challenge</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isBoss" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Boss</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isBossImmune" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Boss<wbr/>Immune</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isFainted" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Fainted</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isFullHp" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Full<wbr/>Hp</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isFusion" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Fusion</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isGrounded" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Grounded</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isMax" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Max</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isMoveRestricted" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Move<wbr/>Restricted</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isMoveTargetRestricted" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Move<wbr/>Target<wbr/>Restricted</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isOfType" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Of<wbr/>Type</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isOffsetBySubstitute" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Offset<wbr/>By<wbr/>Substitute</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isOnField" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>On<wbr/>Field</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isOpponent" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Opponent</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isOppositeGender" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Opposite<wbr/>Gender</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isPlayer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Player</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isSafeguarded" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Safeguarded</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isShiny" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Shiny</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isTerastallized" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Terastallized</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#isTrapped" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Trapped</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#iterate" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>iterate</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#lapseTag" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lapse<wbr/>Tag</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#lapseTags" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lapse<wbr/>Tags</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#leaveField" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>leave<wbr/>Field</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#listenerCount" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>listener<wbr/>Count</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#listeners" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>listeners</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#loadAssets" class="tsd-index-link tsd-is-inherited"><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="field_pokemon.PlayerPokemon.html#loseHeldItem" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lose<wbr/>Held<wbr/>Item</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#moveAbove" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Above</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#moveBelow" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Below</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#moveDown" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Down</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#moveTo" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#moveUp" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Up</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#off" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#on" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#onChildDestroyed" class="tsd-index-link tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Child<wbr/>Destroyed</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#once" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#playAnim" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play<wbr/>Anim</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#pointToContainer" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>point<wbr/>To<wbr/>Container</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#populateVariantColorCache" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>populate<wbr/>Variant<wbr/>Color<wbr/>Cache</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#preDestroy" class="tsd-index-link tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pre<wbr/>Destroy</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#primeSummonData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prime<wbr/>Summon<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#pushMoveHistory" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>push<wbr/>Move<wbr/>History</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#randSeedInt" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rand<wbr/>Seed<wbr/>Int</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#randSeedIntRange" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rand<wbr/>Seed<wbr/>Int<wbr/>Range</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#remove" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeAll" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>All</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeAllListeners" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>All<wbr/>Listeners</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeAt" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>At</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeBetween" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Between</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeFromDisplayList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From<wbr/>Display<wbr/>List</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeFromUpdateList" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From<wbr/>Update<wbr/>List</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeInteractive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Interactive</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeListener" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Listener</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removePostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Post<wbr/>Pipeline</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeTag" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Tag</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removeTagsBySourceId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#removedFromScene" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>removed<wbr/>From<wbr/>Scene</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#replace" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>replace</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#resetBattleData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Battle<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#resetBattleSummonData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Battle<wbr/>Summon<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#resetPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Post<wbr/>Pipeline</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#resetSprite" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Sprite</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#resetStatus" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Status</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#resetSummonData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Summon<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#resetTurnData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Turn<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#reverse" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reverse</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#revivalBlessing" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>revival<wbr/>Blessing</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#sendToBack" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>To<wbr/>Back</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setActive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Active</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setAll" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>All</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setAlpha" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Alpha</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setAngle" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Angle</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setBlendMode" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Blend<wbr/>Mode</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setCustomNature" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Custom<wbr/>Nature</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setDataEnabled" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Data<wbr/>Enabled</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setDepth" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Depth</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setDisplaySize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Display<wbr/>Size</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setExclusive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Exclusive</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setFieldPosition" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Field<wbr/>Position</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setFrameRate" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Frame<wbr/>Rate</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setInteractive" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Interactive</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setMask" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Mask</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setMove" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Move</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setName" class="tsd-index-link tsd-is-inherited tsd-is-external"><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="field_pokemon.PlayerPokemon.html#setNature" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Nature</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setPosition" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Position</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setPositionRelative" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Position<wbr/>Relative</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setPostPipeline" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Post<wbr/>Pipeline</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setPostPipelineData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Post<wbr/>Pipeline<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setRandomPosition" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Random<wbr/>Position</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setRotation" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Rotation</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setScale" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scale</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setScrollFactor" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scroll<wbr/>Factor</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setSize" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Size</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setStat" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Stat</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setStatStage" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Stat<wbr/>Stage</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setState" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setSwitchOutStatus" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Switch<wbr/>Out<wbr/>Status</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setVisible" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Visible</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setW" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setW</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setX" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setX</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setY" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setY</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#setZ" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setZ</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#showInfo" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Info</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#shuffle" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shuffle</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#shutdown" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shutdown</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#sort" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sort</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#sparkle" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sparkle</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#stopMultiHit" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Multi<wbr/>Hit</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#swap" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>swap</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#switchOut" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>switch<wbr/>Out</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#tint" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>tint</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#toJSON" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toJSON</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#toggleData" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#toggleFlyout" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Flyout</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#toggleStats" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Stats</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#transferSummon" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>transfer<wbr/>Summon</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#transferTagsBySourceId" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>transfer<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#tryPlaySprite" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Play<wbr/>Sprite</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#tryPopulateMoveset" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Populate<wbr/>Moveset</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#trySelectMove" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Select<wbr/>Move</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#trySetShiny" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Set<wbr/>Shiny</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#trySetShinySeed" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Set<wbr/>Shiny<wbr/>Seed</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#trySetStatus" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Set<wbr/>Status</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#unfuse" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>unfuse</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#untint" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>untint</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#update" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#updateEffectiveness" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Effectiveness</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#updateFusionPalette" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Fusion<wbr/>Palette</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#updateInfo" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Info</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#updateScale" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Scale</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#updateSpritePipelineData" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Sprite<wbr/>Pipeline<wbr/>Data</span></a>
|
||
<a href="field_pokemon.PlayerPokemon.html#willRender" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>will<wbr/>Render</span></a>
|
||
</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_PlayerPokemon" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Player<wbr/>Pokemon</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scene</span>, <span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">level</span>, <span class="tsd-kind-parameter">abilityIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">formIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">gender</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">shiny</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">variant</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ivs</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">nature</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">dataSource</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a><a href="#constructor.new_PlayerPokemon" 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">species</span>: <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li><li><span><span class="tsd-kind-parameter">level</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">abilityIndex</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">formIndex</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">gender</span>: <a href="../enums/data_gender.Gender.html" class="tsd-signature-type tsd-kind-enum">Gender</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">shiny</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">variant</span>: <a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ivs</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">nature</span>: <a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">dataSource</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol"> | </span><a href="system_pokemon_data.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4163">src/field/pokemon.ts:4163</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 tsd-is-inherited"><a id="abilityIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ability<wbr/>Index</span><a href="#abilityIndex" 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">ability<wbr/>Index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#abilityIndex">abilityIndex</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L85">src/field/pokemon.ts:85</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="active" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>active</span><a href="#active" 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">active</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The active state of this Game Object.
|
||
A Game Object with an active state of <code>true</code> is processed by the Scenes UpdateList, if added to it.
|
||
An active object is one which is having its logic and internal systems updated.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#active">active</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19599</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="alpha" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>alpha</span><a href="#alpha" 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">alpha</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The alpha value of the Game Object.</p>
|
||
<p>This is a global value, impacting the entire Game Object, not just a region of it.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#alpha">alpha</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17109</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="angle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>angle</span><a href="#angle" 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">angle</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The angle of this Game Object as expressed in degrees.</p>
|
||
<p>Phaser uses a right-hand clockwise rotation system, where 0 is right, 90 is down, 180/-180 is left
|
||
and -90 is up.</p>
|
||
<p>If you prefer to work in radians, see the <code>rotation</code> property instead.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#angle">angle</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17505</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="battleData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>battle<wbr/>Data</span><a href="#battleData" 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/>Data</span><span class="tsd-signature-symbol">:</span> <a href="field_pokemon.PokemonBattleData.html" class="tsd-signature-type tsd-kind-class">PokemonBattleData</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#battleData">battleData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L124">src/field/pokemon.ts:124</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="battleInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>battle<wbr/>Info</span><a href="#battleInfo" 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/>Info</span><span class="tsd-signature-symbol">:</span> <a href="ui_battle_info.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#battleInfo">battleInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L90">src/field/pokemon.ts:90</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="battleSummonData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>battle<wbr/>Summon<wbr/>Data</span><a href="#battleSummonData" 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/>Summon<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <a href="field_pokemon.PokemonBattleSummonData.html" class="tsd-signature-type tsd-kind-class">PokemonBattleSummonData</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#battleSummonData">battleSummonData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L125">src/field/pokemon.ts:125</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="blendMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>blend<wbr/>Mode</span><a href="#blendMode" 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">blend<wbr/>Mode</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">BlendModes</span></div><div class="tsd-comment tsd-typography"><p>Sets the Blend Mode being used by this Game Object.</p>
|
||
<p>This can be a const, such as <code>Phaser.BlendModes.SCREEN</code>, or an integer, such as 4 (for Overlay)</p>
|
||
<p>Under WebGL only the following Blend Modes are available:</p>
|
||
<ul>
|
||
<li>NORMAL</li>
|
||
<li>ADD</li>
|
||
<li>MULTIPLY</li>
|
||
<li>SCREEN</li>
|
||
<li>ERASE</li>
|
||
</ul>
|
||
<p>Canvas has more available depending on browser support.</p>
|
||
<p>You can also create your own custom Blend Modes in WebGL.</p>
|
||
<p>Blend modes have different effects under Canvas and WebGL, and from browser to browser, depending
|
||
on support. Blend Modes also cause a WebGL batch flush should it encounter a new blend mode. For these
|
||
reasons try to be careful about the construction of your Scene and the frequency of which blend modes
|
||
are used.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#blendMode">blendMode</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17133</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="body" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>body</span><a href="#body" 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">body</span><span class="tsd-signature-symbol">:</span> <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">null</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">BodyType</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">Body</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">StaticBody</span></div><div class="tsd-comment tsd-typography"><p>If this Game Object is enabled for Arcade or Matter Physics then this property will contain a reference to a Physics Body.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#body">body</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19637</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="cameraFilter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>camera<wbr/>Filter</span><a href="#cameraFilter" 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">camera<wbr/>Filter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>A bitmask that controls if this Game Object is drawn by a Camera or not.
|
||
Not usually set directly, instead call <code>Camera.ignore</code>, however you can
|
||
set this property directly using the <a href="http://Camera.id">Camera.id</a> property:</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#cameraFilter">cameraFilter</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19626</li></ul></aside></section><section class="tsd-panel tsd-member"><a id="compatibleTms" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>compatible<wbr/>Tms</span><a href="#compatibleTms" 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">compatible<wbr/>Tms</span><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></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4161">src/field/pokemon.ts:4161</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="customPokemonData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>custom<wbr/>Pokemon<wbr/>Data</span><a href="#customPokemonData" 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">custom<wbr/>Pokemon<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <a href="data_custom_pokemon_data.CustomPokemonData.html" class="tsd-signature-type tsd-kind-class">CustomPokemonData</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#customPokemonData">customPokemonData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L127">src/field/pokemon.ts:127</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="data" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>data</span><a href="#data" 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">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DataManager</span></div><div class="tsd-comment tsd-typography"><p>A Data Manager.
|
||
It allows you to store, query and get key/value paired information specific to this Game Object.
|
||
<code>null</code> by default. Automatically created if you use <code>getData</code> or <code>setData</code> or <code>setDataEnabled</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#data">data</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19612</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="depth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>depth</span><a href="#depth" 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">depth</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The depth of this Game Object within the Scene. Ensure this value is only ever set to a number data-type.</p>
|
||
<p>The depth is also known as the 'z-index' in some environments, and allows you to change the rendering order
|
||
of Game Objects, without actually moving their position in the display list.</p>
|
||
<p>The default depth is zero. A Game Object with a higher depth
|
||
value will always render in front of one with a lower value.</p>
|
||
<p>Setting the depth will queue a depth sort event within the Scene.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#depth">depth</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17231</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayHeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>display<wbr/>Height</span><a href="#displayHeight" 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">display<wbr/>Height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The displayed height of this Game Object.</p>
|
||
<p>This value takes into account the scale factor.</p>
|
||
<p>Setting this value will adjust the Game Object's scale property.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#displayHeight">displayHeight</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17194</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>display<wbr/>List</span><a href="#displayList" 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">display<wbr/>List</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Layer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">DisplayList</span></div><div class="tsd-comment tsd-typography"><p>Holds a reference to the Display List that contains this Game Object.</p>
|
||
<p>This is set automatically when this Game Object is added to a Scene or Layer.</p>
|
||
<p>You should treat this property as being read-only.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#displayList">displayList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19563</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayOriginX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>display<wbr/>OriginX</span><a href="#displayOriginX" 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">display<wbr/>OriginX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
|
||
Do not change this value. It has no effect other than to break things.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#displayOriginX">displayOriginX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16699</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayOriginY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>display<wbr/>OriginY</span><a href="#displayOriginY" 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">display<wbr/>OriginY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
|
||
Do not change this value. It has no effect other than to break things.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#displayOriginY">displayOriginY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16705</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="displayWidth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>display<wbr/>Width</span><a href="#displayWidth" 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">display<wbr/>Width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The displayed width of this Game Object.</p>
|
||
<p>This value takes into account the scale factor.</p>
|
||
<p>Setting this value will adjust the Game Object's scale property.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#displayWidth">displayWidth</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17185</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="evoCounter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>evo<wbr/>Counter</span><a href="#evoCounter" 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">evo<wbr/>Counter</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#evoCounter">evoCounter</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L110">src/field/pokemon.ts:110</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="exclusive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exclusive</span><a href="#exclusive" 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">exclusive</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Does this Container exclusively manage its children?</p>
|
||
<p>The default is <code>true</code> which means a child added to this Container cannot
|
||
belong in another Container, which includes the Scene display list.</p>
|
||
<p>If you disable this then this Container will no longer exclusively manage its children.
|
||
This allows you to create all kinds of interesting graphical effects, such as replicating
|
||
Game Objects without reparenting them all over the Scene.
|
||
However, doing so will prevent children from receiving any kind of input event or have
|
||
their physics bodies work by default, as they're no longer a single entity on the
|
||
display list, but are being replicated where-ever this Container is.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#exclusive">exclusive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16620</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="exp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exp</span><a href="#exp" 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">exp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#exp">exp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L92">src/field/pokemon.ts:92</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fieldPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>field<wbr/>Position</span><a href="#fieldPosition" 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">field<wbr/>Position</span><span class="tsd-signature-symbol">:</span> <a href="../enums/field_pokemon.FieldPosition.html" class="tsd-signature-type tsd-kind-enum">FieldPosition</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fieldPosition">fieldPosition</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L132">src/field/pokemon.ts:132</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="first" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>first</span><a href="#first" 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">first</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the first Game Object within the Container, or <code>null</code> if it is empty.</p>
|
||
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#first">first</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17057</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="formIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>form<wbr/>Index</span><a href="#formIndex" 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">form<wbr/>Index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#formIndex">formIndex</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L84">src/field/pokemon.ts:84</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="friendship" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>friendship</span><a href="#friendship" 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">friendship</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#friendship">friendship</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L101">src/field/pokemon.ts:101</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionAbilityIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Ability<wbr/>Index</span><a href="#fusionAbilityIndex" 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">fusion<wbr/>Ability<wbr/>Index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionAbilityIndex">fusionAbilityIndex</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L114">src/field/pokemon.ts:114</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionCustomPokemonData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Custom<wbr/>Pokemon<wbr/>Data</span><a href="#fusionCustomPokemonData" 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">fusion<wbr/>Custom<wbr/>Pokemon<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_custom_pokemon_data.CustomPokemonData.html" class="tsd-signature-type tsd-kind-class">CustomPokemonData</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionCustomPokemonData">fusionCustomPokemonData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L119">src/field/pokemon.ts:119</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionFormIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Form<wbr/>Index</span><a href="#fusionFormIndex" 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">fusion<wbr/>Form<wbr/>Index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionFormIndex">fusionFormIndex</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L113">src/field/pokemon.ts:113</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionGender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Gender</span><a href="#fusionGender" 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">fusion<wbr/>Gender</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_gender.Gender.html" class="tsd-signature-type tsd-kind-enum">Gender</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionGender">fusionGender</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L117">src/field/pokemon.ts:117</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionLuck" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Luck</span><a href="#fusionLuck" 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">fusion<wbr/>Luck</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionLuck">fusionLuck</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L118">src/field/pokemon.ts:118</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionShiny" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Shiny</span><a href="#fusionShiny" 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">fusion<wbr/>Shiny</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionShiny">fusionShiny</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L115">src/field/pokemon.ts:115</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Species</span><a href="#fusionSpecies" 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">fusion<wbr/>Species</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionSpecies">fusionSpecies</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L112">src/field/pokemon.ts:112</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fusionVariant" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fusion<wbr/>Variant</span><a href="#fusionVariant" 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">fusion<wbr/>Variant</span><span class="tsd-signature-symbol">:</span> <a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fusionVariant">fusionVariant</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L116">src/field/pokemon.ts:116</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="gender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>gender</span><a href="#gender" 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">gender</span><span class="tsd-signature-symbol">:</span> <a href="../enums/data_gender.Gender.html" class="tsd-signature-type tsd-kind-enum">Gender</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#gender">gender</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L94">src/field/pokemon.ts:94</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="hasPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Post<wbr/>Pipeline</span><a href="#hasPostPipeline" 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">has<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Does this Game Object have any Post Pipelines set?</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasPostPipeline">hasPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17313</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="hasTransformComponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>has<wbr/>Transform<wbr/>Component</span><a href="#hasTransformComponent" 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">has<wbr/>Transform<wbr/>Component</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>A property indicating that a Game Object has this component.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasTransformComponent">hasTransformComponent</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17453</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="height" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>height</span><a href="#height" 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">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The native (un-scaled) height of this Game Object.</p>
|
||
<p>Changing this value will not change the size that the Game Object is rendered in-game.
|
||
For that you need to either set the scale of the Game Object (<code>setScale</code>) or use
|
||
the <code>displayHeight</code> property.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#height">height</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17176</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hp</span><a href="#hp" 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">hp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hp">hp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L95">src/field/pokemon.ts:95</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="id" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>id</span><a href="#id" 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">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#id">id</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L80">src/field/pokemon.ts:80</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="ignoreDestroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ignore<wbr/>Destroy</span><a href="#ignoreDestroy" 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">ignore<wbr/>Destroy</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>This Game Object will ignore all calls made to its destroy method if this flag is set to <code>true</code>.
|
||
This includes calls that may come from a Group, Container or the Scene itself.
|
||
While it allows you to persist a Game Object across Scenes, please understand you are entirely
|
||
responsible for managing references to and from this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#ignoreDestroy">ignoreDestroy</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19645</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="input" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>input</span><a href="#input" 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">input</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">InteractiveObject</span></div><div class="tsd-comment tsd-typography"><p>If this Game Object is enabled for input then this property will contain an InteractiveObject instance.
|
||
Not usually set directly. Instead call <code>GameObject.setInteractive()</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#input">input</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19632</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="ivs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ivs</span><a href="#ivs" 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">ivs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#ivs">ivs</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L97">src/field/pokemon.ts:97</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="last" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>last</span><a href="#last" 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">last</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the last Game Object within the Container, or <code>null</code> if it is empty.</p>
|
||
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#last">last</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17064</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="length" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>length</span><a href="#length" 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">length</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The number of Game Objects inside this Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#length">length</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17050</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="level" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>level</span><a href="#level" 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">level</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#level">level</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L91">src/field/pokemon.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="levelExp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>level<wbr/>Exp</span><a href="#levelExp" 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">level<wbr/>Exp</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#levelExp">levelExp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L93">src/field/pokemon.ts:93</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="list" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>list</span><a href="#list" 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">list</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GameObject</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>An array holding the children of this Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#list">list</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16605</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="localTransform" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>local<wbr/>Transform</span><a href="#localTransform" 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">local<wbr/>Transform</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TransformMatrix</span></div><div class="tsd-comment tsd-typography"><p>Internal Transform Matrix used for local space conversion.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#localTransform">localTransform</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16637</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="luck" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>luck</span><a href="#luck" 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">luck</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#luck">luck</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L106">src/field/pokemon.ts:106</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="mask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mask</span><a href="#mask" 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">mask</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BitmapMask</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GeometryMask</span></div><div class="tsd-comment tsd-typography"><p>The Mask this Game Object is using during render.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#mask">mask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17250</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="maskEnabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mask<wbr/>Enabled</span><a href="#maskEnabled" 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">mask<wbr/>Enabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#maskEnabled">maskEnabled</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L134">src/field/pokemon.ts:134</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="maskSprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>mask<wbr/>Sprite</span><a href="#maskSprite" 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">mask<wbr/>Sprite</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Sprite</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#maskSprite">maskSprite</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L135">src/field/pokemon.ts:135</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="maxSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>max<wbr/>Size</span><a href="#maxSize" 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">max<wbr/>Size</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Containers can have an optional maximum size. If set to anything above 0 it
|
||
will constrict the addition of new Game Objects into the Container, capping off
|
||
the maximum limit the Container can grow in size to.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#maxSize">maxSize</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16627</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="metBiome" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>met<wbr/>Biome</span><a href="#metBiome" 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">met<wbr/>Biome</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">-1</span><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_biome.Biome.html" class="tsd-signature-type tsd-kind-enum">Biome</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#metBiome">metBiome</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L103">src/field/pokemon.ts:103</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="metLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>met<wbr/>Level</span><a href="#metLevel" 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">met<wbr/>Level</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#metLevel">metLevel</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L102">src/field/pokemon.ts:102</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="metSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>met<wbr/>Species</span><a href="#metSpecies" 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">met<wbr/>Species</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#metSpecies">metSpecies</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L104">src/field/pokemon.ts:104</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="metWave" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>met<wbr/>Wave</span><a href="#metWave" 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">met<wbr/>Wave</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#metWave">metWave</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L105">src/field/pokemon.ts:105</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="moveset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>moveset</span><a href="#moveset" 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">moveset</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.PokemonMove.html" class="tsd-signature-type tsd-kind-class">PokemonMove</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#moveset">moveset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L99">src/field/pokemon.ts:99</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="mysteryEncounterBattleEffects" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>mystery<wbr/>Encounter<wbr/>Battle<wbr/>Effects</span><a href="#mysteryEncounterBattleEffects" 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">mystery<wbr/>Encounter<wbr/>Battle<wbr/>Effects</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></div><div class="tsd-comment tsd-typography"><p>Used by Mystery Encounters to execute pokemon-specific logic (such as stat boosts) at start of battle</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#mysteryEncounterBattleEffects">mysteryEncounterBattleEffects</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L130">src/field/pokemon.ts:130</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>name</span><a href="#name" 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">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The name of this Game Object.
|
||
Empty by default and never populated by Phaser, this is left for developers to use.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#name">name</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L81">src/field/pokemon.ts:81</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="nature" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>nature</span><a href="#nature" 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">nature</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#nature">nature</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L98">src/field/pokemon.ts:98</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="next" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>next</span><a href="#next" 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">next</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the next Game Object within the Container, or <code>null</code> if it is empty.</p>
|
||
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#next">next</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17071</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="nickname" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>nickname</span><a href="#nickname" 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">nickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#nickname">nickname</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L82">src/field/pokemon.ts:82</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="originX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>originX</span><a href="#originX" 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">originX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
|
||
Do not change this value. It has no effect other than to break things.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#originX">originX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16687</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="originY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>originY</span><a href="#originY" 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">originY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Internal value to allow Containers to be used for input and physics.
|
||
Do not change this value. It has no effect other than to break things.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#originY">originY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16693</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="parentContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>parent<wbr/>Container</span><a href="#parentContainer" 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">parent<wbr/>Container</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Container</span></div><div class="tsd-comment tsd-typography"><p>The parent Container of this Game Object, if it has one.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#parentContainer">parentContainer</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19586</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="passive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>passive</span><a href="#passive" 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">passive</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#passive">passive</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L86">src/field/pokemon.ts:86</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="pauseEvolutions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pause<wbr/>Evolutions</span><a href="#pauseEvolutions" 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">pause<wbr/>Evolutions</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#pauseEvolutions">pauseEvolutions</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L107">src/field/pokemon.ts:107</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="pokeball" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pokeball</span><a href="#pokeball" 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">pokeball</span><span class="tsd-signature-symbol">:</span> <a href="../enums/enums_pokeball.PokeballType.html" class="tsd-signature-type tsd-kind-enum">PokeballType</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#pokeball">pokeball</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L89">src/field/pokemon.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="pokerus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>pokerus</span><a href="#pokerus" 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">pokerus</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#pokerus">pokerus</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L108">src/field/pokemon.ts:108</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="position" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>position</span><a href="#position" 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">position</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The cursor position.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#position">position</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16632</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="postFX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>postFX</span><a href="#postFX" 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">postFX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FX</span></div><div class="tsd-comment tsd-typography"><p>The Post FX component of this Game Object.</p>
|
||
<p>This component allows you to apply a variety of built-in effects to this Game Object, such
|
||
as glow, blur, bloom, displacements, vignettes and more. You access them via this property,
|
||
for example:</p>
|
||
<pre><code class="js"><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">player</span><span class="hl-1"> = </span><span class="hl-4">this</span><span class="hl-1">.</span><span class="hl-2">add</span><span class="hl-1">.</span><span class="hl-6">sprite</span><span class="hl-1">();</span><br/><span class="hl-2">player</span><span class="hl-1">.</span><span class="hl-2">postFX</span><span class="hl-1">.</span><span class="hl-6">addBloom</span><span class="hl-1">();</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>All FX are WebGL only and do not have Canvas counterparts.</p>
|
||
<p>Please see the FX Class for more details and available methods.</p>
|
||
<p>This property is always <code>null</code> until the <code>initPostPipeline</code> method is called.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#postFX">postFX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17375</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="postPipelineData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>post<wbr/>Pipeline<wbr/>Data</span><a href="#postPipelineData" 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">post<wbr/>Pipeline<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div><div class="tsd-comment tsd-typography"><p>An object to store pipeline specific data in, to be read by the pipelines this Game Object uses.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#postPipelineData">postPipelineData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17328</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="postPipelines" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>post<wbr/>Pipelines</span><a href="#postPipelines" 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">post<wbr/>Pipelines</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>The WebGL Post FX Pipelines this Game Object uses for post-render effects.</p>
|
||
<p>The pipelines are processed in the order in which they appear in this array.</p>
|
||
<p>If you modify this array directly, be sure to set the
|
||
<code>hasPostPipeline</code> property accordingly.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#postPipelines">postPipelines</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17323</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="preFX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>preFX</span><a href="#preFX" 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">preFX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">FX</span></div><div class="tsd-comment tsd-typography"><p>The Pre FX component of this Game Object.</p>
|
||
<p>This component allows you to apply a variety of built-in effects to this Game Object, such
|
||
as glow, blur, bloom, displacements, vignettes and more. You access them via this property,
|
||
for example:</p>
|
||
<pre><code class="js"><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-5">player</span><span class="hl-1"> = </span><span class="hl-4">this</span><span class="hl-1">.</span><span class="hl-2">add</span><span class="hl-1">.</span><span class="hl-6">sprite</span><span class="hl-1">();</span><br/><span class="hl-2">player</span><span class="hl-1">.</span><span class="hl-2">preFX</span><span class="hl-1">.</span><span class="hl-6">addBloom</span><span class="hl-1">();</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>Only the following Game Objects support Pre FX:</p>
|
||
<ul>
|
||
<li>Image</li>
|
||
<li>Sprite</li>
|
||
<li>TileSprite</li>
|
||
<li>Text</li>
|
||
<li>RenderTexture</li>
|
||
<li>Video</li>
|
||
</ul>
|
||
<p>All FX are WebGL only and do not have Canvas counterparts.</p>
|
||
<p>Please see the FX Class for more details and available methods.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#preFX">preFX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17355</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="previous" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>previous</span><a href="#previous" 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">previous</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GameObject</span></div><div class="tsd-comment tsd-typography"><p>Returns the previous Game Object within the Container, or <code>null</code> if it is empty.</p>
|
||
<p>You can move the cursor by calling <code>Container.next</code> and <code>Container.previous</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#previous">previous</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17078</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="renderFlags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>render<wbr/>Flags</span><a href="#renderFlags" 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">render<wbr/>Flags</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The flags that are compared against <code>RENDER_MASK</code> to determine if this Game Object will render or not.
|
||
The bits are 0001 | 0010 | 0100 | 1000 set by the components Visible, Alpha, Transform and Texture respectively.
|
||
If those components are not used by your custom class then you can use this bitmask as you wish.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#renderFlags">renderFlags</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19619</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="rotation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rotation</span><a href="#rotation" 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">rotation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The angle of this Game Object in radians.</p>
|
||
<p>Phaser uses a right-hand clockwise rotation system, where 0 is right, PI/2 is down, +-PI is left
|
||
and -PI/2 is up.</p>
|
||
<p>If you prefer to work in degrees, see the <code>angle</code> property instead.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#rotation">rotation</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17515</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scale</span><a href="#scale" 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">scale</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>This is a special setter that allows you to set both the horizontal and vertical scale of this Game Object
|
||
to the same value, at the same time. When reading this value the result returned is <code>(scaleX + scaleY) / 2</code>.</p>
|
||
<p>Use of this property implies you wish the horizontal and vertical scales to be equal to each other. If this
|
||
isn't the case, use the <code>scaleX</code> or <code>scaleY</code> properties instead.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#scale">scale</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17485</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scaleX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scaleX</span><a href="#scaleX" 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">scaleX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The horizontal scale of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#scaleX">scaleX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17490</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scaleY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scaleY</span><a href="#scaleY" 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">scaleY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The vertical scale of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#scaleY">scaleY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17495</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="scene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scene</span><a href="#scene" 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">scene</span><span class="tsd-signature-symbol">:</span> <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#scene">scene</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4157">src/field/pokemon.ts:4157</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scrollFactorX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scroll<wbr/>FactorX</span><a href="#scrollFactorX" 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">scroll<wbr/>FactorX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The horizontal scroll factor of this Container.</p>
|
||
<p>The scroll factor controls the influence of the movement of a Camera upon this Container.</p>
|
||
<p>When a camera scrolls it will change the location at which this Container is rendered on-screen.
|
||
It does not change the Containers actual position values.</p>
|
||
<p>For a Container, setting this value will only update the Container itself, not its children.
|
||
If you wish to change the scrollFactor of the children as well, use the <code>setScrollFactor</code> method.</p>
|
||
<p>A value of 1 means it will move exactly in sync with a camera.
|
||
A value of 0 means it will not move at all, even if the camera moves.
|
||
Other values control the degree to which the camera movement is mapped to this Container.</p>
|
||
<p>Please be aware that scroll factor values other than 1 are not taken in to consideration when
|
||
calculating physics collisions. Bodies always collide based on their world position, but changing
|
||
the scroll factor is a visual adjustment to where the textures are rendered, which can offset
|
||
them from physics bodies if not accounted for in your code.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#scrollFactorX">scrollFactorX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16659</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="scrollFactorY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>scroll<wbr/>FactorY</span><a href="#scrollFactorY" 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">scroll<wbr/>FactorY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The vertical scroll factor of this Container.</p>
|
||
<p>The scroll factor controls the influence of the movement of a Camera upon this Container.</p>
|
||
<p>When a camera scrolls it will change the location at which this Container is rendered on-screen.
|
||
It does not change the Containers actual position values.</p>
|
||
<p>For a Container, setting this value will only update the Container itself, not its children.
|
||
If you wish to change the scrollFactor of the children as well, use the <code>setScrollFactor</code> method.</p>
|
||
<p>A value of 1 means it will move exactly in sync with a camera.
|
||
A value of 0 means it will not move at all, even if the camera moves.
|
||
Other values control the degree to which the camera movement is mapped to this Container.</p>
|
||
<p>Please be aware that scroll factor values other than 1 are not taken in to consideration when
|
||
calculating physics collisions. Bodies always collide based on their world position, but changing
|
||
the scroll factor is a visual adjustment to where the textures are rendered, which can offset
|
||
them from physics bodies if not accounted for in your code.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#scrollFactorY">scrollFactorY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16681</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="shiny" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shiny</span><a href="#shiny" 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">shiny</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#shiny">shiny</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L87">src/field/pokemon.ts:87</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="species" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>species</span><a href="#species" 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">species</span><span class="tsd-signature-symbol">:</span> <a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#species">species</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L83">src/field/pokemon.ts:83</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="state" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>state</span><a href="#state" 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">state</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The current state of this Game Object.</p>
|
||
<p>Phaser itself will never modify this value, although plugins may do so.</p>
|
||
<p>Use this property to track the state of a Game Object during its lifetime. For example, it could change from
|
||
a state of 'moving', to 'attacking', to 'dead'. The state value should be an integer (ideally mapped to a constant
|
||
in your game code), or a string. These are recommended to keep it light and simple, with fast comparisons.
|
||
If you need to store complex data about your Game Object, look at using the Data Component instead.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#state">state</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19581</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="stats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stats</span><a href="#stats" 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">stats</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#stats">stats</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L96">src/field/pokemon.ts:96</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="status" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>status</span><a href="#status" 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">status</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_status_effect.Status.html" class="tsd-signature-type tsd-kind-class">Status</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#status">status</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L100">src/field/pokemon.ts:100</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="summonData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>summon<wbr/>Data</span><a href="#summonData" 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">summon<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <a href="field_pokemon.PokemonSummonData.html" class="tsd-signature-type tsd-kind-class">PokemonSummonData</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#summonData">summonData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L123">src/field/pokemon.ts:123</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="switchOutStatus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>switch<wbr/>Out<wbr/>Status</span><a href="#switchOutStatus" 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">switch<wbr/>Out<wbr/>Status</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#switchOutStatus">switchOutStatus</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L109">src/field/pokemon.ts:109</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="tabIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tab<wbr/>Index</span><a href="#tabIndex" 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">tab<wbr/>Index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The Tab Index of the Game Object.
|
||
Reserved for future use by plugins and the Input Manager.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#tabIndex">tabIndex</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19605</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="turnData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>turn<wbr/>Data</span><a href="#turnData" 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">turn<wbr/>Data</span><span class="tsd-signature-symbol">:</span> <a href="field_pokemon.PokemonTurnData.html" class="tsd-signature-type tsd-kind-class">PokemonTurnData</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#turnData">turnData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L126">src/field/pokemon.ts:126</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>type</span><a href="#type" 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">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A textual representation of this Game Object, i.e. <code>sprite</code>.
|
||
Used internally by Phaser but is available for your own custom classes to populate.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#type">type</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19569</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="usedTMs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>usedTMs</span><a href="#usedTMs" 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">usedTMs</span><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></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#usedTMs">usedTMs</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L137">src/field/pokemon.ts:137</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="variant" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>variant</span><a href="#variant" 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">variant</span><span class="tsd-signature-symbol">:</span> <a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#variant">variant</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L88">src/field/pokemon.ts:88</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="visible" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>visible</span><a href="#visible" 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">visible</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>The visible state of the Game Object.</p>
|
||
<p>An invisible Game Object will skip rendering, but will still process update logic.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#visible">visible</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17634</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="w" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>w</span><a href="#w" 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">w</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The w position of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#w">w</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17476</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="width" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>width</span><a href="#width" 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">width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The native (un-scaled) width of this Game Object.</p>
|
||
<p>Changing this value will not change the size that the Game Object is rendered in-game.
|
||
For that you need to either set the scale of the Game Object (<code>setScale</code>) or use
|
||
the <code>displayWidth</code> property.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#width">width</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17167</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="x" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>x</span><a href="#x" 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">x</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The x position of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#x">x</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17458</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="y" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>y</span><a href="#y" 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">y</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The y position of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#y">y</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17463</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="z" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>z</span><a href="#z" 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">z</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The z position of this Game Object.</p>
|
||
<p>Note: The z position does not control the rendering order of 2D Game Objects. Use
|
||
Phaser.GameObjects.Components.Depth#depth instead.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#z">z</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17471</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="RENDER_MASK" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code> <code class="tsd-tag">Readonly</code><span>RENDER_<wbr/>MASK</span><a href="#RENDER_MASK" 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">RENDER_<wbr/>MASK</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>The bitmask that <code>GameObject.renderFlags</code> is compared against to determine if the Game Object will render or not.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#RENDER_MASK">RENDER_MASK</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19949</li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="add" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add</span><a href="#add" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="add.add-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#add.add-1.T">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#add.add-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 the given Game Object, or array of Game Objects, to this Container.</p>
|
||
<p>Each Game Object must be unique within the Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="add.add-1.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#add.add-1.T">T</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#add.add-1.T">T</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The Game Object, or array of Game Objects, to add to the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#add">add</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16760</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>At</span><a href="#addAt" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addAt.addAt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>At</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#addAt.addAt-1.T-1">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span>, <span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addAt.addAt-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 the given Game Object, or array of Game Objects, to this Container at the specified position.</p>
|
||
<p>Existing Game Objects in the Container are shifted up.</p>
|
||
<p>Each Game Object must be unique within the Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="addAt.addAt-1.T-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#addAt.addAt-1.T-1">T</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#addAt.addAt-1.T-1">T</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The Game Object, or array of Game Objects, to add to the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The position to insert the Game Object/s at. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#addAt">addAt</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16771</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="addExp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Exp</span><a href="#addExp" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="addExp.addExp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Exp</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">exp</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addExp.addExp-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">exp</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#addExp">addExp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2368">src/field/pokemon.ts:2368</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="addFriendship" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Friendship</span><a href="#addFriendship" 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="addFriendship.addFriendship-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Friendship</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">friendship</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addFriendship.addFriendship-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">friendship</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4274">src/field/pokemon.ts:4274</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Listener</span><a href="#addListener" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addListener.addListener-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addListener.addListener-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>Add a listener for a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The listener function.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#addListener">addListener</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9951</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="addTag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>Tag</span><a href="#addTag" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="addTag.addTag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>Tag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagType</span>, <span class="tsd-kind-parameter">turnCount</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">sourceMove</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">sourceId</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#addTag.addTag-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">tagType</span>: <a href="../enums/enums_battler_tag_type.BattlerTagType.html" class="tsd-signature-type tsd-kind-enum">BattlerTagType</a></span></li><li><span><span class="tsd-kind-parameter">turnCount</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">sourceMove</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">sourceId</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#addTag">addTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3048">src/field/pokemon.ts:3048</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addToDisplayList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>To<wbr/>Display<wbr/>List</span><a href="#addToDisplayList" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addToDisplayList.addToDisplayList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>To<wbr/>Display<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">displayList</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addToDisplayList.addToDisplayList-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 this Game Object to the given Display List.</p>
|
||
<p>If no Display List is specified, it will default to the Display List owned by the Scene to which
|
||
this Game Object belongs.</p>
|
||
<p>A Game Object can only exist on one Display List at any given time, but may move freely between them.</p>
|
||
<p>If this Game Object is already on another Display List when this method is called, it will first
|
||
be removed from it, before being added to the new list.</p>
|
||
<p>You can query which list it is on by looking at the <code>Phaser.GameObjects.GameObject#displayList</code> property.</p>
|
||
<p>If a Game Object isn't on any display list, it will not be rendered. If you just wish to temporarly
|
||
disable it from rendering, consider using the <code>setVisible</code> method, instead.</p>
|
||
</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">displayList</span>: <span class="tsd-signature-type">Layer</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">DisplayList</span></span><div class="tsd-comment tsd-typography"><p>The Display List to add to. Defaults to the Scene Display List.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#addToDisplayList">addToDisplayList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19891</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addToUpdateList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>add<wbr/>To<wbr/>Update<wbr/>List</span><a href="#addToUpdateList" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addToUpdateList.addToUpdateList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">add<wbr/>To<wbr/>Update<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#addToUpdateList.addToUpdateList-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 this Game Object to the Update List belonging to the Scene.</p>
|
||
<p>When a Game Object is added to the Update List it will have its <code>preUpdate</code> method called
|
||
every game frame. This method is passed two parameters: <code>delta</code> and <code>time</code>.</p>
|
||
<p>If you wish to run your own logic within <code>preUpdate</code> then you should always call
|
||
<code>super.preUpdate(delta, time)</code> within it, or it may fail to process required operations,
|
||
such as Sprite animations.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#addToUpdateList">addToUpdateList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19903</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="addedToScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>added<wbr/>To<wbr/>Scene</span><a href="#addedToScene" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="addedToScene.addedToScene-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">added<wbr/>To<wbr/>Scene</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#addedToScene.addedToScene-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>This callback is invoked when this Game Object is added to a Scene.</p>
|
||
<p>Can be overriden by custom Game Objects, but be aware of some Game Objects that
|
||
will use this, such as Sprites, to add themselves into the Update List.</p>
|
||
<p>You can also listen for the <code>ADDED_TO_SCENE</code> event from this Game Object.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#addedToScene">addedToScene</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19834</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="apply" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>apply</span><a href="#apply" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="apply.apply-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">apply</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/field_pokemon.HitResult.html" class="tsd-signature-type tsd-kind-enum">HitResult</a><a href="#apply.apply-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>Applies the results of a move to this pokemon</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">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>The <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> using the move</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>The <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> being used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/field_pokemon.HitResult.html" class="tsd-signature-type tsd-kind-enum">HitResult</a></h4><p>The <a href="../enums/field_pokemon.HitResult.html" class="tsd-kind-enum"><code>HitResult</code></a> of the attack</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#apply">apply</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2810">src/field/pokemon.ts:2810</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="bringToTop" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>bring<wbr/>To<wbr/>Top</span><a href="#bringToTop" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="bringToTop.bringToTop-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">bring<wbr/>To<wbr/>Top</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#bringToTop.bringToTop-1.T-2">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#bringToTop.bringToTop-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>Brings the given Game Object to the top of this Container.
|
||
This will cause it to render on-top of any other objects in the Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="bringToTop.bringToTop-1.T-2" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#bringToTop.bringToTop-1.T-2">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to bring to the top of the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#bringToTop">bringToTop</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16939</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="calculateBaseStats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>calculate<wbr/>Base<wbr/>Stats</span><a href="#calculateBaseStats" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="calculateBaseStats.calculateBaseStats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calculate<wbr/>Base<wbr/>Stats</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#calculateBaseStats.calculateBaseStats-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">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#calculateBaseStats">calculateBaseStats</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1044">src/field/pokemon.ts:1044</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="calculateStats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>calculate<wbr/>Stats</span><a href="#calculateStats" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="calculateStats.calculateStats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">calculate<wbr/>Stats</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#calculateStats.calculateStats-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#calculateStats">calculateStats</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1004">src/field/pokemon.ts:1004</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="canAddTag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>can<wbr/>Add<wbr/>Tag</span><a href="#canAddTag" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="canAddTag.canAddTag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">can<wbr/>Add<wbr/>Tag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#canAddTag.canAddTag-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">tagType</span>: <a href="../enums/enums_battler_tag_type.BattlerTagType.html" class="tsd-signature-type tsd-kind-enum">BattlerTagType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#canAddTag">canAddTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3032">src/field/pokemon.ts:3032</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="canApplyAbility" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>can<wbr/>Apply<wbr/>Ability</span><a href="#canApplyAbility" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="canApplyAbility.canApplyAbility-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">can<wbr/>Apply<wbr/>Ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">passive</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#canApplyAbility.canApplyAbility-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>Checks whether an ability of a pokemon can be currently applied. This should rarely be
|
||
directly called, as <a href="field_pokemon.default.html#hasAbility" class="tsd-kind-method"><code>hasAbility</code></a> and <a href="field_pokemon.default.html#hasAbilityWithAttr" class="tsd-kind-method"><code>hasAbilityWithAttr</code></a> already call this.</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">passive</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If true, check if passive can be applied instead of non-passive</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the ability can be applied</p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See" class="tsd-anchor"></a>See<a href="#See" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="field_pokemon.default.html#hasAbility" class="tsd-kind-method"><code>hasAbility</code></a> <a href="field_pokemon.default.html#hasAbilityWithAttr" class="tsd-kind-method"><code>hasAbilityWithAttr</code></a> Intended ways to check abilities in most cases</p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#canApplyAbility">canApplyAbility</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1452">src/field/pokemon.ts:1452</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="canSetStatus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>can<wbr/>Set<wbr/>Status</span><a href="#canSetStatus" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="canSetStatus.canSetStatus-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">can<wbr/>Set<wbr/>Status</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">effect</span>, <span class="tsd-kind-parameter">quiet</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">overrideStatus</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">sourcePokemon</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#canSetStatus.canSetStatus-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">effect</span>: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-signature-type tsd-kind-enum">StatusEffect</a></span></li><li><span><span class="tsd-kind-parameter">quiet</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">overrideStatus</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">sourcePokemon</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol"> = null</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#canSetStatus">canSetStatus</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3490">src/field/pokemon.ts:3490</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="changeForm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>change<wbr/>Form</span><a href="#changeForm" 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="changeForm.changeForm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">change<wbr/>Form</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">formChange</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#changeForm.changeForm-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">formChange</span>: <a href="data_pokemon_forms.SpeciesFormChange.html" class="tsd-signature-type tsd-kind-class">SpeciesFormChange</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#changeForm">changeForm</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4493">src/field/pokemon.ts:4493</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="checkIfPlayerHasAbilityOfStarter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>check<wbr/>If<wbr/>Player<wbr/>Has<wbr/>Ability<wbr/>Of<wbr/>Starter</span><a href="#checkIfPlayerHasAbilityOfStarter" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="checkIfPlayerHasAbilityOfStarter.checkIfPlayerHasAbilityOfStarter-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">check<wbr/>If<wbr/>Player<wbr/>Has<wbr/>Ability<wbr/>Of<wbr/>Starter</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ownedAbilityAttrs</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#checkIfPlayerHasAbilityOfStarter.checkIfPlayerHasAbilityOfStarter-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>Helper function to check if the player already owns the starter data of the Pokemon's
|
||
current ability</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">ownedAbilityAttrs</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the owned abilityAttr of this Pokemon's root form</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if the player already has it, false otherwise</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#checkIfPlayerHasAbilityOfStarter">checkIfPlayerHasAbilityOfStarter</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4120">src/field/pokemon.ts:4120</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearAlpha" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Alpha</span><a href="#clearAlpha" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearAlpha.clearAlpha-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Alpha</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#clearAlpha.clearAlpha-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>Clears all alpha values associated with this Game Object.</p>
|
||
<p>Immediately sets the alpha levels back to 1 (fully opaque).</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#clearAlpha">clearAlpha</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17095</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearFX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clearFX</span><a href="#clearFX" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearFX.clearFX-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clearFX</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#clearFX.clearFX-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>Removes all Pre and Post FX Controllers from this Game Object.</p>
|
||
<p>If you wish to remove a single controller, use the <code>preFX.remove(fx)</code> or <code>postFX.remove(fx)</code> methods instead.</p>
|
||
<p>If you wish to clear a single controller, use the <code>preFX.clear()</code> or <code>postFX.clear()</code> methods instead.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#clearFX">clearFX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17448</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearFusionSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Fusion<wbr/>Species</span><a href="#clearFusionSpecies" 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="clearFusionSpecies.clearFusionSpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Fusion<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clearFusionSpecies.clearFusionSpecies-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">void</span></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#clearFusionSpecies">clearFusionSpecies</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4540">src/field/pokemon.ts:4540</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="clearMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Mask</span><a href="#clearMask" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="clearMask.clearMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Mask</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">destroyMask</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#clearMask.clearMask-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>Clears the mask that this Game Object was using.</p>
|
||
</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">destroyMask</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Destroy the mask before clearing it? Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#clearMask">clearMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17273</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="copyMoveset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>copy<wbr/>Moveset</span><a href="#copyMoveset" 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="copyMoveset.copyMoveset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">copy<wbr/>Moveset</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.PokemonMove.html" class="tsd-signature-type tsd-kind-class">PokemonMove</a><span class="tsd-signature-symbol">[]</span><a href="#copyMoveset.copyMoveset-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 a deep copy of this Pokemon's moveset array</p>
|
||
</div><h4 class="tsd-returns-title">Returns <a href="field_pokemon.PokemonMove.html" class="tsd-signature-type tsd-kind-class">PokemonMove</a><span class="tsd-signature-symbol">[]</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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4622">src/field/pokemon.ts:4622</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="copyPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>copy<wbr/>Position</span><a href="#copyPosition" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="copyPosition.copyPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">copy<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#copyPosition.copyPosition-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>Copies an object's coordinates to this Game Object's position.</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">source</span>: <span class="tsd-signature-type">Vector2Like</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Vector3Like</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Vector4Like</span></span><div class="tsd-comment tsd-typography"><p>An object with numeric 'x', 'y', 'z', or 'w' properties. Undefined values are not copied.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#copyPosition">copyPosition</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17530</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="count" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>count</span><a href="#count" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="count.count-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#count.count-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 total number of Game Objects in this Container that have a property
|
||
matching the given value.</p>
|
||
<p>For example: <code>count('visible', true)</code> would count all the elements that have their visible property set.</p>
|
||
<p>You can optionally limit the operation to the <code>startIndex</code> - <code>endIndex</code> range.</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">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to check.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to check.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#count">count</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16856</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="createBitmapMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Bitmap<wbr/>Mask</span><a href="#createBitmapMask" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="createBitmapMask.createBitmapMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">create<wbr/>Bitmap<wbr/>Mask</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#createBitmapMask.createBitmapMask-1.G">G</a><span class="tsd-signature-symbol">, </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#createBitmapMask.createBitmapMask-1.T-3">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">maskObject</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">texture</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">frame</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BitmapMask</span><a href="#createBitmapMask.createBitmapMask-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>Creates and returns a Bitmap Mask. This mask can be used by any Game Object,
|
||
including this one, or a Dynamic Texture.</p>
|
||
<p>Note: Bitmap Masks only work on WebGL. Geometry Masks work on both WebGL and Canvas.</p>
|
||
<p>To create the mask you need to pass in a reference to a renderable Game Object.
|
||
A renderable Game Object is one that uses a texture to render with, such as an
|
||
Image, Sprite, Render Texture or BitmapText.</p>
|
||
<p>If you do not provide a renderable object, and this Game Object has a texture,
|
||
it will use itself as the object. This means you can call this method to create
|
||
a Bitmap Mask from any renderable texture-based Game Object.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="createBitmapMask.createBitmapMask-1.G" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">G</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li><li><span><a id="createBitmapMask.createBitmapMask-1.T-3" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">DynamicTexture</span></span></li></ul></section><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">maskObject</span>: <span class="tsd-signature-type">GameObject</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">DynamicTexture</span></span><div class="tsd-comment tsd-typography"><p>The Game Object or Dynamic Texture that will be used as the mask. If <code>null</code> it will generate an Image Game Object using the rest of the arguments.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, the horizontal position in the world.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, the vertical position in the world.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">texture</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Texture</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, the key, or instance of the Texture it will use to render with, as stored in the Texture Manager.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">frame</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Frame</span></span><div class="tsd-comment tsd-typography"><p>If creating a Game Object, an optional frame from the Texture this Game Object is rendering with.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">BitmapMask</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#createBitmapMask">createBitmapMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17294</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="createGeometryMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Geometry<wbr/>Mask</span><a href="#createGeometryMask" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="createGeometryMask.createGeometryMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">create<wbr/>Geometry<wbr/>Mask</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#createGeometryMask.createGeometryMask-1.G-1">G</a><span class="tsd-signature-symbol">, </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#createGeometryMask.createGeometryMask-1.S">S</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">graphics</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GeometryMask</span><a href="#createGeometryMask.createGeometryMask-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>Creates and returns a Geometry Mask. This mask can be used by any Game Object,
|
||
including this one.</p>
|
||
<p>To create the mask you need to pass in a reference to a Graphics Game Object.</p>
|
||
<p>If you do not provide a graphics object, and this Game Object is an instance
|
||
of a Graphics object, then it will use itself to create the mask.</p>
|
||
<p>This means you can call this method to create a Geometry Mask from any Graphics Game Object.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="createGeometryMask.createGeometryMask-1.G-1" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">G</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">Graphics</span></span></li><li><span><a id="createGeometryMask.createGeometryMask-1.S" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">S</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">Shape</span></span></li></ul></section><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">graphics</span>: <span class="tsd-signature-type">Graphics</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Shape</span></span><div class="tsd-comment tsd-typography"><p>A Graphics Game Object, or any kind of Shape Game Object. The geometry within it will be used as the mask.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">GeometryMask</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#createGeometryMask">createGeometryMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17308</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="cry" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>cry</span><a href="#cry" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="cry.cry-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">cry</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">soundConfig</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">sceneOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/battle_scene.AnySound.html" class="tsd-signature-type tsd-kind-type-alias">AnySound</a><a href="#cry.cry-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">soundConfig</span>: <span class="tsd-signature-type">SoundConfig</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">sceneOverride</span>: <a href="battle_scene.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/battle_scene.AnySound.html" class="tsd-signature-type tsd-kind-type-alias">AnySound</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#cry">cry</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3308">src/field/pokemon.ts:3308</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="damage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>damage</span><a href="#damage" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="damage.damage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">damage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">damage</span>, <span class="tsd-kind-parameter">ignoreSegments</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">preventEndure</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreFaintPhase</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#damage.damage-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>Called by damageAndUpdate()</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">damage</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>integer</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreSegments</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>boolean, not currently used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">preventEndure</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>used to update damage if endure or sturdy</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreFaintPhase</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>flag on wheter to add FaintPhase if pokemon after applying damage faints</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>integer representing damage</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#damage">damage</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2956">src/field/pokemon.ts:2956</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="damageAndUpdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>damage<wbr/>And<wbr/>Update</span><a href="#damageAndUpdate" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="damageAndUpdate.damageAndUpdate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">damage<wbr/>And<wbr/>Update</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">damage</span>, <span class="tsd-kind-parameter">result</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">critical</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreSegments</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">preventEndure</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreFaintPhase</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#damageAndUpdate.damageAndUpdate-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>Called by apply(), given the damage, adds a new DamagePhase and actually updates HP values, etc.</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">damage</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>integer - passed to damage()</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">result</span>: <a href="../types/field_pokemon.DamageResult.html" class="tsd-signature-type tsd-kind-type-alias">DamageResult</a></span><div class="tsd-comment tsd-typography"><p>an enum if it's super effective, not very, etc.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">critical</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>boolean if move is a critical hit</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreSegments</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>boolean, passed to damage() and not used currently</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">preventEndure</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>boolean, ignore endure properties of pokemon, passed to damage()</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreFaintPhase</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>boolean to ignore adding a FaintPhase, passsed to damage()</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>integer of damage done</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#damageAndUpdate">damageAndUpdate</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3007">src/field/pokemon.ts:3007</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="destroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>destroy</span><a href="#destroy" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="destroy.destroy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">destroy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#destroy.destroy-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>Destroys this Game Object removing it from the Display List and Update List and
|
||
severing all ties to parent resources.</p>
|
||
<p>Also removes itself from the Input Manager and Physics Manager if previously enabled.</p>
|
||
<p>Use this to remove a Game Object from your game if you don't ever plan to use it again.
|
||
As long as no reference to it exists within your own code it should become free for
|
||
garbage collection by the browser.</p>
|
||
<p>If you just want to temporarily disable an object then look at using the
|
||
Game Object Pool instead of destroying it, as destroyed objects cannot be resurrected.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#destroy">destroy</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4093">src/field/pokemon.ts:4093</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="destroySubstitute" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>destroy<wbr/>Substitute</span><a href="#destroySubstitute" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="destroySubstitute.destroySubstitute-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">destroy<wbr/>Substitute</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#destroySubstitute.destroySubstitute-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>If this Pokemon has a Substitute on the field, removes its sprite from the field.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#destroySubstitute">destroySubstitute</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L764">src/field/pokemon.ts:764</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="disableInteractive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable<wbr/>Interactive</span><a href="#disableInteractive" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="disableInteractive.disableInteractive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disable<wbr/>Interactive</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#disableInteractive.disableInteractive-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>If this Game Object has previously been enabled for input, this will disable it.</p>
|
||
<p>An object that is disabled for input stops processing or being considered for
|
||
input events, but can be turned back on again at any time by simply calling
|
||
<code>setInteractive()</code> with no arguments provided.</p>
|
||
<p>If want to completely remove interaction from this Game Object then use <code>removeInteractive</code> instead.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#disableInteractive">disableInteractive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19802</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="disableMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>disable<wbr/>Mask</span><a href="#disableMask" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="disableMask.disableMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">disable<wbr/>Mask</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#disableMask.disableMask-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#disableMask">disableMask</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3784">src/field/pokemon.ts:3784</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="each" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>each</span><a href="#each" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="each.each-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">each</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#each.each-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>Passes all Game Objects in this Container to the given callback.</p>
|
||
<p>A copy of the Container is made before passing each entry to your callback.
|
||
This protects against the callback itself modifying the Container.</p>
|
||
<p>If you know for sure that the callback will not change the size of this Container
|
||
then you can use the more performant <code>Container.iterate</code> method instead.</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">callback</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The function to call.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">object</span></span><div class="tsd-comment tsd-typography"><p>Value to use as <code>this</code> when executing callback.</p>
|
||
</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">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Additional arguments that will be passed to the callback, after the child.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#each">each</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17012</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="emit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>emit</span><a href="#emit" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="emit.emit-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">emit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#emit.emit-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>Calls each of the listeners registered for a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</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">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Additional arguments that will be passed to the event handler.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#emit">emit</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9935</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="enableMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enable<wbr/>Mask</span><a href="#enableMask" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="enableMask.enableMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">enable<wbr/>Mask</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#enableMask.enableMask-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#enableMask">enableMask</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3773">src/field/pokemon.ts:3773</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="eventNames" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>event<wbr/>Names</span><a href="#eventNames" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="eventNames.eventNames-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">event<wbr/>Names</span><span class="tsd-signature-symbol">(</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><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><a href="#eventNames.eventNames-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>Return an array listing the events for which the emitter has registered listeners.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#eventNames">eventNames</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9916</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="evolve" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>evolve</span><a href="#evolve" 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="evolve.evolve-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">evolve</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolution</span>, <span class="tsd-kind-parameter">preEvolution</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#evolve.evolve-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">evolution</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_balance_pokemon_evolutions.SpeciesFormEvolution.html" class="tsd-signature-type tsd-kind-class">SpeciesFormEvolution</a></span></li><li><span><span class="tsd-kind-parameter">preEvolution</span>: <a href="data_pokemon_species.PokemonSpeciesForm.html" class="tsd-signature-type tsd-kind-class">PokemonSpeciesForm</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4372">src/field/pokemon.ts:4372</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="exists" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>exists</span><a href="#exists" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="exists.exists-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">exists</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#exists.exists-1.T-4">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#exists.exists-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 <code>true</code> if the given Game Object is a direct child of this Container.</p>
|
||
<p>This check does not scan nested Containers.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="exists.exists-1.T-4" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#exists.exists-1.T-4">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to check for within this Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#exists">exists</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16985</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="faintCry" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>faint<wbr/>Cry</span><a href="#faintCry" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="faintCry.faintCry-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">faint<wbr/>Cry</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#faintCry.faintCry-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">callback</span>: <span class="tsd-signature-type">Function</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#faintCry">faintCry</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3330">src/field/pokemon.ts:3330</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="fallbackVariantColor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fallback<wbr/>Variant<wbr/>Color</span><a href="#fallbackVariantColor" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="fallbackVariantColor.fallbackVariantColor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fallback<wbr/>Variant<wbr/>Color</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cacheKey</span>, <span class="tsd-kind-parameter">attemptedSpritePath</span>, <span class="tsd-kind-parameter">useExpSprite</span>, <span class="tsd-kind-parameter">battleSpritePath</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">optionalParams</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#fallbackVariantColor.fallbackVariantColor-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>Gracefully handle errors loading a variant sprite. Log if it fails and attempt to fall back on
|
||
non-experimental sprites before giving up.</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">cacheKey</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the cache key for the variant color sprite</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">attemptedSpritePath</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the sprite path that failed to load</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">useExpSprite</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>was the attempted sprite experimental</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">battleSpritePath</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the filename of the sprite</p>
|
||
</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">optionalParams</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>any additional params to log</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#fallbackVariantColor">fallbackVariantColor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L486">src/field/pokemon.ts:486</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="findAndRemoveTags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>find<wbr/>And<wbr/>Remove<wbr/>Tags</span><a href="#findAndRemoveTags" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="findAndRemoveTags.findAndRemoveTags-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">find<wbr/>And<wbr/>Remove<wbr/>Tags</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagFilter</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#findAndRemoveTags.findAndRemoveTags-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">tagFilter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tag</span><span class="tsd-signature-symbol">: </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tag</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></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">tag</span>: <a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#findAndRemoveTags">findAndRemoveTags</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3140">src/field/pokemon.ts:3140</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="findTag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>find<wbr/>Tag</span><a href="#findTag" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="findTag.findTag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">find<wbr/>Tag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagFilter</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a><a href="#findTag.findTag-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">tagFilter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tag</span><span class="tsd-signature-symbol">: </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tag</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></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">tag</span>: <a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#findTag">findTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3089">src/field/pokemon.ts:3089</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="findTags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>find<wbr/>Tags</span><a href="#findTags" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="findTags.findTags-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">find<wbr/>Tags</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagFilter</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a><span class="tsd-signature-symbol">[]</span><a href="#findTags.findTags-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">tagFilter</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tag</span><span class="tsd-signature-symbol">: </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span></span><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tag</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></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">tag</span>: <a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#findTags">findTags</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3096">src/field/pokemon.ts:3096</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fuse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fuse</span><a href="#fuse" 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="fuse.fuse-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fuse</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#fuse.fuse-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 a Promise to fuse two PlayerPokemon together</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">pokemon</span>: <a href="field_pokemon.PlayerPokemon.html" class="tsd-signature-type tsd-kind-class">PlayerPokemon</a></span><div class="tsd-comment tsd-typography"><p>The PlayerPokemon to fuse to this one</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4549">src/field/pokemon.ts:4549</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="generateAndPopulateMoveset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>And<wbr/>Populate<wbr/>Moveset</span><a href="#generateAndPopulateMoveset" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="generateAndPopulateMoveset.generateAndPopulateMoveset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>And<wbr/>Populate<wbr/>Moveset</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#generateAndPopulateMoveset.generateAndPopulateMoveset-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>Generates a semi-random moveset for a Pokemon</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#generateAndPopulateMoveset">generateAndPopulateMoveset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2102">src/field/pokemon.ts:2102</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="generateCompatibleTms" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>Compatible<wbr/>Tms</span><a href="#generateCompatibleTms" 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="generateCompatibleTms.generateCompatibleTms-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Compatible<wbr/>Tms</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#generateCompatibleTms.generateCompatibleTms-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">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4216">src/field/pokemon.ts:4216</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="generateFusionSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>Fusion<wbr/>Species</span><a href="#generateFusionSpecies" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="generateFusionSpecies.generateFusionSpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Fusion<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">forStarter</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#generateFusionSpecies.generateFusionSpecies-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">forStarter</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#generateFusionSpecies">generateFusionSpecies</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2035">src/field/pokemon.ts:2035</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="generateGender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>Gender</span><a href="#generateGender" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="generateGender.generateGender-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Gender</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#generateGender.generateGender-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#generateGender">generateGender</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1106">src/field/pokemon.ts:1106</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="generateName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>Name</span><a href="#generateName" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="generateName.generateName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Name</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#generateName.generateName-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 Pokemon's name. Only called when loading a Pokemon so this function needs to be called when
|
||
initializing hardcoded Pokemon or else it will not display the form index name properly.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><p>n/a</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#generateName">generateName</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L386">src/field/pokemon.ts:386</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="generateNature" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>generate<wbr/>Nature</span><a href="#generateNature" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="generateNature.generateNature-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Nature</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">naturePool</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#generateNature.generateNature-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">naturePool</span>: <a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#generateNature">generateNature</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1080">src/field/pokemon.ts:1080</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited"><a id="generateShinyVariant" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>generate<wbr/>Shiny<wbr/>Variant</span><a href="#generateShinyVariant" 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 tsd-is-protected tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="generateShinyVariant.generateShinyVariant-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">generate<wbr/>Shiny<wbr/>Variant</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a><a href="#generateShinyVariant.generateShinyVariant-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>Generates a shiny variant</p>
|
||
</div><h4 class="tsd-returns-title">Returns <a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></h4><p><code>0-2</code>, with the following probabilities:</p>
|
||
<ul>
|
||
<li>Has a 10% chance of returning <code>2</code> (epic variant)</li>
|
||
<li>Has a 30% chance of returning <code>1</code> (rare variant)</li>
|
||
<li>Has a 60% chance of returning <code>0</code> (basic shiny)</li>
|
||
</ul>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#generateShinyVariant">generateShinyVariant</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2009">src/field/pokemon.ts:2009</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAbility" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Ability</span><a href="#getAbility" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getAbility.getAbility-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_ability.Ability.html" class="tsd-signature-type tsd-kind-class">Ability</a><a href="#getAbility.getAbility-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>Gets the non-passive ability of the pokemon. This accounts for fusions and ability changing effects.
|
||
This should rarely be called, most of the time <a href="field_pokemon.default.html#hasAbility" class="tsd-kind-method"><code>hasAbility</code></a> or <a href="field_pokemon.default.html#hasAbilityWithAttr" class="tsd-kind-method"><code>hasAbilityWithAttr</code></a> are better used as
|
||
those check both the passive and non-passive abilities and account for ability suppression.</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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, ignore ability changing effects; Default: <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_ability.Ability.html" class="tsd-signature-type tsd-kind-class">Ability</a></h4><p>The non-passive <a href="data_ability.Ability.html" class="tsd-kind-class"><code>Ability</code></a> of the pokemon</p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-1" class="tsd-anchor"></a>See<a href="#See-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="field_pokemon.default.html#hasAbility" class="tsd-kind-method"><code>hasAbility</code></a> <a href="field_pokemon.default.html#hasAbilityWithAttr" class="tsd-kind-method"><code>hasAbilityWithAttr</code></a> Intended ways to check abilities in most cases</p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAbility">getAbility</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1343">src/field/pokemon.ts:1343</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAbilityAttrs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Ability<wbr/>Attrs</span><a href="#getAbilityAttrs" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getAbilityAttrs.getAbilityAttrs-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Ability<wbr/>Attrs</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAbilityAttrs.getAbilityAttrs-1.T-5">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attrType</span>, <span class="tsd-kind-parameter">canApply</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAbilityAttrs.getAbilityAttrs-1.T-5">T</a><span class="tsd-signature-symbol">[]</span><a href="#getAbilityAttrs.getAbilityAttrs-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>Gets a list of all instances of a given ability attribute among abilities this pokemon has.
|
||
Accounts for all the various effects which can affect whether an ability will be present or
|
||
in effect, and both passive and non-passive.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getAbilityAttrs.getAbilityAttrs-1.T-5" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="data_ability.AbAttr.html" class="tsd-signature-type tsd-kind-class">AbAttr</a> = <a href="data_ability.AbAttr.html" class="tsd-signature-type tsd-kind-class">AbAttr</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">attrType</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAbilityAttrs.getAbilityAttrs-1.T-5">T</a><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p><a href="data_ability.AbAttr.html" class="tsd-kind-class"><code>AbAttr</code></a> The ability attribute to check for.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-keyword">new </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAbilityAttrs.getAbilityAttrs-1.T-5">T</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">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAbilityAttrs.getAbilityAttrs-1.T-5">T</a></h4></li></ul></li></ul></li><li><span><span class="tsd-kind-parameter">canApply</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>If <code>false</code>, it doesn't check whether the ability is currently active; Default <code>true</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, it ignores ability changing effects; Default <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAbilityAttrs.getAbilityAttrs-1.T-5">T</a><span class="tsd-signature-symbol">[]</span></h4><p>An array of all the ability attributes on this ability.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAbilityAttrs">getAbilityAttrs</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1404">src/field/pokemon.ts:1404</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAccuracyMultiplier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Accuracy<wbr/>Multiplier</span><a href="#getAccuracyMultiplier" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getAccuracyMultiplier.getAccuracyMultiplier-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Accuracy<wbr/>Multiplier</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">target</span>, <span class="tsd-kind-parameter">sourceMove</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getAccuracyMultiplier.getAccuracyMultiplier-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>Calculates the accuracy multiplier of the user against a target.</p>
|
||
<p>This method considers various factors such as the user's accuracy level, the target's evasion level,
|
||
abilities, and modifiers to compute the final accuracy multiplier.</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">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> - The target Pokémon against which the move is used.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">sourceMove</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> - The move being used by the user.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The calculated accuracy multiplier.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAccuracyMultiplier">getAccuracyMultiplier</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2480">src/field/pokemon.ts:2480</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>All</span><a href="#getAll" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getAll.getAll-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>All</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAll.getAll-1.T-6">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAll.getAll-1.T-5">T</a><span class="tsd-signature-symbol">[]</span><a href="#getAll.getAll-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 all Game Objects in this Container.</p>
|
||
<p>You can optionally specify a matching criteria using the <code>property</code> and <code>value</code> arguments.</p>
|
||
<p>For example: <code>getAll('body')</code> would return only Game Objects that have a body property.</p>
|
||
<p>You can also specify a value to compare the property to:</p>
|
||
<p><code>getAll('visible', true)</code> would return only Game Objects that have their visible property set to <code>true</code>.</p>
|
||
<p>Optionally you can specify a start and end index. For example if this Container had 100 Game Objects,
|
||
and you set <code>startIndex</code> to 0 and <code>endIndex</code> to 50, it would return matches from only
|
||
the first 50 Game Objects.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getAll.getAll-1.T-6" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><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">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to test on each Game Object in the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>If property is set then the <code>property</code> must strictly equal this value to be included in the results.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAll.getAll-1.T-5">T</a><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAll">getAll</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16842</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAlliedField" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Allied<wbr/>Field</span><a href="#getAlliedField" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getAlliedField.getAlliedField-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Allied<wbr/>Field</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span><a href="#getAlliedField.getAlliedField-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>Gets the Pokémon on the allied field.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span></h4><p>An array of Pokémon on the allied field.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAlliedField">getAlliedField</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2420">src/field/pokemon.ts:2420</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAlly" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Ally</span><a href="#getAlly" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getAlly.getAlly-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Ally</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#getAlly.getAlly-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="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAlly">getAlly</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2411">src/field/pokemon.ts:2411</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>At</span><a href="#getAt" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getAt.getAt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>At</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getAt.getAt-1.T-7">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAt.getAt-1.T-6">T</a><a href="#getAt.getAt-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 Game Object at the given position in this Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getAt.getAt-1.T-7" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The position to get the Game Object from.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getAt.getAt-1.T-6">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAt">getAt</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16777</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAttackDamage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Attack<wbr/>Damage</span><a href="#getAttackDamage" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getAttackDamage.getAttackDamage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Attack<wbr/>Damage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">move</span>, <span class="tsd-kind-parameter">ignoreAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreSourceAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">isCritical</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/field_pokemon.DamageCalculationResult.html" class="tsd-signature-type tsd-kind-interface">DamageCalculationResult</a><a href="#getAttackDamage.getAttackDamage-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>Calculates the damage of an attack made by another Pokemon against this Pokemon</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">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the attacking Pokemon</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the move used in the attack</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, ignores this Pokemon's defensive ability effects</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreSourceAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, ignores the attacking Pokemon's ability effects</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isCritical</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, calculates damage for a critical hit.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, suppresses changes to game state during the calculation.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/field_pokemon.DamageCalculationResult.html" class="tsd-signature-type tsd-kind-interface">DamageCalculationResult</a></h4><p>a <a href="../interfaces/field_pokemon.DamageCalculationResult.html" class="tsd-kind-interface"><code>DamageCalculationResult</code></a> object with three fields:</p>
|
||
<ul>
|
||
<li><code>cancelled</code>: <code>true</code> if the move was cancelled by another effect.</li>
|
||
<li><code>result</code>: <a href="../enums/field_pokemon.HitResult.html" class="tsd-kind-enum"><code>HitResult</code></a> indicates the attack's type effectiveness.</li>
|
||
<li><code>damage</code>: <code>number</code> the attack's final damage output.</li>
|
||
</ul>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAttackDamage">getAttackDamage</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2582">src/field/pokemon.ts:2582</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAttackTypeEffectiveness" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Attack<wbr/>Type<wbr/>Effectiveness</span><a href="#getAttackTypeEffectiveness" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getAttackTypeEffectiveness.getAttackTypeEffectiveness-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Attack<wbr/>Type<wbr/>Effectiveness</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveType</span>, <span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreStrongWinds</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/data_type.TypeDamageMultiplier.html" class="tsd-signature-type tsd-kind-type-alias">TypeDamageMultiplier</a><a href="#getAttackTypeEffectiveness.getAttackTypeEffectiveness-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>Calculates the move's type effectiveness multiplier based on the target's type/s.</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">moveType</span>: <a href="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/enums_type.Type.html" class="tsd-kind-enum"><code>Type</code></a> the type of the move being used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the Pokemon using the move</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreStrongWinds</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>whether or not this ignores strong winds (anticipation, forewarn, stealth rocks)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>tag to only apply the strong winds effect message when the move is used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>(optional) the move whose type effectiveness is to be checked. Used for applying <a href="data_move.VariableMoveTypeChartAttr.html" class="tsd-kind-class"><code>VariableMoveTypeChartAttr</code></a></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/data_type.TypeDamageMultiplier.html" class="tsd-signature-type tsd-kind-type-alias">TypeDamageMultiplier</a></h4><p>a multiplier for the type effectiveness</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getAttackTypeEffectiveness">getAttackTypeEffectiveness</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1695">src/field/pokemon.ts:1695</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBaseDamage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Base<wbr/>Damage</span><a href="#getBaseDamage" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getBaseDamage.getBaseDamage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Base<wbr/>Damage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">move</span>, <span class="tsd-kind-parameter">moveCategory</span>, <span class="tsd-kind-parameter">ignoreAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreSourceAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">isCritical</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getBaseDamage.getBaseDamage-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>Calculates the base damage of the given move against this Pokemon when attacked by the given source.
|
||
Used during damage calculation and for Shell Side Arm's forecasting effect.</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">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the attacking <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> used in the attack.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">moveCategory</span>: <a href="../enums/data_move.MoveCategory.html" class="tsd-signature-type tsd-kind-enum">MoveCategory</a></span><div class="tsd-comment tsd-typography"><p>the move's <a href="../enums/data_move.MoveCategory.html" class="tsd-kind-enum"><code>MoveCategory</code></a> after variable-category effects are applied.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>if <code>true</code>, ignores this Pokemon's defensive ability effects (defaults to <code>false</code>).</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreSourceAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>if <code>true</code>, ignore's the attacking Pokemon's ability effects (defaults to <code>false</code>).</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isCritical</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>if <code>true</code>, calculates effective stats as if the hit were critical (defaults to <code>false</code>).</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>if <code>true</code>, suppresses changes to game state during calculation (defaults to <code>true</code>).</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>The move's base damage against this Pokemon when used by the source Pokemon.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBaseDamage">getBaseDamage</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2532">src/field/pokemon.ts:2532</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBattleInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Battle<wbr/>Info</span><a href="#getBattleInfo" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getBattleInfo.getBattleInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Battle<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="ui_battle_info.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#getBattleInfo.getBattleInfo-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="ui_battle_info.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBattleInfo">getBattleInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4099">src/field/pokemon.ts:4099</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBattleSpriteAtlasPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span><a href="#getBattleSpriteAtlasPath" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getBattleSpriteAtlasPath.getBattleSpriteAtlasPath-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">back</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</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="#getBattleSpriteAtlasPath.getBattleSpriteAtlasPath-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">back</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBattleSpriteAtlasPath">getBattleSpriteAtlasPath</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L539">src/field/pokemon.ts:539</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBattleSpriteId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Id</span><a href="#getBattleSpriteId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getBattleSpriteId.getBattleSpriteId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Battle<wbr/>Sprite<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">back</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</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="#getBattleSpriteId.getBattleSpriteId-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">back</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBattleSpriteId">getBattleSpriteId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L548">src/field/pokemon.ts:548</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBattleSpriteKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Key</span><a href="#getBattleSpriteKey" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getBattleSpriteKey.getBattleSpriteKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Battle<wbr/>Sprite<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">back</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</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="#getBattleSpriteKey.getBattleSpriteKey-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">back</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBattleSpriteKey">getBattleSpriteKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L559">src/field/pokemon.ts:559</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getBattlerIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Battler<wbr/>Index</span><a href="#getBattlerIndex" 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="getBattlerIndex.getBattlerIndex-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Battler<wbr/>Index</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/battle.BattlerIndex.html" class="tsd-signature-type tsd-kind-enum">BattlerIndex</a><a href="#getBattlerIndex.getBattlerIndex-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="../enums/battle.BattlerIndex.html" class="tsd-signature-type tsd-kind-enum">BattlerIndex</a></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBattlerIndex">getBattlerIndex</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4212">src/field/pokemon.ts:4212</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getBounds" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Bounds</span><a href="#getBounds" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getBounds.getBounds-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Bounds</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">output</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Rectangle</span><a href="#getBounds.getBounds-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>Gets the bounds of this Container. It works by iterating all children of the Container,
|
||
getting their respective bounds, and then working out a min-max rectangle from that.
|
||
It does not factor in if the children render or not, all are included.</p>
|
||
<p>Some children are unable to return their bounds, such as Graphics objects, in which case
|
||
they are skipped.</p>
|
||
<p>Depending on the quantity of children in this Container it could be a really expensive call,
|
||
so cache it and only poll it as needed.</p>
|
||
<p>The values are stored and returned in a Rectangle object.</p>
|
||
</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">output</span>: <span class="tsd-signature-type">Rectangle</span></span><div class="tsd-comment tsd-typography"><p>A Geom.Rectangle object to store the values in. If not provided a new Rectangle will be created.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Rectangle</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBounds">getBounds</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16737</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getBoundsTransformMatrix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Bounds<wbr/>Transform<wbr/>Matrix</span><a href="#getBoundsTransformMatrix" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getBoundsTransformMatrix.getBoundsTransformMatrix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Bounds<wbr/>Transform<wbr/>Matrix</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TransformMatrix</span><a href="#getBoundsTransformMatrix.getBoundsTransformMatrix-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 world transform matrix as used for Bounds checks.</p>
|
||
<p>The returned matrix is temporal and shouldn't be stored.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TransformMatrix</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getBoundsTransformMatrix">getBoundsTransformMatrix</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16752</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getByName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>By<wbr/>Name</span><a href="#getByName" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getByName.getByName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>By<wbr/>Name</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getByName.getByName-1.T-8">T</a><span class="tsd-signature-symbol">></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 class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getByName.getByName-1.T-7">T</a><a href="#getByName.getByName-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>Searches for the first instance of a child with its <code>name</code> property matching the given argument.
|
||
Should more than one child have the same name only the first is returned.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getByName.getByName-1.T-8" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><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 to search for.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getByName.getByName-1.T-7">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getByName">getByName</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16798</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getCritStage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Crit<wbr/>Stage</span><a href="#getCritStage" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getCritStage.getCritStage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Crit<wbr/>Stage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getCritStage.getCritStage-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>Retrieves the critical-hit stage considering the move used and the Pokemon
|
||
who used it.</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">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> who using the move</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> being used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>the final critical-hit stage value</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getCritStage">getCritStage</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L901">src/field/pokemon.ts:901</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Data</span><a href="#getData" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getData.getData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#getData.getData-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>Retrieves the value for the given key in this Game Objects Data Manager, or undefined if it doesn't exist.</p>
|
||
<p>You can also access values via the <code>values</code> object. For example, if you had a key called <code>gold</code> you can do either:</p>
|
||
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">getData</span><span class="hl-1">(</span><span class="hl-7">'gold'</span><span class="hl-1">);</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>Or access the value directly:</p>
|
||
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-2">data</span><span class="hl-1">.</span><span class="hl-2">values</span><span class="hl-1">.</span><span class="hl-2">gold</span><span class="hl-1">;</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>You can also pass in an array of keys, in which case an array of values will be returned:</p>
|
||
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">getData</span><span class="hl-1">([ </span><span class="hl-7">'gold'</span><span class="hl-1">, </span><span class="hl-7">'armor'</span><span class="hl-1">, </span><span class="hl-7">'health'</span><span class="hl-1"> ]);</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>This approach is useful for destructuring arrays in ES6.</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">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The key of the value to retrieve, or an array of keys.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getData">getData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19773</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getDexAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Dex<wbr/>Attr</span><a href="#getDexAttr" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getDexAttr.getDexAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Dex<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span><a href="#getDexAttr.getDexAttr-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">bigint</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getDexAttr">getDexAttr</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L372">src/field/pokemon.ts:372</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getEffectiveStat" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Effective<wbr/>Stat</span><a href="#getEffectiveStat" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getEffectiveStat.getEffectiveStat-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Effective<wbr/>Stat</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">stat</span>, <span class="tsd-kind-parameter">opponent</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOppAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">isCritical</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getEffectiveStat.getEffectiveStat-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>Calculates and retrieves the final value of a stat considering any held
|
||
items, move effects, opponent abilities, and whether there was a critical
|
||
hit.</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">stat</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ATK" class="tsd-signature-type tsd-kind-enum-member">ATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#DEF" class="tsd-signature-type tsd-kind-enum-member">DEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPATK" class="tsd-signature-type tsd-kind-enum-member">SPATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPDEF" class="tsd-signature-type tsd-kind-enum-member">SPDEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPD" class="tsd-signature-type tsd-kind-enum-member">SPD</a></span><div class="tsd-comment tsd-typography"><p>the desired <a href="../types/enums_stat.EffectiveStat.html" class="tsd-kind-type-alias"><code>EffectiveStat</code></a></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opponent</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the target <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> being used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>determines whether this Pokemon's abilities should be ignored during the stat calculation</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreOppAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>during an attack, determines whether the opposing Pokemon's abilities should be ignored during the stat calculation.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isCritical</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>determines whether a critical hit has occurred or not (<code>false</code> by default)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>if <code>true</code>, nullifies any effects that produce any changes to game state from triggering</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>the final in-battle value of a stat</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getEffectiveStat">getEffectiveStat</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L939">src/field/pokemon.ts:939</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getEggMoves" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Egg<wbr/>Moves</span><a href="#getEggMoves" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getEggMoves.getEggMoves-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Egg<wbr/>Moves</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><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><a href="#getEggMoves.getEggMoves-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>Get a list of all egg moves</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><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></h4><p>list of egg moves</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getEggMoves">getEggMoves</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1912">src/field/pokemon.ts:1912</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getEvolution" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Evolution</span><a href="#getEvolution" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getEvolution.getEvolution-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Evolution</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_balance_pokemon_evolutions.SpeciesFormEvolution.html" class="tsd-signature-type tsd-kind-class">SpeciesFormEvolution</a><a href="#getEvolution.getEvolution-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">null</span><span class="tsd-signature-symbol"> | </span><a href="data_balance_pokemon_evolutions.SpeciesFormEvolution.html" class="tsd-signature-type tsd-kind-class">SpeciesFormEvolution</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getEvolution">getEvolution</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1789">src/field/pokemon.ts:1789</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getExpValue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Exp<wbr/>Value</span><a href="#getExpValue" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getExpValue.getExpValue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Exp<wbr/>Value</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getExpValue.getExpValue-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">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getExpValue">getExpValue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3723">src/field/pokemon.ts:3723</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getFieldIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Field<wbr/>Index</span><a href="#getFieldIndex" 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="getFieldIndex.getFieldIndex-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Field<wbr/>Index</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getFieldIndex.getFieldIndex-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">number</span></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFieldIndex">getFieldIndex</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4208">src/field/pokemon.ts:4208</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFieldPositionOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Field<wbr/>Position<wbr/>Offset</span><a href="#getFieldPositionOffset" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFieldPositionOffset.getFieldPositionOffset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Field<wbr/>Position<wbr/>Offset</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#getFieldPositionOffset.getFieldPositionOffset-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-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFieldPositionOffset">getFieldPositionOffset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L719">src/field/pokemon.ts:719</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getFirst" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>First</span><a href="#getFirst" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getFirst.getFirst-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>First</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getFirst.getFirst-1.T-9">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getFirst.getFirst-1.T-8">T</a><a href="#getFirst.getFirst-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>Gets the first Game Object in this Container.</p>
|
||
<p>You can also specify a property and value to search for, in which case it will return the first
|
||
Game Object in this Container with a matching property and / or value.</p>
|
||
<p>For example: <code>getFirst('visible', true)</code> would return the first Game Object that had its <code>visible</code> property set.</p>
|
||
<p>You can limit the search to the <code>startIndex</code> - <code>endIndex</code> range.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getFirst.getFirst-1.T-9" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to test on each Game Object in the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to test the property against. Must pass a strict (<code>===</code>) comparison check.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getFirst.getFirst-1.T-8">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFirst">getFirst</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16821</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFormKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Form<wbr/>Key</span><a href="#getFormKey" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFormKey.getFormKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Form<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="#getFormKey.getFormKey-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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFormKey">getFormKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L517">src/field/pokemon.ts:517</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionBattleSpriteAtlasPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span><a href="#getFusionBattleSpriteAtlasPath" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionBattleSpriteAtlasPath.getFusionBattleSpriteAtlasPath-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">back</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</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="#getFusionBattleSpriteAtlasPath.getFusionBattleSpriteAtlasPath-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">back</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionBattleSpriteAtlasPath">getFusionBattleSpriteAtlasPath</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L578">src/field/pokemon.ts:578</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionBattleSpriteId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Id</span><a href="#getFusionBattleSpriteId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionBattleSpriteId.getFusionBattleSpriteId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">back</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</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="#getFusionBattleSpriteId.getFusionBattleSpriteId-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">back</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionBattleSpriteId">getFusionBattleSpriteId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L567">src/field/pokemon.ts:567</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionBattleSpriteKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Key</span><a href="#getFusionBattleSpriteKey" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionBattleSpriteKey.getFusionBattleSpriteKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">back</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</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="#getFusionBattleSpriteKey.getFusionBattleSpriteKey-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">back</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionBattleSpriteKey">getFusionBattleSpriteKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L574">src/field/pokemon.ts:574</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionFormKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Form<wbr/>Key</span><a href="#getFusionFormKey" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionFormKey.getFusionFormKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Form<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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><a href="#getFusionFormKey.getFusionFormKey-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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionFormKey">getFusionFormKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L524">src/field/pokemon.ts:524</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionGender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Gender</span><a href="#getFusionGender" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionGender.getFusionGender-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Gender</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/data_gender.Gender.html" class="tsd-signature-type tsd-kind-enum">Gender</a><a href="#getFusionGender.getFusionGender-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/data_gender.Gender.html" class="tsd-signature-type tsd-kind-enum">Gender</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionGender">getFusionGender</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1126">src/field/pokemon.ts:1126</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionIconAtlasKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Icon<wbr/>Atlas<wbr/>Key</span><a href="#getFusionIconAtlasKey" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionIconAtlasKey.getFusionIconAtlasKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Icon<wbr/>Atlas<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</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="#getFusionIconAtlasKey.getFusionIconAtlasKey-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionIconAtlasKey">getFusionIconAtlasKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L586">src/field/pokemon.ts:586</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionIconId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Icon<wbr/>Id</span><a href="#getFusionIconId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionIconId.getFusionIconId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Icon<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</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="#getFusionIconId.getFusionIconId-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionIconId">getFusionIconId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L594">src/field/pokemon.ts:594</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionSpeciesForm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Species<wbr/>Form</span><a href="#getFusionSpeciesForm" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionSpeciesForm.getFusionSpeciesForm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Species<wbr/>Form</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_pokemon_species.PokemonSpeciesForm.html" class="tsd-signature-type tsd-kind-class">PokemonSpeciesForm</a><a href="#getFusionSpeciesForm.getFusionSpeciesForm-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_pokemon_species.PokemonSpeciesForm.html" class="tsd-signature-type tsd-kind-class">PokemonSpeciesForm</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionSpeciesForm">getFusionSpeciesForm</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L609">src/field/pokemon.ts:609</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getFusionSpriteId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Fusion<wbr/>Sprite<wbr/>Id</span><a href="#getFusionSpriteId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getFusionSpriteId.getFusionSpriteId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Fusion<wbr/>Sprite<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</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="#getFusionSpriteId.getFusionSpriteId-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getFusionSpriteId">getFusionSpriteId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L563">src/field/pokemon.ts:563</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getGender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Gender</span><a href="#getGender" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getGender.getGender-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Gender</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/data_gender.Gender.html" class="tsd-signature-type tsd-kind-enum">Gender</a><a href="#getGender.getGender-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/data_gender.Gender.html" class="tsd-signature-type tsd-kind-enum">Gender</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getGender">getGender</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1119">src/field/pokemon.ts:1119</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getHeldItems" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Held<wbr/>Items</span><a href="#getHeldItems" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getHeldItems.getHeldItems-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Held<wbr/>Items</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="modifier_modifier.PokemonHeldItemModifier.html" class="tsd-signature-type tsd-kind-class">PokemonHeldItemModifier</a><span class="tsd-signature-symbol">[]</span><a href="#getHeldItems.getHeldItems-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="modifier_modifier.PokemonHeldItemModifier.html" class="tsd-signature-type tsd-kind-class">PokemonHeldItemModifier</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getHeldItems">getHeldItems</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L656">src/field/pokemon.ts:656</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getHpRatio" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Hp<wbr/>Ratio</span><a href="#getHpRatio" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getHpRatio.getHpRatio-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Hp<wbr/>Ratio</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">precise</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getHpRatio.getHpRatio-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">precise</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">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getHpRatio">getHpRatio</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1100">src/field/pokemon.ts:1100</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getIconAtlasKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Icon<wbr/>Atlas<wbr/>Key</span><a href="#getIconAtlasKey" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getIconAtlasKey.getIconAtlasKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Icon<wbr/>Atlas<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</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="#getIconAtlasKey.getIconAtlasKey-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getIconAtlasKey">getIconAtlasKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L582">src/field/pokemon.ts:582</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getIconId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Icon<wbr/>Id</span><a href="#getIconId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getIconId.getIconId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Icon<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</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="#getIconId.getIconId-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getIconId">getIconId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L590">src/field/pokemon.ts:590</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Index</span><a href="#getIndex" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getIndex.getIndex-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Index</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getIndex.getIndex-1.T-10">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getIndex.getIndex-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 index of the given Game Object in this Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getIndex.getIndex-1.T-10" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getIndex.getIndex-1.T-9">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to search for in this Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getIndex">getIndex</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16783</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getIndexList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Index<wbr/>List</span><a href="#getIndexList" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getIndexList.getIndexList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Index<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getIndexList.getIndexList-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 an array containing the display list index of either this Game Object, or if it has one,
|
||
its parent Container. It then iterates up through all of the parent containers until it hits the
|
||
root of the display list (which is index 0 in the returned array).</p>
|
||
<p>Used internally by the InputPlugin but also useful if you wish to find out the display depth of
|
||
this Game Object and all of its ancestors.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getIndexList">getIndexList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19872</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getInverseHp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Inverse<wbr/>Hp</span><a href="#getInverseHp" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getInverseHp.getInverseHp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Inverse<wbr/>Hp</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getInverseHp.getInverseHp-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">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getInverseHp">getInverseHp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1096">src/field/pokemon.ts:1096</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getLastXMoves" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>LastXMoves</span><a href="#getLastXMoves" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getLastXMoves.getLastXMoves-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>LastXMoves</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveCount</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/field_pokemon.TurnMove.html" class="tsd-signature-type tsd-kind-interface">TurnMove</a><span class="tsd-signature-symbol">[]</span><a href="#getLastXMoves.getLastXMoves-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 a list of the most recent move entries in this Pokemon's move history.
|
||
The retrieved move entries are sorted in order from NEWEST to OLDEST.</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">moveCount</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></span><div class="tsd-comment tsd-typography"><p>The number of move entries to retrieve.
|
||
If negative, retrieve the Pokemon's entire move history (equivalent to reversing the output of <a href="field_pokemon.default.html#getMoveHistory" class="tsd-kind-method"><code>()</code></a>).
|
||
Default is <code>1</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/field_pokemon.TurnMove.html" class="tsd-signature-type tsd-kind-interface">TurnMove</a><span class="tsd-signature-symbol">[]</span></h4><p>A list of <a href="../interfaces/field_pokemon.TurnMove.html" class="tsd-kind-interface"><code>TurnMove</code></a>, as specified above.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getLastXMoves">getLastXMoves</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3266">src/field/pokemon.ts:3266</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getLearnableLevelMoves" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Learnable<wbr/>Level<wbr/>Moves</span><a href="#getLearnableLevelMoves" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getLearnableLevelMoves.getLearnableLevelMoves-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Learnable<wbr/>Level<wbr/>Moves</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><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><a href="#getLearnableLevelMoves.getLearnableLevelMoves-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>Gets all possible learnable level moves for the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>,
|
||
excluding any moves already known.</p>
|
||
<p>Available egg moves are only included if the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> was
|
||
in the starting party of the run and if Fresh Start is not active.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol">[]</span></h4><p>an array of <a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>Moves</code></a>, the length of which is determined
|
||
by how many learnable moves there are for the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getLearnableLevelMoves">getLearnableLevelMoves</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1212">src/field/pokemon.ts:1212</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getLevelMoves" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Level<wbr/>Moves</span><a href="#getLevelMoves" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getLevelMoves.getLevelMoves-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Level<wbr/>Moves</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">startingLevel</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">includeEvolutionMoves</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulateEvolutionChain</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">includeRelearnerMoves</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/data_balance_pokemon_level_moves.LevelMoves.html" class="tsd-signature-type tsd-kind-type-alias">LevelMoves</a><a href="#getLevelMoves.getLevelMoves-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>Gets all level up moves in a given range for a particular pokemon.</p>
|
||
</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">startingLevel</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Don't include moves below this level</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">includeEvolutionMoves</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether to include evolution moves</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulateEvolutionChain</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether to include moves from prior evolutions</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">includeRelearnerMoves</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether to include moves that would require a relearner. Note the move relearner inherently allows evolution moves</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/data_balance_pokemon_level_moves.LevelMoves.html" class="tsd-signature-type tsd-kind-type-alias">LevelMoves</a></h4><p>A list of moves and the levels they can be learned at</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getLevelMoves">getLevelMoves</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1823">src/field/pokemon.ts:1823</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getLocalPoint" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Local<wbr/>Point</span><a href="#getLocalPoint" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getLocalPoint.getLocalPoint-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Local<wbr/>Point</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span>, <span class="tsd-kind-parameter">y</span>, <span class="tsd-kind-parameter">point</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">camera</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2</span><a href="#getLocalPoint.getLocalPoint-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>Takes the given <code>x</code> and <code>y</code> coordinates and converts them into local space for this
|
||
Game Object, taking into account parent and local transforms, and the Display Origin.</p>
|
||
<p>The returned Vector2 contains the translated point in its properties.</p>
|
||
<p>A Camera needs to be provided in order to handle modified scroll factors. If no
|
||
camera is specified, it will use the <code>main</code> camera from the Scene to which this
|
||
Game Object belongs.</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">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position to translate.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position to translate.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">point</span>: <span class="tsd-signature-type">Vector2</span></span><div class="tsd-comment tsd-typography"><p>A Vector2, or point-like object, to store the results in.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">camera</span>: <span class="tsd-signature-type">Camera</span></span><div class="tsd-comment tsd-typography"><p>The Camera which is being tested against. If not given will use the Scene default camera.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getLocalPoint">getLocalPoint</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17620</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getLocalTransformMatrix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Local<wbr/>Transform<wbr/>Matrix</span><a href="#getLocalTransformMatrix" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getLocalTransformMatrix.getLocalTransformMatrix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Local<wbr/>Transform<wbr/>Matrix</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tempMatrix</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TransformMatrix</span><a href="#getLocalTransformMatrix.getLocalTransformMatrix-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>Gets the local transform matrix for this Game Object.</p>
|
||
</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">tempMatrix</span>: <span class="tsd-signature-type">TransformMatrix</span></span><div class="tsd-comment tsd-typography"><p>The matrix to populate with the values from this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TransformMatrix</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getLocalTransformMatrix">getLocalTransformMatrix</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17597</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getLuck" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Luck</span><a href="#getLuck" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getLuck.getLuck-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Luck</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getLuck.getLuck-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">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getLuck">getLuck</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1141">src/field/pokemon.ts:1141</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMatchupScore" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Matchup<wbr/>Score</span><a href="#getMatchupScore" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getMatchupScore.getMatchupScore-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Matchup<wbr/>Score</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">opponent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getMatchupScore.getMatchupScore-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>Computes the given Pokemon's matchup score against this Pokemon.
|
||
In most cases, this score ranges from near-zero to 16, but the maximum possible matchup score is 64.</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">opponent</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> The Pokemon to compare this Pokemon against</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>A score value based on how favorable this Pokemon is when fighting the given Pokemon</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getMatchupScore">getMatchupScore</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1756">src/field/pokemon.ts:1756</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMaxHp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Max<wbr/>Hp</span><a href="#getMaxHp" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getMaxHp.getMaxHp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Max<wbr/>Hp</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getMaxHp.getMaxHp-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">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getMaxHp">getMaxHp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1092">src/field/pokemon.ts:1092</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMoveEffectiveness" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Move<wbr/>Effectiveness</span><a href="#getMoveEffectiveness" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getMoveEffectiveness.getMoveEffectiveness-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Move<wbr/>Effectiveness</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">move</span>, <span class="tsd-kind-parameter">ignoreAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">cancelled</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/data_type.TypeDamageMultiplier.html" class="tsd-signature-type tsd-kind-type-alias">TypeDamageMultiplier</a><a href="#getMoveEffectiveness.getMoveEffectiveness-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>Calculates the effectiveness of a move against the Pokémon.
|
||
This includes modifiers from move and ability attributes.</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">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> The attacking Pokémon.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> The move being used by the attacking Pokémon.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether to ignore abilities that might affect type effectiveness or immunity (defaults to <code>false</code>).</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether to apply abilities via simulated calls (defaults to <code>true</code>)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">cancelled</span>: <a href="utils.BooleanHolder.html" class="tsd-signature-type tsd-kind-class">BooleanHolder</a></span><div class="tsd-comment tsd-typography"><p><a href="utils.BooleanHolder.html" class="tsd-kind-class"><code>Utils.BooleanHolder</code></a> Stores whether the move was cancelled by a non-type-based immunity.
|
||
Currently only used by Pokemon.apply to determine whether a "No effect" message should be shown.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/data_type.TypeDamageMultiplier.html" class="tsd-signature-type tsd-kind-type-alias">TypeDamageMultiplier</a></h4><p>The type damage multiplier, indicating the effectiveness of the move</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getMoveEffectiveness">getMoveEffectiveness</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1629">src/field/pokemon.ts:1629</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMoveHistory" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Move<wbr/>History</span><a href="#getMoveHistory" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getMoveHistory.getMoveHistory-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Move<wbr/>History</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/field_pokemon.TurnMove.html" class="tsd-signature-type tsd-kind-interface">TurnMove</a><span class="tsd-signature-symbol">[]</span><a href="#getMoveHistory.getMoveHistory-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="../interfaces/field_pokemon.TurnMove.html" class="tsd-signature-type tsd-kind-interface">TurnMove</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getMoveHistory">getMoveHistory</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3246">src/field/pokemon.ts:3246</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMoveQueue" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Move<wbr/>Queue</span><a href="#getMoveQueue" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getMoveQueue.getMoveQueue-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Move<wbr/>Queue</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/field_pokemon.QueuedMove.html" class="tsd-signature-type tsd-kind-interface">QueuedMove</a><span class="tsd-signature-symbol">[]</span><a href="#getMoveQueue.getMoveQueue-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="../interfaces/field_pokemon.QueuedMove.html" class="tsd-signature-type tsd-kind-interface">QueuedMove</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getMoveQueue">getMoveQueue</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3275">src/field/pokemon.ts:3275</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMoveType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Move<wbr/>Type</span><a href="#getMoveType" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getMoveType.getMoveType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Move<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">move</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><a href="#getMoveType.getMoveType-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>Calculates the type of a move when used by this Pokemon after
|
||
type-changing move and ability attributes have applied.</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">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> The move being used.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, prevents showing abilities applied in this calculation.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></h4><p>The <a href="../enums/enums_type.Type.html" class="tsd-kind-enum"><code>Type</code></a> of the move after attributes are applied</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getMoveType">getMoveType</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1603">src/field/pokemon.ts:1603</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getMoveset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Moveset</span><a href="#getMoveset" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getMoveset.getMoveset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Moveset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.PokemonMove.html" class="tsd-signature-type tsd-kind-class">PokemonMove</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><a href="#getMoveset.getMoveset-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.PokemonMove.html" class="tsd-signature-type tsd-kind-class">PokemonMove</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getMoveset">getMoveset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1160">src/field/pokemon.ts:1160</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getNameToRender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Name<wbr/>To<wbr/>Render</span><a href="#getNameToRender" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getNameToRender.getNameToRender-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Name<wbr/>To<wbr/>Render</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="#getNameToRender.getNameToRender-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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getNameToRender">getNameToRender</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L281">src/field/pokemon.ts:281</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getNature" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Nature</span><a href="#getNature" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getNature.getNature-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Nature</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a><a href="#getNature.getNature-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="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getNature">getNature</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1066">src/field/pokemon.ts:1066</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getOpponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Opponent</span><a href="#getOpponent" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getOpponent.getOpponent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Opponent</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">targetIndex</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#getOpponent.getOpponent-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">targetIndex</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getOpponent">getOpponent</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2391">src/field/pokemon.ts:2391</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getOpponentDescriptor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Opponent<wbr/>Descriptor</span><a href="#getOpponentDescriptor" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getOpponentDescriptor.getOpponentDescriptor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Opponent<wbr/>Descriptor</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="#getOpponentDescriptor.getOpponentDescriptor-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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getOpponentDescriptor">getOpponentDescriptor</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2403">src/field/pokemon.ts:2403</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getOpponents" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Opponents</span><a href="#getOpponents" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getOpponents.getOpponents-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Opponents</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span><a href="#getOpponents.getOpponents-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="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getOpponents">getOpponents</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2399">src/field/pokemon.ts:2399</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getParentRotation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Parent<wbr/>Rotation</span><a href="#getParentRotation" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getParentRotation.getParentRotation-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Parent<wbr/>Rotation</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getParentRotation.getParentRotation-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>Gets the sum total rotation of all of this Game Objects parent Containers.</p>
|
||
<p>The returned value is in radians and will be zero if this Game Object has no parent container.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getParentRotation">getParentRotation</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17627</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getPassiveAbility" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Passive<wbr/>Ability</span><a href="#getPassiveAbility" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getPassiveAbility.getPassiveAbility-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Passive<wbr/>Ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_ability.Ability.html" class="tsd-signature-type tsd-kind-class">Ability</a><a href="#getPassiveAbility.getPassiveAbility-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>Gets the passive ability of the pokemon. This should rarely be called, most of the time
|
||
<a href="field_pokemon.default.html#hasAbility" class="tsd-kind-method"><code>hasAbility</code></a> or <a href="field_pokemon.default.html#hasAbilityWithAttr" class="tsd-kind-method"><code>hasAbilityWithAttr</code></a> are better used as those check both the passive and
|
||
non-passive abilities and account for ability suppression.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <a href="data_ability.Ability.html" class="tsd-signature-type tsd-kind-class">Ability</a></h4><p>The passive <a href="data_ability.Ability.html" class="tsd-kind-class"><code>Ability</code></a> of the pokemon</p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-2" class="tsd-anchor"></a>See<a href="#See-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="field_pokemon.default.html#hasAbility" class="tsd-kind-method"><code>hasAbility</code></a> <a href="field_pokemon.default.html#hasAbilityWithAttr" class="tsd-kind-method"><code>hasAbilityWithAttr</code></a> Intended ways to check abilities in most cases</p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getPassiveAbility">getPassiveAbility</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1377">src/field/pokemon.ts:1377</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPossibleEvolution" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Possible<wbr/>Evolution</span><a href="#getPossibleEvolution" 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="getPossibleEvolution.getPossibleEvolution-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Possible<wbr/>Evolution</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">evolution</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"><</span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">></span><a href="#getPossibleEvolution.getPossibleEvolution-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">evolution</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_balance_pokemon_evolutions.SpeciesFormEvolution.html" class="tsd-signature-type tsd-kind-class">SpeciesFormEvolution</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4348">src/field/pokemon.ts:4348</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getPossibleForm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Possible<wbr/>Form</span><a href="#getPossibleForm" 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="getPossibleForm.getPossibleForm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Possible<wbr/>Form</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">formChange</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"><</span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">></span><a href="#getPossibleForm.getPossibleForm-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">formChange</span>: <a href="data_pokemon_forms.SpeciesFormChange.html" class="tsd-signature-type tsd-kind-class">SpeciesFormChange</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4485">src/field/pokemon.ts:4485</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Post<wbr/>Pipeline</span><a href="#getPostPipeline" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getPostPipeline.getPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pipeline</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span><a href="#getPostPipeline.getPostPipeline-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>Gets a Post Pipeline instance from this Game Object, based on the given name, and returns it.</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">pipeline</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span></span><div class="tsd-comment tsd-typography"><p>The string-based name of the pipeline, or a pipeline class.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getPostPipeline">getPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17424</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getRandom" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Random</span><a href="#getRandom" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getRandom.getRandom-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Random</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getRandom.getRandom-1.T-11">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">length</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getRandom.getRandom-1.T-10">T</a><a href="#getRandom.getRandom-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 a random Game Object from this Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getRandom.getRandom-1.T-11" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><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">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">length</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional length, the total number of elements (from the startIndex) to choose from.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#getRandom.getRandom-1.T-10">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getRandom">getRandom</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16805</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getRestrictingTag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Restricting<wbr/>Tag</span><a href="#getRestrictingTag" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getRestrictingTag.getRestrictingTag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Restricting<wbr/>Tag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveId</span>, <span class="tsd-kind-parameter">user</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_battler_tags.MoveRestrictionBattlerTag.html" class="tsd-signature-type tsd-kind-class">MoveRestrictionBattlerTag</a><a href="#getRestrictingTag.getRestrictingTag-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>Gets the <a href="data_battler_tags.MoveRestrictionBattlerTag.html" class="tsd-kind-class">MoveRestrictionBattlerTag</a> that is restricting a move, if it exists.</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">moveId</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>Moves</code></a> ID of the move to check</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">user</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the move user, optional and used when the target is a factor in the move's restricted status</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the target of the move, optional and used when the target is a factor in the move's restricted status</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="data_battler_tags.MoveRestrictionBattlerTag.html" class="tsd-signature-type tsd-kind-class">MoveRestrictionBattlerTag</a></h4><p>the first tag on this Pokemon that restricts the move, or <code>null</code> if the move is not restricted.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getRestrictingTag">getRestrictingTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3235">src/field/pokemon.ts:3235</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSpeciesForm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>Form</span><a href="#getSpeciesForm" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getSpeciesForm.getSpeciesForm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>Form</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_pokemon_species.PokemonSpeciesForm.html" class="tsd-signature-type tsd-kind-class">PokemonSpeciesForm</a><a href="#getSpeciesForm.getSpeciesForm-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="data_pokemon_species.PokemonSpeciesForm.html" class="tsd-signature-type tsd-kind-class">PokemonSpeciesForm</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getSpeciesForm">getSpeciesForm</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L598">src/field/pokemon.ts:598</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Sprite</span><a href="#getSprite" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getSprite.getSprite-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Sprite</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Sprite</span><a href="#getSprite.getSprite-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">Sprite</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getSprite">getSprite</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L620">src/field/pokemon.ts:620</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSpriteAtlasPath" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span><a href="#getSpriteAtlasPath" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getSpriteAtlasPath.getSpriteAtlasPath-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</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="#getSpriteAtlasPath.getSpriteAtlasPath-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getSpriteAtlasPath">getSpriteAtlasPath</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L534">src/field/pokemon.ts:534</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSpriteId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Sprite<wbr/>Id</span><a href="#getSpriteId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getSpriteId.getSpriteId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Sprite<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOverride</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="#getSpriteId.getSpriteId-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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getSpriteId">getSpriteId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L544">src/field/pokemon.ts:544</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">ignoreOverride</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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getSpriteKey">getSpriteKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L555">src/field/pokemon.ts:555</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSpriteScale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Sprite<wbr/>Scale</span><a href="#getSpriteScale" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getSpriteScale.getSpriteScale-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Sprite<wbr/>Scale</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getSpriteScale.getSpriteScale-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">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getSpriteScale">getSpriteScale</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L630">src/field/pokemon.ts:630</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getStat" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Stat</span><a href="#getStat" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getStat.getStat-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Stat</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">stat</span>, <span class="tsd-kind-parameter">bypassSummonData</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getStat.getStat-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>Retrieves the corresponding <a href="../types/enums_stat.PermanentStat.html" class="tsd-kind-type-alias"><code>PermanentStat</code></a> of the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</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">stat</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#HP" class="tsd-signature-type tsd-kind-enum-member">HP</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ATK" class="tsd-signature-type tsd-kind-enum-member">ATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#DEF" class="tsd-signature-type tsd-kind-enum-member">DEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPATK" class="tsd-signature-type tsd-kind-enum-member">SPATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPDEF" class="tsd-signature-type tsd-kind-enum-member">SPDEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPD" class="tsd-signature-type tsd-kind-enum-member">SPD</a></span><div class="tsd-comment tsd-typography"><p>the desired <a href="../types/enums_stat.PermanentStat.html" class="tsd-kind-type-alias"><code>PermanentStat</code></a></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">bypassSummonData</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>prefer actual stats (<code>true</code> by default) or in-battle overridden stats (<code>false</code>)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>the numeric value of the desired <a href="../enums/enums_stat.Stat.html" class="tsd-kind-enum"><code>Stat</code></a></p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getStat">getStat</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L835">src/field/pokemon.ts:835</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getStatStage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Stat<wbr/>Stage</span><a href="#getStatStage" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getStatStage.getStatStage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Stat<wbr/>Stage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">stat</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getStatStage.getStatStage-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>Retrieves the in-battle stage of the specified <a href="../types/enums_stat.BattleStat.html" class="tsd-kind-type-alias"><code>BattleStat</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">stat</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ATK" class="tsd-signature-type tsd-kind-enum-member">ATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#DEF" class="tsd-signature-type tsd-kind-enum-member">DEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPATK" class="tsd-signature-type tsd-kind-enum-member">SPATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPDEF" class="tsd-signature-type tsd-kind-enum-member">SPDEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPD" class="tsd-signature-type tsd-kind-enum-member">SPD</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ACC" class="tsd-signature-type tsd-kind-enum-member">ACC</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#EVA" class="tsd-signature-type tsd-kind-enum-member">EVA</a></span><div class="tsd-comment tsd-typography"><p>the <a href="../types/enums_stat.BattleStat.html" class="tsd-kind-type-alias"><code>BattleStat</code></a> whose stage is desired</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>the stage of the desired <a href="../types/enums_stat.BattleStat.html" class="tsd-kind-type-alias"><code>BattleStat</code></a> if available, 0 otherwise</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getStatStage">getStatStage</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L873">src/field/pokemon.ts:873</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getStatStageMultiplier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Stat<wbr/>Stage<wbr/>Multiplier</span><a href="#getStatStageMultiplier" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getStatStageMultiplier.getStatStageMultiplier-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Stat<wbr/>Stage<wbr/>Multiplier</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">stat</span>, <span class="tsd-kind-parameter">opponent</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">move</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOppAbility</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">isCritical</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getStatStageMultiplier.getStatStageMultiplier-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>Calculates the stat stage multiplier of the user against an opponent.</p>
|
||
<p>Note that this does not apply to evasion or accuracy</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">stat</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ATK" class="tsd-signature-type tsd-kind-enum-member">ATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#DEF" class="tsd-signature-type tsd-kind-enum-member">DEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPATK" class="tsd-signature-type tsd-kind-enum-member">SPATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPDEF" class="tsd-signature-type tsd-kind-enum-member">SPDEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPD" class="tsd-signature-type tsd-kind-enum-member">SPD</a></span><div class="tsd-comment tsd-typography"><p>the desired <a href="../types/enums_stat.EffectiveStat.html" class="tsd-kind-type-alias"><code>EffectiveStat</code></a></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">opponent</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the target <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">move</span>: <a href="data_move.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the <a href="data_move.default.html" class="tsd-kind-class"><code>Move</code></a> being used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreOppAbility</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>determines whether the effects of the opponent's abilities (i.e. Unaware) should be ignored (<code>false</code> by default)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">isCritical</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>determines whether a critical hit has occurred or not (<code>false</code> by default)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>determines whether effects are applied without altering game state (<code>true</code> by default)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>the stat stage multiplier to be used for effective stat calculation</p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-3" class="tsd-anchor"></a>See<a href="#See-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="field_pokemon.default.html#getAccuracyMultiplier" class="tsd-kind-method"><code>getAccuracyMultiplier</code></a></p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getStatStageMultiplier">getStatStageMultiplier</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2437">src/field/pokemon.ts:2437</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getStatStages" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Stat<wbr/>Stages</span><a href="#getStatStages" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getStatStages.getStatStages-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Stat<wbr/>Stages</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getStatStages.getStatStages-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>Retrieves the entire set of in-battle stat stages of the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>the numeric values of the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>'s in-battle stat stages if available, a fresh stat stage array otherwise</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getStatStages">getStatStages</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L864">src/field/pokemon.ts:864</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getStats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Stats</span><a href="#getStats" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getStats.getStats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Stats</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">bypassSummonData</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#getStats.getStats-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>Retrieves the entire set of stats of the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</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">bypassSummonData</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>prefer actual stats (<code>true</code> by default) or in-battle overriden stats (<code>false</code>)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><p>the numeric values of the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>'s stats</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getStats">getStats</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L822">src/field/pokemon.ts:822</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getSubstituteOffset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Substitute<wbr/>Offset</span><a href="#getSubstituteOffset" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getSubstituteOffset.getSubstituteOffset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Substitute<wbr/>Offset</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#getSubstituteOffset.getSubstituteOffset-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 Pokemon's offset from its current field position in the event that
|
||
it has a Substitute doll in effect. The offset is returned in <code>[ x, y ]</code> format.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-4" class="tsd-anchor"></a>See<a href="#See-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
|
||
<li><a href="data_battler_tags.SubstituteTag.html" class="tsd-kind-class"><code>SubstituteTag</code></a></li>
|
||
<li><a href="field_pokemon.default.html#getFieldPositionOffset" class="tsd-kind-method"><code>getFieldPositionOffset</code></a></li>
|
||
</ul>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getSubstituteOffset">getSubstituteOffset</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L736">src/field/pokemon.ts:736</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Tag</span><a href="#getTag" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTag.getTag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/utils.nil.html" class="tsd-signature-type tsd-kind-type-alias">nil</a><span class="tsd-signature-symbol"> | </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a><a href="#getTag.getTag-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">tagType</span>: <a href="../enums/enums_battler_tag_type.BattlerTagType.html" class="tsd-signature-type tsd-kind-enum">BattlerTagType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/utils.nil.html" class="tsd-signature-type tsd-kind-type-alias">nil</a><span class="tsd-signature-symbol"> | </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getTag">getTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3074">src/field/pokemon.ts:3074</a></li></ul></aside></li><li class="tsd-signature tsd-anchor-link"><a id="getTag.getTag-2" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tag</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getTag.getTag-2.T-12">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/utils.nil.html" class="tsd-signature-type tsd-kind-type-alias">nil</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getTag.getTag-2.T-12">T</a><a href="#getTag.getTag-2" 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"><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="getTag.getTag-2.T-12" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><a href="data_battler_tags.BattlerTag.html" class="tsd-signature-type tsd-kind-class">BattlerTag</a></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">tagType</span>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getTag.getTag-2.T-12">T</a><span class="tsd-signature-symbol">></span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/utils.nil.html" class="tsd-signature-type tsd-kind-type-alias">nil</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#getTag.getTag-2.T-12">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getTag">getTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3077">src/field/pokemon.ts:3077</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTeraType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Tera<wbr/>Type</span><a href="#getTeraType" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTeraType.getTeraType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tera<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><a href="#getTeraType.getTeraType-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="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></h4><p>The tera-formed type of the pokemon, or <a href="../enums/enums_type.Type.html#UNKNOWN" class="tsd-kind-enum-member"><code>Type.UNKNOWN</code></a> if not present</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getTeraType">getTeraType</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1545">src/field/pokemon.ts:1545</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTintSprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Tint<wbr/>Sprite</span><a href="#getTintSprite" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTintSprite.getTintSprite-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Tint<wbr/>Sprite</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Sprite</span><a href="#getTintSprite.getTintSprite-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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Sprite</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getTintSprite">getTintSprite</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L624">src/field/pokemon.ts:624</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getTypes" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Types</span><a href="#getTypes" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getTypes.getTypes-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Types</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">includeTeraType</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">forDefend</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><span class="tsd-signature-symbol">[]</span><a href="#getTypes.getTypes-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>Gets the types of a pokemon</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">includeTeraType</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> to include tera-formed type; Default: <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">forDefend</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> if the pokemon is defending from an attack; Default: <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, ignore ability changing effects; Default: <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a><span class="tsd-signature-symbol">[]</span></h4><p>array of <a href="../enums/enums_type.Type.html" class="tsd-kind-enum"><code>Type</code></a></p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getTypes">getTypes</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1231">src/field/pokemon.ts:1231</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getUnlockedEggMoves" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Unlocked<wbr/>Egg<wbr/>Moves</span><a href="#getUnlockedEggMoves" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getUnlockedEggMoves.getUnlockedEggMoves-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Unlocked<wbr/>Egg<wbr/>Moves</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><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><a href="#getUnlockedEggMoves.getUnlockedEggMoves-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>Checks which egg moves have been unlocked for the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> based
|
||
on the species it was met at or by the first <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> in its evolution
|
||
line that can act as a starter and provides those egg moves.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a><span class="tsd-signature-symbol">[]</span></h4><p>an array of <a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>Moves</code></a>, the length of which is determined by how many
|
||
egg moves are unlocked for that species.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getUnlockedEggMoves">getUnlockedEggMoves</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1190">src/field/pokemon.ts:1190</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getVariant" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Variant</span><a href="#getVariant" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getVariant.getVariant-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Variant</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a><a href="#getVariant.getVariant-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="../types/data_variant.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getVariant">getVariant</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1137">src/field/pokemon.ts:1137</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Weight</span><a href="#getWeight" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="getWeight.getWeight-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Weight</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#getWeight.getWeight-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>Gets the weight of the Pokemon with subtractive modifiers (Autotomize) happening first
|
||
and then multiplicative modifiers happening after (Heavy Metal and Light Metal)</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>the kg of the Pokemon (minimum of 0.1)</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getWeight">getWeight</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1528">src/field/pokemon.ts:1528</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getWorldTransformMatrix" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>World<wbr/>Transform<wbr/>Matrix</span><a href="#getWorldTransformMatrix" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getWorldTransformMatrix.getWorldTransformMatrix-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>World<wbr/>Transform<wbr/>Matrix</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tempMatrix</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">parentMatrix</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">TransformMatrix</span><a href="#getWorldTransformMatrix.getWorldTransformMatrix-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>Gets the world transform matrix for this Game Object, factoring in any parent Containers.</p>
|
||
</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">tempMatrix</span>: <span class="tsd-signature-type">TransformMatrix</span></span><div class="tsd-comment tsd-typography"><p>The matrix to populate with the values from this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">parentMatrix</span>: <span class="tsd-signature-type">TransformMatrix</span></span><div class="tsd-comment tsd-typography"><p>A temporary matrix to hold parent values during the calculations.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TransformMatrix</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#getWorldTransformMatrix">getWorldTransformMatrix</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17604</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasAbility" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Ability</span><a href="#hasAbility" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hasAbility.hasAbility-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Ability</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ability</span>, <span class="tsd-kind-parameter">canApply</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasAbility.hasAbility-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>Checks whether a pokemon has the specified ability and it's in effect. Accounts for all the various
|
||
effects which can affect whether an ability will be present or in effect, and both passive and
|
||
non-passive. This is the primary way to check whether a pokemon has a particular ability.</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">ability</span>: <a href="../enums/enums_abilities.Abilities.html" class="tsd-signature-type tsd-kind-enum">Abilities</a></span><div class="tsd-comment tsd-typography"><p>The ability to check for</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">canApply</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>If false, it doesn't check whether the ability is currently active</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>If true, it ignores ability changing effects</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether the ability is present and active</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasAbility">hasAbility</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1493">src/field/pokemon.ts:1493</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasAbilityWithAttr" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Ability<wbr/>With<wbr/>Attr</span><a href="#hasAbilityWithAttr" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hasAbilityWithAttr.hasAbilityWithAttr-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Ability<wbr/>With<wbr/>Attr</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attrType</span>, <span class="tsd-kind-parameter">canApply</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasAbilityWithAttr.hasAbilityWithAttr-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>Checks whether a pokemon has an ability with the specified attribute and it's in effect.
|
||
Accounts for all the various effects which can affect whether an ability will be present or
|
||
in effect, and both passive and non-passive. This is one of the two primary ways to check
|
||
whether a pokemon has a particular ability.</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">attrType</span>: <a href="../types/utils.Constructor.html" class="tsd-signature-type tsd-kind-type-alias">Constructor</a><span class="tsd-signature-symbol"><</span><a href="data_ability.AbAttr.html" class="tsd-signature-type tsd-kind-class">AbAttr</a><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>The ability attribute to check for</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">canApply</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>If false, it doesn't check whether the ability is currently active</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>If true, it ignores ability changing effects</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Whether an ability with that attribute is present and active</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasAbilityWithAttr">hasAbilityWithAttr</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1513">src/field/pokemon.ts:1513</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasFusionSpecies" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Fusion<wbr/>Species</span><a href="#hasFusionSpecies" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hasFusionSpecies.hasFusionSpecies-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Fusion<wbr/>Species</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">species</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasFusionSpecies.hasFusionSpecies-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>Checks if the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> has a fusion with the specified <a href="../enums/enums_species.Species.html" class="tsd-kind-enum"><code>Species</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">species</span>: <a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a></span><div class="tsd-comment tsd-typography"><p>the pokemon <a href="../enums/enums_species.Species.html" class="tsd-kind-enum"><code>Species</code></a> to check</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> has a fusion with the specified <a href="../enums/enums_species.Species.html" class="tsd-kind-enum"><code>Species</code></a>, <code>false</code> otherwise</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasFusionSpecies">hasFusionSpecies</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1154">src/field/pokemon.ts:1154</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasPassive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Passive</span><a href="#hasPassive" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hasPassive.hasPassive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Passive</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasPassive.hasPassive-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>Checks if a pokemon has a passive either from:</p>
|
||
<ul>
|
||
<li>bought with starter candy</li>
|
||
<li>set by override</li>
|
||
<li>is a boss pokemon</li>
|
||
</ul>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the Pokemon has a passive</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasPassive">hasPassive</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1425">src/field/pokemon.ts:1425</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hasSameAbilityInRootForm" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Same<wbr/>Ability<wbr/>In<wbr/>Root<wbr/>Form</span><a href="#hasSameAbilityInRootForm" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hasSameAbilityInRootForm.hasSameAbilityInRootForm-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Same<wbr/>Ability<wbr/>In<wbr/>Root<wbr/>Form</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">abilityIndex</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasSameAbilityInRootForm.hasSameAbilityInRootForm-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>Checks whether or not the Pokemon's root form has the same ability</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">abilityIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the given ability index we are checking</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if the abilities are the same</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasSameAbilityInRootForm">hasSameAbilityInRootForm</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4108">src/field/pokemon.ts:4108</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hasTrainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Trainer</span><a href="#hasTrainer" 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="hasTrainer.hasTrainer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Trainer</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#hasTrainer.hasTrainer-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">boolean</span></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hasTrainer">hasTrainer</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4200">src/field/pokemon.ts:4200</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="heal" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>heal</span><a href="#heal" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="heal.heal-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">heal</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">amount</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#heal.heal-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">amount</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#heal">heal</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3017">src/field/pokemon.ts:3017</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="hideInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>hide<wbr/>Info</span><a href="#hideInfo" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="hideInfo.hideInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">hide<wbr/>Info</span><span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#hideInfo.hideInfo-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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#hideInfo">hideInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2317">src/field/pokemon.ts:2317</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="incData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>inc<wbr/>Data</span><a href="#incData" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="incData.incData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">inc<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span>, <span class="tsd-kind-parameter">amount</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#incData.incData-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>Increase a value for the given key within this Game Objects Data Manager. If the key doesn't already exist in the Data Manager then it is increased from 0.</p>
|
||
<p>If the Game Object has not been enabled for data (via <code>setDataEnabled</code>) then it will be enabled
|
||
before setting the value.</p>
|
||
<p>If the key doesn't already exist in the Data Manager then it is created.</p>
|
||
<p>When the value is first set, a <code>setdata</code> event is emitted from this Game Object.</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">key</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The key to change the value for.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">amount</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The amount to increase the given key by. Pass a negative value to decrease the key. Default 1.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#incData">incData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19734</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="init" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init</span><a href="#init" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="init.init-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#init.init-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#init">init</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L293">src/field/pokemon.ts:293</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initBattleInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>Battle<wbr/>Info</span><a href="#initBattleInfo" 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="initBattleInfo.initBattleInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Battle<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initBattleInfo.initBattleInfo-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">void</span></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#initBattleInfo">initBattleInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4191">src/field/pokemon.ts:4191</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="initPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>Post<wbr/>Pipeline</span><a href="#initPostPipeline" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="initPostPipeline.initPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">preFX</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initPostPipeline.initPostPipeline-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>This should only be called during the instantiation of the Game Object.</p>
|
||
<p>It is called by default by all core Game Objects and doesn't need
|
||
calling again.</p>
|
||
<p>After that, use <code>setPostPipeline</code>.</p>
|
||
</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">preFX</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Does this Game Object support Pre FX? Default false.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#initPostPipeline">initPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17386</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="initShinySparkle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>init<wbr/>Shiny<wbr/>Sparkle</span><a href="#initShinySparkle" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="initShinySparkle.initShinySparkle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">init<wbr/>Shiny<wbr/>Sparkle</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initShinySparkle.initShinySparkle-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#initShinySparkle">initShinySparkle</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L672">src/field/pokemon.ts:672</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isActive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Active</span><a href="#isActive" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isActive.isActive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Active</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">onField</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isActive.isActive-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>Checks if the pokemon is allowed in battle (ie: not fainted, and allowed under any active challenges).</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">onField</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> to also check if the pokemon is currently on the field, defaults to <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the pokemon is "active". Returns <code>false</code> if there is no active <a href="battle_scene.default.html" class="tsd-kind-class"><code>BattleScene</code></a></p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isActive">isActive</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L365">src/field/pokemon.ts:365</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isAllowedInBattle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Allowed<wbr/>In<wbr/>Battle</span><a href="#isAllowedInBattle" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isAllowedInBattle.isAllowedInBattle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Allowed<wbr/>In<wbr/>Battle</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isAllowedInBattle.isAllowedInBattle-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>Check if this pokemon is both not fainted and allowed to be in battle based on currently active challenges.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if pokemon is allowed in battle</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isAllowedInBattle">isAllowedInBattle</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L345">src/field/pokemon.ts:345</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isAllowedInChallenge" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Allowed<wbr/>In<wbr/>Challenge</span><a href="#isAllowedInChallenge" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isAllowedInChallenge.isAllowedInChallenge-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Allowed<wbr/>In<wbr/>Challenge</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isAllowedInChallenge.isAllowedInChallenge-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>Check if this pokemon is allowed based on any active challenges.
|
||
It's usually better to call <a href="field_pokemon.default.html#isAllowedInBattle" class="tsd-kind-method"><code>()</code></a></p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if pokemon is allowed in battle</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isAllowedInChallenge">isAllowedInChallenge</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L354">src/field/pokemon.ts:354</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isBoss" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Boss</span><a href="#isBoss" 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="isBoss.isBoss-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Boss</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isBoss.isBoss-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">boolean</span></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isBoss">isBoss</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4204">src/field/pokemon.ts:4204</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isBossImmune" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Boss<wbr/>Immune</span><a href="#isBossImmune" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isBossImmune.isBossImmune-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Boss<wbr/>Immune</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isBossImmune.isBossImmune-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isBossImmune">isBossImmune</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3023">src/field/pokemon.ts:3023</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isFainted" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Fainted</span><a href="#isFainted" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isFainted.isFainted-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Fainted</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">checkStatus</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isFainted.isFainted-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>Checks if a pokemon is fainted (ie: its <code>hp <= 0</code>).
|
||
It's usually better to call <a href="field_pokemon.default.html#isAllowedInBattle" class="tsd-kind-method"><code>()</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">checkStatus</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> to also check that the pokemon's status is <a href="../enums/enums_status_effect.StatusEffect.html#FAINT" class="tsd-kind-enum-member"><code>StatusEffect.FAINT</code></a></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the pokemon is fainted</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isFainted">isFainted</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L337">src/field/pokemon.ts:337</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isFullHp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Full<wbr/>Hp</span><a href="#isFullHp" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isFullHp.isFullHp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Full<wbr/>Hp</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isFullHp.isFullHp-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isFullHp">isFullHp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1088">src/field/pokemon.ts:1088</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isFusion" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Fusion</span><a href="#isFusion" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isFusion.isFusion-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Fusion</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isFusion.isFusion-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isFusion">isFusion</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1145">src/field/pokemon.ts:1145</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isGrounded" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Grounded</span><a href="#isGrounded" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isGrounded.isGrounded-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Grounded</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isGrounded.isGrounded-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isGrounded">isGrounded</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1563">src/field/pokemon.ts:1563</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isMax" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Max</span><a href="#isMax" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isMax.isMax-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Max</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isMax.isMax-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isMax">isMax</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3027">src/field/pokemon.ts:3027</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isMoveRestricted" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Move<wbr/>Restricted</span><a href="#isMoveRestricted" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isMoveRestricted.isMoveRestricted-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Move<wbr/>Restricted</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveId</span>, <span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isMoveRestricted.isMoveRestricted-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>Gets whether the given move is currently disabled for this Pokemon.</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">moveId</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>Moves</code></a> ID of the move to check</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the move is disabled for this Pokemon, otherwise <code>false</code></p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-5" class="tsd-anchor"></a>See<a href="#See-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="data_battler_tags.MoveRestrictionBattlerTag.html" class="tsd-kind-class"><code>MoveRestrictionBattlerTag</code></a></p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isMoveRestricted">isMoveRestricted</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3203">src/field/pokemon.ts:3203</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isMoveTargetRestricted" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Move<wbr/>Target<wbr/>Restricted</span><a href="#isMoveTargetRestricted" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isMoveTargetRestricted.isMoveTargetRestricted-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Move<wbr/>Target<wbr/>Restricted</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveId</span>, <span class="tsd-kind-parameter">user</span>, <span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isMoveTargetRestricted.isMoveTargetRestricted-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>Gets whether the given move is currently disabled for the user based on the player's target selection</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">moveId</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/enums_moves.Moves.html" class="tsd-kind-enum"><code>Moves</code></a> ID of the move to check</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">user</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the move user</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the target of the move</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the move is disabled for this Pokemon due to the player's target selection</p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-6" class="tsd-anchor"></a>See<a href="#See-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="data_battler_tags.MoveRestrictionBattlerTag.html" class="tsd-kind-class"><code>MoveRestrictionBattlerTag</code></a></p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isMoveTargetRestricted">isMoveTargetRestricted</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3218">src/field/pokemon.ts:3218</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isOfType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Of<wbr/>Type</span><a href="#isOfType" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isOfType.isOfType-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Of<wbr/>Type</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span>, <span class="tsd-kind-parameter">includeTeraType</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">forDefend</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ignoreOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isOfType.isOfType-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>Checks if the pokemon's typing includes the specified type</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">type</span>: <a href="../enums/enums_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></span><div class="tsd-comment tsd-typography"><p><a href="../enums/enums_type.Type.html" class="tsd-kind-enum"><code>Type</code></a> to check</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">includeTeraType</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> to include tera-formed type; Default: <code>true</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">forDefend</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p><code>true</code> if the pokemon is defending from an attack; Default: <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, ignore ability changing effects; Default: <code>false</code></p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the Pokemon's type matches</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isOfType">isOfType</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1331">src/field/pokemon.ts:1331</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isOffsetBySubstitute" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Offset<wbr/>By<wbr/>Substitute</span><a href="#isOffsetBySubstitute" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isOffsetBySubstitute.isOffsetBySubstitute-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Offset<wbr/>By<wbr/>Substitute</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isOffsetBySubstitute.isOffsetBySubstitute-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 whether or not the Pokemon's position on the field is offset because
|
||
the Pokemon has a Substitute active.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-7" class="tsd-anchor"></a>See<a href="#See-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="data_battler_tags.SubstituteTag.html" class="tsd-kind-class"><code>SubstituteTag</code></a></p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isOffsetBySubstitute">isOffsetBySubstitute</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L745">src/field/pokemon.ts:745</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isOnField" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>On<wbr/>Field</span><a href="#isOnField" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isOnField.isOnField-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>On<wbr/>Field</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isOnField.isOnField-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isOnField">isOnField</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L324">src/field/pokemon.ts:324</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isOpponent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Opponent</span><a href="#isOpponent" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isOpponent.isOpponent-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Opponent</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isOpponent.isOpponent-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>Compares if <code>this</code> and target are on the same team.</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">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> to compare against.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the two pokemon are allies, <code>false</code> otherwise</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isOpponent">isOpponent</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2387">src/field/pokemon.ts:2387</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isOppositeGender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Opposite<wbr/>Gender</span><a href="#isOppositeGender" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isOppositeGender.isOppositeGender-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Opposite<wbr/>Gender</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pokemon</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isOppositeGender.isOppositeGender-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">pokemon</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isOppositeGender">isOppositeGender</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3486">src/field/pokemon.ts:3486</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isPlayer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Player</span><a href="#isPlayer" 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="isPlayer.isPlayer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Player</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isPlayer.isPlayer-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">boolean</span></h4><aside class="tsd-sources"><p>Overrides <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isPlayer">isPlayer</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4196">src/field/pokemon.ts:4196</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isSafeguarded" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Safeguarded</span><a href="#isSafeguarded" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isSafeguarded.isSafeguarded-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Safeguarded</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">attacker</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isSafeguarded.isSafeguarded-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>Checks if this Pokemon is protected by Safeguard</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">attacker</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> inflicting status on this Pokemon</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if this Pokemon is protected by Safeguard; <code>false</code> otherwise.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isSafeguarded">isSafeguarded</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3655">src/field/pokemon.ts:3655</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isShiny" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Shiny</span><a href="#isShiny" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isShiny.isShiny-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Shiny</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isShiny.isShiny-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isShiny">isShiny</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1133">src/field/pokemon.ts:1133</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isTerastallized" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Terastallized</span><a href="#isTerastallized" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isTerastallized.isTerastallized-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Terastallized</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isTerastallized.isTerastallized-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">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isTerastallized">isTerastallized</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1559">src/field/pokemon.ts:1559</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isTrapped" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Trapped</span><a href="#isTrapped" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="isTrapped.isTrapped-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Trapped</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">trappedAbMessages</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">simulated</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isTrapped.isTrapped-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>Determines whether this Pokemon is prevented from running or switching due
|
||
to effects from moves and/or abilities.</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">trappedAbMessages</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></span><div class="tsd-comment tsd-typography"><p>If defined, ability trigger messages
|
||
(e.g. from Shadow Tag) are forwarded through this array.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">simulated</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>If <code>true</code>, applies abilities via simulated calls.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the pokemon is trapped</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#isTrapped">isTrapped</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1575">src/field/pokemon.ts:1575</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="iterate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>iterate</span><a href="#iterate" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="iterate.iterate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">iterate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#iterate.iterate-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>Passes all Game Objects in this Container to the given callback.</p>
|
||
<p>Only use this method when you absolutely know that the Container will not be modified during
|
||
the iteration, i.e. by removing or adding to its contents.</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">callback</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The function to call.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">object</span></span><div class="tsd-comment tsd-typography"><p>Value to use as <code>this</code> when executing callback.</p>
|
||
</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">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Additional arguments that will be passed to the callback, after the child.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#iterate">iterate</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17023</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="lapseTag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>lapse<wbr/>Tag</span><a href="#lapseTag" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="lapseTag.lapseTag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">lapse<wbr/>Tag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#lapseTag.lapseTag-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">tagType</span>: <a href="../enums/enums_battler_tag_type.BattlerTagType.html" class="tsd-signature-type tsd-kind-enum">BattlerTagType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#lapseTag">lapseTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3103">src/field/pokemon.ts:3103</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="lapseTags" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>lapse<wbr/>Tags</span><a href="#lapseTags" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="lapseTags.lapseTags-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">lapse<wbr/>Tags</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lapseType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#lapseTags.lapseTags-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">lapseType</span>: <a href="../enums/data_battler_tags.BattlerTagLapseType.html" class="tsd-signature-type tsd-kind-enum">BattlerTagLapseType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#lapseTags">lapseTags</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3116">src/field/pokemon.ts:3116</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="leaveField" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>leave<wbr/>Field</span><a href="#leaveField" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="leaveField.leaveField-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">leave<wbr/>Field</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">clearEffects</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">hideInfo</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#leaveField.leaveField-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>Causes a Pokemon to leave the field (such as in preparation for a switch out/escape).</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">clearEffects</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Indicates if effects should be cleared (true) or passed
|
||
to the next pokemon, such as during a baton pass (false)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">hideInfo</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Indicates if this should also play the animation to hide the Pokemon's
|
||
info container.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#leaveField">leaveField</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4078">src/field/pokemon.ts:4078</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listenerCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>listener<wbr/>Count</span><a href="#listenerCount" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="listenerCount.listenerCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#listenerCount.listenerCount-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>Return the number of listeners listening to a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#listenerCount">listenerCount</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9928</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="listeners" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>listeners</span><a href="#listeners" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="listeners.listeners-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span><a href="#listeners.listeners-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>Return the listeners registered for a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#listeners">listeners</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9922</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><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 tsd-is-inherited"><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">ignoreOverride</span><span class="tsd-signature-symbol">?</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></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">ignoreOverride</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#loadAssets">loadAssets</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L405">src/field/pokemon.ts:405</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="loseHeldItem" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>lose<wbr/>Held<wbr/>Item</span><a href="#loseHeldItem" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="loseHeldItem.loseHeldItem-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">lose<wbr/>Held<wbr/>Item</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">heldItem</span>, <span class="tsd-kind-parameter">forBattle</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#loseHeldItem.loseHeldItem-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>Reduces one of this Pokemon's held item stacks by 1, and removes the item if applicable.
|
||
Does nothing if this Pokemon is somehow not the owner of the held item.</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">heldItem</span>: <a href="modifier_modifier.PokemonHeldItemModifier.html" class="tsd-signature-type tsd-kind-class">PokemonHeldItemModifier</a></span><div class="tsd-comment tsd-typography"><p>The item stack to be reduced by 1.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">forBattle</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>If <code>false</code>, do not trigger in-battle effects (such as Unburden) from losing the item. For example, set this to <code>false</code> if the Pokemon is giving away the held item for a Mystery Encounter. Default is <code>true</code>.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the item was removed successfully, <code>false</code> otherwise.</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#loseHeldItem">loseHeldItem</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4140">src/field/pokemon.ts:4140</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveAbove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Above</span><a href="#moveAbove" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveAbove.moveAbove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Above</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#moveAbove.moveAbove-1.T-13">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child1</span>, <span class="tsd-kind-parameter">child2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveAbove.moveAbove-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>Moves a Game Object above another one within this Container.</p>
|
||
<p>These 2 Game Objects must already be children of this Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveAbove.moveAbove-1.T-13" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child1</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveAbove.moveAbove-1.T-11">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to move above base Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">child2</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveAbove.moveAbove-1.T-11">T</a></span><div class="tsd-comment tsd-typography"><p>The base Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#moveAbove">moveAbove</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16885</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveBelow" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Below</span><a href="#moveBelow" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveBelow.moveBelow-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Below</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#moveBelow.moveBelow-1.T-14">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child1</span>, <span class="tsd-kind-parameter">child2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveBelow.moveBelow-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>Moves a Game Object below another one within this Container.</p>
|
||
<p>These 2 Game Objects must already be children of this Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveBelow.moveBelow-1.T-14" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child1</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveBelow.moveBelow-1.T-12">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to move below base Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">child2</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveBelow.moveBelow-1.T-12">T</a></span><div class="tsd-comment tsd-typography"><p>The base Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#moveBelow">moveBelow</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16894</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveDown" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Down</span><a href="#moveDown" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveDown.moveDown-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Down</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#moveDown.moveDown-1.T-15">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveDown.moveDown-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>Moves the given Game Object down one place in this Container, unless it's already at the bottom.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveDown.moveDown-1.T-15" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveDown.moveDown-1.T-13">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to be moved in the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#moveDown">moveDown</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16958</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveTo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>To</span><a href="#moveTo" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveTo.moveTo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>To</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#moveTo.moveTo-1.T-16">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span>, <span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveTo.moveTo-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>Moves a Game Object to a new position within this Container.</p>
|
||
<p>The Game Object must already be a child of this Container.</p>
|
||
<p>The Game Object is removed from its old position and inserted into the new one.
|
||
Therefore the Container size does not change. Other children will change position accordingly.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveTo.moveTo-1.T-16" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveTo.moveTo-1.T-14">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to move.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The new position of the Game Object in this Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#moveTo">moveTo</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16876</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="moveUp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>move<wbr/>Up</span><a href="#moveUp" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="moveUp.moveUp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">move<wbr/>Up</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#moveUp.moveUp-1.T-17">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#moveUp.moveUp-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>Moves the given Game Object up one place in this Container, unless it's already at the top.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="moveUp.moveUp-1.T-17" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#moveUp.moveUp-1.T-15">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to be moved in the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#moveUp">moveUp</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16952</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="off" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>off</span><a href="#off" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="off.off-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">off</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">once</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#off.off-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>Remove the listeners of a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that match this function.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that have this context.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">once</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Only remove one-time listeners.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#off">off</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9977</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="on" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>on</span><a href="#on" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="on.on-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#on.on-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>Add a listener for a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The listener function.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#on">on</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9943</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited tsd-is-external"><a id="onChildDestroyed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>on<wbr/>Child<wbr/>Destroyed</span><a href="#onChildDestroyed" 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 tsd-is-protected tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="onChildDestroyed.onChildDestroyed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">on<wbr/>Child<wbr/>Destroyed</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#onChildDestroyed.onChildDestroyed-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>Internal handler, called when a child is destroyed.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#onChildDestroyed">onChildDestroyed</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17088</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="once" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>once</span><a href="#once" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="once.once-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">once</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#once.once-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>Add a one-time listener for a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>The listener function.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#once">once</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9959</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="playAnim" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>play<wbr/>Anim</span><a href="#playAnim" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="playAnim.playAnim-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">play<wbr/>Anim</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#playAnim.playAnim-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#playAnim">playAnim</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L715">src/field/pokemon.ts:715</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="pointToContainer" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>point<wbr/>To<wbr/>Container</span><a href="#pointToContainer" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="pointToContainer.pointToContainer-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">point<wbr/>To<wbr/>Container</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span>, <span class="tsd-kind-parameter">output</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Vector2Like</span><a href="#pointToContainer.pointToContainer-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>Takes a Point-like object, such as a Vector2, Geom.Point or object with public x and y properties,
|
||
and transforms it into the space of this Container, then returns it in the output object.</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">source</span>: <span class="tsd-signature-type">Vector2Like</span></span><div class="tsd-comment tsd-typography"><p>The Source Point to be transformed.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">output</span>: <span class="tsd-signature-type">Vector2Like</span></span><div class="tsd-comment tsd-typography"><p>A destination object to store the transformed point in. If none given a Vector2 will be created and returned.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Vector2Like</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#pointToContainer">pointToContainer</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16745</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="populateVariantColorCache" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>populate<wbr/>Variant<wbr/>Color<wbr/>Cache</span><a href="#populateVariantColorCache" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="populateVariantColorCache.populateVariantColorCache-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">populate<wbr/>Variant<wbr/>Color<wbr/>Cache</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">cacheKey</span>, <span class="tsd-kind-parameter">useExpSprite</span>, <span class="tsd-kind-parameter">battleSpritePath</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#populateVariantColorCache.populateVariantColorCache-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>Attempt to process variant sprite.</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">cacheKey</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the cache key for the variant color sprite</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">useExpSprite</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>should the experimental sprite be used</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">battleSpritePath</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>the filename of the sprite</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#populateVariantColorCache">populateVariantColorCache</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L500">src/field/pokemon.ts:500</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-protected tsd-is-inherited tsd-is-external"><a id="preDestroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Protected</code><span>pre<wbr/>Destroy</span><a href="#preDestroy" 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 tsd-is-protected tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="preDestroy.preDestroy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">pre<wbr/>Destroy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#preDestroy.preDestroy-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>Internal destroy handler, called as part of the destroy process.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#preDestroy">preDestroy</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17083</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="primeSummonData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>prime<wbr/>Summon<wbr/>Data</span><a href="#primeSummonData" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="primeSummonData.primeSummonData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">prime<wbr/>Summon<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">summonDataPrimer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#primeSummonData.primeSummonData-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">summonDataPrimer</span>: <a href="field_pokemon.PokemonSummonData.html" class="tsd-signature-type tsd-kind-class">PokemonSummonData</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#primeSummonData">primeSummonData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3667">src/field/pokemon.ts:3667</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="pushMoveHistory" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>push<wbr/>Move<wbr/>History</span><a href="#pushMoveHistory" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="pushMoveHistory.pushMoveHistory-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">push<wbr/>Move<wbr/>History</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">turnMove</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#pushMoveHistory.pushMoveHistory-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">turnMove</span>: <a href="../interfaces/field_pokemon.TurnMove.html" class="tsd-signature-type tsd-kind-interface">TurnMove</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#pushMoveHistory">pushMoveHistory</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3250">src/field/pokemon.ts:3250</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="randSeedInt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rand<wbr/>Seed<wbr/>Int</span><a href="#randSeedInt" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="randSeedInt.randSeedInt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">rand<wbr/>Seed<wbr/>Int</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">range</span>, <span class="tsd-kind-parameter">min</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#randSeedInt.randSeedInt-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">range</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">min</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#randSeedInt">randSeedInt</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4055">src/field/pokemon.ts:4055</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="randSeedIntRange" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rand<wbr/>Seed<wbr/>Int<wbr/>Range</span><a href="#randSeedIntRange" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="randSeedIntRange.randSeedIntRange-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">rand<wbr/>Seed<wbr/>Int<wbr/>Range</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">min</span>, <span class="tsd-kind-parameter">max</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#randSeedIntRange.randSeedIntRange-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>Generates a random number using the current battle's seed, or the global seed if <code>this.scene.currentBattle</code> is falsy</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">min</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The minimum integer to generate</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">max</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The maximum integer to generate</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>a random integer between min and max inclusive</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#randSeedIntRange">randSeedIntRange</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4067">src/field/pokemon.ts:4067</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="remove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove</span><a href="#remove" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="remove.remove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#remove.remove-1.T-18">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#remove.remove-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>Removes the given Game Object, or array of Game Objects, from this Container.</p>
|
||
<p>The Game Objects must already be children of this Container.</p>
|
||
<p>You can also optionally call <code>destroy</code> on each Game Object that is removed from the Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="remove.remove-1.T-18" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#remove.remove-1.T-16">T</a><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#remove.remove-1.T-16">T</a><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The Game Object, or array of Game Objects, to be removed from the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on each child successfully removed from this Container. Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#remove">remove</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16905</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>All</span><a href="#removeAll" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeAll.removeAll-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>All</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeAll.removeAll-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>Removes all Game Objects from this Container.</p>
|
||
<p>You can also optionally call <code>destroy</code> on each Game Object that is removed from the Container.</p>
|
||
</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">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on each Game Object successfully removed from this Container. Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeAll">removeAll</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16932</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeAllListeners" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Listeners</span><a href="#removeAllListeners" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeAllListeners.removeAllListeners-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>All<wbr/>Listeners</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeAllListeners.removeAllListeners-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>Remove all listeners, or those of the specified event.</p>
|
||
</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeAllListeners">removeAllListeners</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9983</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeAt" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>At</span><a href="#removeAt" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeAt.removeAt-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>At</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeAt.removeAt-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>Removes the Game Object at the given position in this Container.</p>
|
||
<p>You can also optionally call <code>destroy</code> on the Game Object, if one is found.</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">index</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The index of the Game Object to be removed.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on the Game Object if successfully removed from this Container. Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeAt">removeAt</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16914</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeBetween" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Between</span><a href="#removeBetween" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeBetween.removeBetween-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Between</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeBetween.removeBetween-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>Removes the Game Objects between the given positions in this Container.</p>
|
||
<p>You can also optionally call <code>destroy</code> on each Game Object that is removed from the Container.</p>
|
||
</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">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on each Game Object successfully removed from this Container. Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeBetween">removeBetween</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16924</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeFromDisplayList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>From<wbr/>Display<wbr/>List</span><a href="#removeFromDisplayList" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeFromDisplayList.removeFromDisplayList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>From<wbr/>Display<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeFromDisplayList.removeFromDisplayList-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>Removes this Game Object from the Display List it is currently on.</p>
|
||
<p>A Game Object can only exist on one Display List at any given time, but may move freely removed
|
||
and added back at a later stage.</p>
|
||
<p>You can query which list it is on by looking at the <code>Phaser.GameObjects.GameObject#displayList</code> property.</p>
|
||
<p>If a Game Object isn't on any Display List, it will not be rendered. If you just wish to temporarly
|
||
disable it from rendering, consider using the <code>setVisible</code> method, instead.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeFromDisplayList">removeFromDisplayList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19916</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeFromUpdateList" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>From<wbr/>Update<wbr/>List</span><a href="#removeFromUpdateList" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeFromUpdateList.removeFromUpdateList-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>From<wbr/>Update<wbr/>List</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeFromUpdateList.removeFromUpdateList-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>Removes this Game Object from the Scene's Update List.</p>
|
||
<p>When a Game Object is on the Update List, it will have its <code>preUpdate</code> method called
|
||
every game frame. Calling this method will remove it from the list, preventing this.</p>
|
||
<p>Removing a Game Object from the Update List will stop most internal functions working.
|
||
For example, removing a Sprite from the Update List will prevent it from being able to
|
||
run animations.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeFromUpdateList">removeFromUpdateList</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19928</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeInteractive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Interactive</span><a href="#removeInteractive" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeInteractive.removeInteractive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Interactive</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeInteractive.removeInteractive-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>If this Game Object has previously been enabled for input, this will queue it
|
||
for removal, causing it to no longer be interactive. The removal happens on
|
||
the next game step, it is not immediate.</p>
|
||
<p>The Interactive Object that was assigned to this Game Object will be destroyed,
|
||
removed from the Input Manager and cleared from this Game Object.</p>
|
||
<p>If you wish to re-enable this Game Object at a later date you will need to
|
||
re-create its InteractiveObject by calling <code>setInteractive</code> again.</p>
|
||
<p>If you wish to only temporarily stop an object from receiving input then use
|
||
<code>disableInteractive</code> instead, as that toggles the interactive state, where-as
|
||
this erases it completely.</p>
|
||
<p>If you wish to resize a hit area, don't remove and then set it as being
|
||
interactive. Instead, access the hitarea object directly and resize the shape
|
||
being used. I.e.: <code>sprite.input.hitArea.setSize(width, height)</code> (assuming the
|
||
shape is a Rectangle, which it is by default.)</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeInteractive">removeInteractive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19824</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removeListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Listener</span><a href="#removeListener" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removeListener.removeListener-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Listener</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">once</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removeListener.removeListener-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>Remove the listeners of a given event.</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">event</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span></span><div class="tsd-comment tsd-typography"><p>The event name.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that match this function.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Only remove the listeners that have this context.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">once</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Only remove one-time listeners.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeListener">removeListener</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9968</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removePostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Post<wbr/>Pipeline</span><a href="#removePostPipeline" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removePostPipeline.removePostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pipeline</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#removePostPipeline.removePostPipeline-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>Removes a type of Post Pipeline instances from this Game Object, based on the given name, and destroys them.</p>
|
||
<p>If you wish to remove all Post Pipelines use the <code>resetPostPipeline</code> method instead.</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">pipeline</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">PostFXPipeline</span></span><div class="tsd-comment tsd-typography"><p>The string-based name of the pipeline, or a pipeline class.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removePostPipeline">removePostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17439</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="removeTag" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Tag</span><a href="#removeTag" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="removeTag.removeTag-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Tag</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">tagType</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#removeTag.removeTag-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">tagType</span>: <a href="../enums/enums_battler_tag_type.BattlerTagType.html" class="tsd-signature-type tsd-kind-enum">BattlerTagType</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeTag">removeTag</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3127">src/field/pokemon.ts:3127</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="removeTagsBySourceId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span><a href="#removeTagsBySourceId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="removeTagsBySourceId.removeTagsBySourceId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sourceId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeTagsBySourceId.removeTagsBySourceId-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">sourceId</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removeTagsBySourceId">removeTagsBySourceId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3154">src/field/pokemon.ts:3154</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="removedFromScene" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>removed<wbr/>From<wbr/>Scene</span><a href="#removedFromScene" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="removedFromScene.removedFromScene-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">removed<wbr/>From<wbr/>Scene</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removedFromScene.removedFromScene-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>This callback is invoked when this Game Object is removed from a Scene.</p>
|
||
<p>Can be overriden by custom Game Objects, but be aware of some Game Objects that
|
||
will use this, such as Sprites, to removed themselves from the Update List.</p>
|
||
<p>You can also listen for the <code>REMOVED_FROM_SCENE</code> event from this Game Object.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#removedFromScene">removedFromScene</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19844</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="replace" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>replace</span><a href="#replace" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="replace.replace-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">replace</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#replace.replace-1.T-19">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">oldChild</span>, <span class="tsd-kind-parameter">newChild</span>, <span class="tsd-kind-parameter">destroyChild</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#replace.replace-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>Replaces a Game Object in this Container with the new Game Object.
|
||
The new Game Object cannot already be a child of this Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="replace.replace-1.T-19" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">oldChild</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#replace.replace-1.T-17">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object in this Container that will be replaced.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">newChild</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#replace.replace-1.T-17">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to be added to this Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">destroyChild</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Optionally call <code>destroy</code> on the Game Object if successfully removed from this Container. Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#replace">replace</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16977</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="resetBattleData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Battle<wbr/>Data</span><a href="#resetBattleData" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="resetBattleData.resetBattleData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Battle<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetBattleData.resetBattleData-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#resetBattleData">resetBattleData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3705">src/field/pokemon.ts:3705</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="resetBattleSummonData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Battle<wbr/>Summon<wbr/>Data</span><a href="#resetBattleSummonData" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="resetBattleSummonData.resetBattleSummonData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Battle<wbr/>Summon<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetBattleSummonData.resetBattleSummonData-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#resetBattleSummonData">resetBattleSummonData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3709">src/field/pokemon.ts:3709</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="resetPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Post<wbr/>Pipeline</span><a href="#resetPostPipeline" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="resetPostPipeline.resetPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">resetData</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetPostPipeline.resetPostPipeline-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>Resets the WebGL Post Pipelines of this Game Object. It does this by calling
|
||
the <code>destroy</code> method on each post pipeline and then clearing the local array.</p>
|
||
</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">resetData</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Reset the <code>postPipelineData</code> object to being an empty object? Default false.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#resetPostPipeline">resetPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17431</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="resetSprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Sprite</span><a href="#resetSprite" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="resetSprite.resetSprite-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Sprite</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetSprite.resetSprite-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>Resets the pokemon's field sprite properties, including position, alpha, and scale</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#resetSprite">resetSprite</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L641">src/field/pokemon.ts:641</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="resetStatus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Status</span><a href="#resetStatus" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="resetStatus.resetStatus-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Status</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">revive</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">confusion</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">reloadAssets</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetStatus.resetStatus-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>Resets the status of a pokemon.</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">revive</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>Whether revive should be cured; defaults to true.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">confusion</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether resetStatus should include confusion or not; defaults to false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">reloadAssets</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span><div class="tsd-comment tsd-typography"><p>Whether to reload the assets or not; defaults to false.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#resetStatus">resetStatus</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3628">src/field/pokemon.ts:3628</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="resetSummonData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Summon<wbr/>Data</span><a href="#resetSummonData" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="resetSummonData.resetSummonData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Summon<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetSummonData.resetSummonData-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#resetSummonData">resetSummonData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3671">src/field/pokemon.ts:3671</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="resetTurnData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reset<wbr/>Turn<wbr/>Data</span><a href="#resetTurnData" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="resetTurnData.resetTurnData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reset<wbr/>Turn<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#resetTurnData.resetTurnData-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#resetTurnData">resetTurnData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3719">src/field/pokemon.ts:3719</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="reverse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>reverse</span><a href="#reverse" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="reverse.reverse-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">reverse</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#reverse.reverse-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>Reverses the order of all Game Objects in this Container.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#reverse">reverse</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16963</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="revivalBlessing" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>revival<wbr/>Blessing</span><a href="#revivalBlessing" 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="revivalBlessing.revivalBlessing-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">revival<wbr/>Blessing</span><span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#revivalBlessing.revivalBlessing-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>Handles Revival Blessing when used by player.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>Promise to revive a pokemon.</p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-8" class="tsd-anchor"></a>See<a href="#See-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>RevivalBlessingAttr</p>
|
||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4315">src/field/pokemon.ts:4315</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="sendToBack" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>send<wbr/>To<wbr/>Back</span><a href="#sendToBack" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="sendToBack.sendToBack-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">send<wbr/>To<wbr/>Back</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#sendToBack.sendToBack-1.T-20">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#sendToBack.sendToBack-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>Sends the given Game Object to the bottom of this Container.
|
||
This will cause it to render below any other objects in the Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="sendToBack.sendToBack-1.T-20" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#sendToBack.sendToBack-1.T-18">T</a></span><div class="tsd-comment tsd-typography"><p>The Game Object to send to the bottom of the Container.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#sendToBack">sendToBack</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16946</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setActive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Active</span><a href="#setActive" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setActive.setActive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Active</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setActive.setActive-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 <code>active</code> property of this Game Object and returns this Game Object for further chaining.
|
||
A Game Object with its <code>active</code> property set to <code>true</code> will be updated by the Scenes UpdateList.</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">value</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>True if this Game Object should be set as active, false if not.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setActive">setActive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19652</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setAll" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>All</span><a href="#setAll" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setAll.setAll-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>All</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">startIndex</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">endIndex</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setAll.setAll-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 property to the given value on all Game Objects in this Container.</p>
|
||
<p>Optionally you can specify a start and end index. For example if this Container had 100 Game Objects,
|
||
and you set <code>startIndex</code> to 0 and <code>endIndex</code> to 50, it would return matches from only
|
||
the first 50 Game Objects.</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">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property that must exist on the Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to get the property to.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">startIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional start index to search from. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">endIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>An optional end index to search up to (but not included) Default Container.length.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setAll">setAll</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16998</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setAlpha" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Alpha</span><a href="#setAlpha" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setAlpha.setAlpha-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Alpha</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setAlpha.setAlpha-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>Set the Alpha level of this Game Object. The alpha controls the opacity of the Game Object as it renders.
|
||
Alpha values are provided as a float between 0, fully transparent, and 1, fully opaque.</p>
|
||
</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">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The alpha value applied across the whole Game Object. Default 1.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setAlpha">setAlpha</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17102</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setAngle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Angle</span><a href="#setAngle" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setAngle.setAngle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Angle</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">degrees</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setAngle.setAngle-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 angle of this Game Object.</p>
|
||
</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">degrees</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The rotation of this Game Object, in degrees. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setAngle">setAngle</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17557</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setBlendMode" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Blend<wbr/>Mode</span><a href="#setBlendMode" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setBlendMode.setBlendMode-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Blend<wbr/>Mode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setBlendMode.setBlendMode-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 Blend Mode being used by this Game Object.</p>
|
||
<p>This can be a const, such as <code>Phaser.BlendModes.SCREEN</code>, or an integer, such as 4 (for Overlay)</p>
|
||
<p>Under WebGL only the following Blend Modes are available:</p>
|
||
<ul>
|
||
<li>NORMAL</li>
|
||
<li>ADD</li>
|
||
<li>MULTIPLY</li>
|
||
<li>SCREEN</li>
|
||
<li>ERASE (only works when rendering to a framebuffer, like a Render Texture)</li>
|
||
</ul>
|
||
<p>Canvas has more available depending on browser support.</p>
|
||
<p>You can also create your own custom Blend Modes in WebGL.</p>
|
||
<p>Blend modes have different effects under Canvas and WebGL, and from browser to browser, depending
|
||
on support. Blend Modes also cause a WebGL batch flush should it encounter a new blend mode. For these
|
||
reasons try to be careful about the construction of your Scene and the frequency in which blend modes
|
||
are used.</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">value</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">BlendModes</span></span><div class="tsd-comment tsd-typography"><p>The BlendMode value. Either a string, a CONST or a number.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setBlendMode">setBlendMode</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17158</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setCustomNature" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Custom<wbr/>Nature</span><a href="#setCustomNature" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setCustomNature.setCustomNature-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Custom<wbr/>Nature</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nature</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setCustomNature.setCustomNature-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">nature</span>: <a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setCustomNature">setCustomNature</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1075">src/field/pokemon.ts:1075</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Data</span><a href="#setData" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setData.setData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Data</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#setData.setData-1.T-21">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span>, <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setData.setData-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>Allows you to store a key value pair within this Game Objects Data Manager.</p>
|
||
<p>If the Game Object has not been enabled for data (via <code>setDataEnabled</code>) then it will be enabled
|
||
before setting the value.</p>
|
||
<p>If the key doesn't already exist in the Data Manager then it is created.</p>
|
||
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">setData</span><span class="hl-1">(</span><span class="hl-7">'name'</span><span class="hl-1">, </span><span class="hl-7">'Red Gem Stone'</span><span class="hl-1">);</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>You can also pass in an object of key value pairs as the first argument:</p>
|
||
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">setData</span><span class="hl-1">({ </span><span class="hl-2">name:</span><span class="hl-1"> </span><span class="hl-7">'Red Gem Stone'</span><span class="hl-1">, </span><span class="hl-2">level:</span><span class="hl-1"> </span><span class="hl-0">2</span><span class="hl-1">, </span><span class="hl-2">owner:</span><span class="hl-1"> </span><span class="hl-7">'Link'</span><span class="hl-1">, </span><span class="hl-2">gold:</span><span class="hl-1"> </span><span class="hl-0">50</span><span class="hl-1"> });</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>To get a value back again you can call <code>getData</code>:</p>
|
||
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-6">getData</span><span class="hl-1">(</span><span class="hl-7">'gold'</span><span class="hl-1">);</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>Or you can access the value directly via the <code>values</code> property, where it works like any other variable:</p>
|
||
<pre><code class="javascript"><span class="hl-2">sprite</span><span class="hl-1">.</span><span class="hl-2">data</span><span class="hl-1">.</span><span class="hl-2">values</span><span class="hl-1">.</span><span class="hl-2">gold</span><span class="hl-1"> += </span><span class="hl-0">50</span><span class="hl-1">;</span>
|
||
</code><button type="button">Copy</button></pre>
|
||
|
||
<p>When the value is first set, a <code>setdata</code> event is emitted from this Game Object.</p>
|
||
<p>If the key already exists, a <code>changedata</code> event is emitted instead, along an event named after the key.
|
||
For example, if you updated an existing key called <code>PlayerLives</code> then it would emit the event <code>changedata-PlayerLives</code>.
|
||
These events will be emitted regardless if you use this method to set the value, or the direct <code>values</code> setter.</p>
|
||
<p>Please note that the data keys are case-sensitive and must be valid JavaScript Object property strings.
|
||
This means the keys <code>gold</code> and <code>Gold</code> are treated as two unique values within the Data Manager.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="setData.setData-1.T-21" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">unknown</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#setData.setData-1.T-19">T</a></span><div class="tsd-comment tsd-typography"><p>The key to set the value for. Or an object of key value pairs. If an object the <code>data</code> argument is ignored.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to set for the given key. If an object is provided as the key this argument is ignored.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setData">setData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19720</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setDataEnabled" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Data<wbr/>Enabled</span><a href="#setDataEnabled" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setDataEnabled.setDataEnabled-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Data<wbr/>Enabled</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setDataEnabled.setDataEnabled-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 Data Manager component to this Game Object.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setDataEnabled">setDataEnabled</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19677</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setDepth" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Depth</span><a href="#setDepth" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setDepth.setDepth-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Depth</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setDepth.setDepth-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>The depth of this Game Object within the Scene.</p>
|
||
<p>The depth is also known as the 'z-index' in some environments, and allows you to change the rendering order
|
||
of Game Objects, without actually moving their position in the display list.</p>
|
||
<p>The default depth is zero. A Game Object with a higher depth
|
||
value will always render in front of one with a lower value.</p>
|
||
<p>Setting the depth will queue a depth sort event within the Scene.</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">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The depth of this Game Object. Ensure this value is only ever a number data-type.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setDepth">setDepth</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17245</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setDisplaySize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Display<wbr/>Size</span><a href="#setDisplaySize" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setDisplaySize.setDisplaySize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Display<wbr/>Size</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">width</span>, <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setDisplaySize.setDisplaySize-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 display size of this Game Object.</p>
|
||
<p>Calling this will adjust the scale.</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">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The width of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The height of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setDisplaySize">setDisplaySize</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17218</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setExclusive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Exclusive</span><a href="#setExclusive" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setExclusive.setExclusive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Exclusive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setExclusive.setExclusive-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>Does this Container exclusively manage its children?</p>
|
||
<p>The default is <code>true</code> which means a child added to this Container cannot
|
||
belong in another Container, which includes the Scene display list.</p>
|
||
<p>If you disable this then this Container will no longer exclusively manage its children.
|
||
This allows you to create all kinds of interesting graphical effects, such as replicating
|
||
Game Objects without reparenting them all over the Scene.
|
||
However, doing so will prevent children from receiving any kind of input event or have
|
||
their physics bodies work by default, as they're no longer a single entity on the
|
||
display list, but are being replicated where-ever this Container is.</p>
|
||
</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">value</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The exclusive state of this Container. Default true.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setExclusive">setExclusive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16721</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setFieldPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Field<wbr/>Position</span><a href="#setFieldPosition" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setFieldPosition.setFieldPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Field<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fieldPosition</span>, <span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">?</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#setFieldPosition.setFieldPosition-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">fieldPosition</span>: <a href="../enums/field_pokemon.FieldPosition.html" class="tsd-signature-type tsd-kind-enum">FieldPosition</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setFieldPosition">setFieldPosition</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L771">src/field/pokemon.ts:771</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setFrameRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Frame<wbr/>Rate</span><a href="#setFrameRate" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setFrameRate.setFrameRate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Frame<wbr/>Rate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">frameRate</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setFrameRate.setFrameRate-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">frameRate</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setFrameRate">setFrameRate</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3728">src/field/pokemon.ts:3728</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setInteractive" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Interactive</span><a href="#setInteractive" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setInteractive.setInteractive-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Interactive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">hitArea</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">dropZone</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setInteractive.setInteractive-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>Pass this Game Object to the Input Manager to enable it for Input.</p>
|
||
<p>Input works by using hit areas, these are nearly always geometric shapes, such as rectangles or circles, that act as the hit area
|
||
for the Game Object. However, you can provide your own hit area shape and callback, should you wish to handle some more advanced
|
||
input detection.</p>
|
||
<p>If no arguments are provided it will try and create a rectangle hit area based on the texture frame the Game Object is using. If
|
||
this isn't a texture-bound object, such as a Graphics or BitmapText object, this will fail, and you'll need to provide a specific
|
||
shape for it to use.</p>
|
||
<p>You can also provide an Input Configuration Object as the only argument to this method.</p>
|
||
</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">hitArea</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Either an input configuration object, or a geometric shape that defines the hit area for the Game Object. If not given it will try to create a Rectangle based on the texture frame.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-type">HitAreaCallback</span></span><div class="tsd-comment tsd-typography"><p>The callback that determines if the pointer is within the Hit Area shape or not. If you provide a shape you must also provide a callback.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">dropZone</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Should this Game Object be treated as a drop zone target? Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setInteractive">setInteractive</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19791</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setMask" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Mask</span><a href="#setMask" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setMask.setMask-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Mask</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mask</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setMask.setMask-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 mask that this Game Object will use to render with.</p>
|
||
<p>The mask must have been previously created and can be either a GeometryMask or a BitmapMask.
|
||
Note: Bitmap Masks only work on WebGL. Geometry Masks work on both WebGL and Canvas.</p>
|
||
<p>If a mask is already set on this Game Object it will be immediately replaced.</p>
|
||
<p>Masks are positioned in global space and are not relative to the Game Object to which they
|
||
are applied. The reason for this is that multiple Game Objects can all share the same mask.</p>
|
||
<p>Masks have no impact on physics or input detection. They are purely a rendering component
|
||
that allows you to limit what is visible during the render pass.</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">mask</span>: <span class="tsd-signature-type">BitmapMask</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">GeometryMask</span></span><div class="tsd-comment tsd-typography"><p>The mask this Game Object will use when rendering.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setMask">setMask</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17267</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Move</span><a href="#setMove" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setMove.setMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveIndex</span>, <span class="tsd-kind-parameter">moveId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setMove.setMove-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">moveIndex</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">moveId</span>: <a href="../enums/enums_moves.Moves.html" class="tsd-signature-type tsd-kind-enum">Moves</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setMove">setMove</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1916">src/field/pokemon.ts:1916</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setName" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Name</span><a href="#setName" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setName.setName-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Name</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setName.setName-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 <code>name</code> property of this Game Object and returns this Game Object for further chaining.
|
||
The <code>name</code> property is not populated by Phaser and is presented for your own use.</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">value</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name to be given to this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setName">setName</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19659</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setNature" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Nature</span><a href="#setNature" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setNature.setNature-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Nature</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nature</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setNature.setNature-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">nature</span>: <a href="../enums/enums_nature.Nature.html" class="tsd-signature-type tsd-kind-enum">Nature</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setNature">setNature</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1070">src/field/pokemon.ts:1070</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Position</span><a href="#setPosition" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setPosition.setPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">z</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">w</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setPosition.setPosition-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 position of this Game Object.</p>
|
||
</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">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position of this Game Object. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position of this Game Object. If not set it will use the <code>x</code> value. Default x.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">z</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The z position of this Game Object. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">w</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The w position of this Game Object. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setPosition">setPosition</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17524</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setPositionRelative" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Position<wbr/>Relative</span><a href="#setPositionRelative" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setPositionRelative.setPositionRelative-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Position<wbr/>Relative</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">guideObject</span>, <span class="tsd-kind-parameter">x</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setPositionRelative.setPositionRelative-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 this object's position relative to another object with a given offset</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">guideObject</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">x</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span></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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setPositionRelative">setPositionRelative</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/typings/phaser/index.d.ts#L23">src/typings/phaser/index.d.ts:23</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setPostPipeline" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Post<wbr/>Pipeline</span><a href="#setPostPipeline" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setPostPipeline.setPostPipeline-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Post<wbr/>Pipeline</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pipelines</span>, <span class="tsd-kind-parameter">pipelineData</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">copyData</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setPostPipeline.setPostPipeline-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 one, or more, Post Pipelines on this Game Object.</p>
|
||
<p>Post Pipelines are invoked after this Game Object has rendered to its target and
|
||
are commonly used for post-fx.</p>
|
||
<p>The post pipelines are appended to the <code>postPipelines</code> array belonging to this
|
||
Game Object. When the renderer processes this Game Object, it iterates through the post
|
||
pipelines in the order in which they appear in the array. If you are stacking together
|
||
multiple effects, be aware that the order is important.</p>
|
||
<p>If you call this method multiple times, the new pipelines will be appended to any existing
|
||
post pipelines already set. Use the <code>resetPostPipeline</code> method to clear them first, if required.</p>
|
||
<p>You can optionally also set the <code>postPipelineData</code> property, if the parameter is given.</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">pipelines</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">string</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">Function</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">PostFXPipeline</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">PostFXPipeline</span><span class="tsd-signature-symbol">[]</span><br/><span> </span><span class="tsd-signature-symbol">| </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Either the string-based name of the pipeline, or a pipeline instance, or class, or an array of them.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">pipelineData</span>: <span class="tsd-signature-type">object</span></span><div class="tsd-comment tsd-typography"><p>Optional pipeline data object that is set in to the <code>postPipelineData</code> property of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">copyData</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Should the pipeline data object be <em>deep copied</em> into the <code>postPipelineData</code> property of this Game Object? If <code>false</code> it will be set by reference instead. Default true.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setPostPipeline">setPostPipeline</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17407</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setPostPipelineData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Post<wbr/>Pipeline<wbr/>Data</span><a href="#setPostPipelineData" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setPostPipelineData.setPostPipelineData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Post<wbr/>Pipeline<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span>, <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setPostPipelineData.setPostPipelineData-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 an entry to the <code>postPipelineData</code> object belonging to this Game Object.</p>
|
||
<p>If the 'key' already exists, its value is updated. If it doesn't exist, it is created.</p>
|
||
<p>If <code>value</code> is undefined, and <code>key</code> exists, <code>key</code> is removed from the data object.</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">key</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The key of the pipeline data to set, update, or delete.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The value to be set with the key. If <code>undefined</code> then <code>key</code> will be deleted from the object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setPostPipelineData">setPostPipelineData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17418</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setRandomPosition" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Random<wbr/>Position</span><a href="#setRandomPosition" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setRandomPosition.setRandomPosition-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Random<wbr/>Position</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">width</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setRandomPosition.setRandomPosition-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 position of this Game Object to be a random position within the confines of
|
||
the given area.</p>
|
||
<p>If no area is specified a random position between 0 x 0 and the game width x height is used instead.</p>
|
||
<p>The position does not factor in the size of this Game Object, meaning that only the origin is
|
||
guaranteed to be within the area.</p>
|
||
</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">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position of the top-left of the random area. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position of the top-left of the random area. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The width of the random area.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The height of the random area.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setRandomPosition">setRandomPosition</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17545</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setRotation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Rotation</span><a href="#setRotation" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setRotation.setRotation-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Rotation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">radians</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setRotation.setRotation-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 rotation of this Game Object.</p>
|
||
</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">radians</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The rotation of this Game Object, in radians. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setRotation">setRotation</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17551</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setScale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Scale</span><a href="#setScale" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setScale.setScale-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Scale</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setScale.setScale-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 scale of this Game Object.</p>
|
||
</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">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The horizontal scale of this Game Object. Default 1.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The vertical scale of this Game Object. If not set it will use the <code>x</code> value. Default x.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setScale">setScale</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17564</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setScrollFactor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Scroll<wbr/>Factor</span><a href="#setScrollFactor" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setScrollFactor.setScrollFactor-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Scroll<wbr/>Factor</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">x</span>, <span class="tsd-kind-parameter">y</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">updateChildren</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setScrollFactor.setScrollFactor-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 scroll factor of this Container and optionally all of its children.</p>
|
||
<p>The scroll factor controls the influence of the movement of a Camera upon this Game Object.</p>
|
||
<p>When a camera scrolls it will change the location at which this Game Object is rendered on-screen.
|
||
It does not change the Game Objects actual position values.</p>
|
||
<p>A value of 1 means it will move exactly in sync with a camera.
|
||
A value of 0 means it will not move at all, even if the camera moves.
|
||
Other values control the degree to which the camera movement is mapped to this Game Object.</p>
|
||
<p>Please be aware that scroll factor values other than 1 are not taken in to consideration when
|
||
calculating physics collisions. Bodies always collide based on their world position, but changing
|
||
the scroll factor is a visual adjustment to where the textures are rendered, which can offset
|
||
them from physics bodies if not accounted for in your code.</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">x</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The horizontal scroll factor of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">y</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The vertical scroll factor of this Game Object. If not set it will use the <code>x</code> value. Default x.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">updateChildren</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Apply this scrollFactor to all Container children as well? Default false.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setScrollFactor">setScrollFactor</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17045</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setSize" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Size</span><a href="#setSize" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setSize.setSize-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Size</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">width</span>, <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setSize.setSize-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 internal size of this Game Object, as used for frame or physics body creation.</p>
|
||
<p>This will not change the size that the Game Object is rendered in-game.
|
||
For that you need to either set the scale of the Game Object (<code>setScale</code>) or call the
|
||
<code>setDisplaySize</code> method, which is the same thing as changing the scale but allows you
|
||
to do so by giving pixel values.</p>
|
||
<p>If you have enabled this Game Object for input, changing the size will <em>not</em> change the
|
||
size of the hit area. To do this you should adjust the <code>input.hitArea</code> object directly.</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">width</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The width of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The height of this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setSize">setSize</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17209</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setStat" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Stat</span><a href="#setStat" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setStat.setStat-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Stat</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">stat</span>, <span class="tsd-kind-parameter">value</span>, <span class="tsd-kind-parameter">bypassSummonData</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setStat.setStat-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>Writes the value to the corrseponding <a href="../types/enums_stat.PermanentStat.html" class="tsd-kind-type-alias"><code>PermanentStat</code></a> of the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>.</p>
|
||
<p>Note that this does nothing if value is less than 0.</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">stat</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#HP" class="tsd-signature-type tsd-kind-enum-member">HP</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ATK" class="tsd-signature-type tsd-kind-enum-member">ATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#DEF" class="tsd-signature-type tsd-kind-enum-member">DEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPATK" class="tsd-signature-type tsd-kind-enum-member">SPATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPDEF" class="tsd-signature-type tsd-kind-enum-member">SPDEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPD" class="tsd-signature-type tsd-kind-enum-member">SPD</a></span><div class="tsd-comment tsd-typography"><p>the desired <a href="../types/enums_stat.PermanentStat.html" class="tsd-kind-type-alias"><code>PermanentStat</code></a> to be overwritten</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the desired numeric value</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">bypassSummonData</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></span><div class="tsd-comment tsd-typography"><p>write to actual stats (<code>true</code> by default) or in-battle overridden stats (<code>false</code>)</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setStat">setStat</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L850">src/field/pokemon.ts:850</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setStatStage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Stat<wbr/>Stage</span><a href="#setStatStage" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setStatStage.setStatStage-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Stat<wbr/>Stage</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">stat</span>, <span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setStatStage.setStatStage-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>Writes the value to the in-battle stage of the corresponding <a href="../types/enums_stat.BattleStat.html" class="tsd-kind-type-alias"><code>BattleStat</code></a> of the <a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a>.</p>
|
||
<p>Note that, if the value is not within a range of [-6, 6], it will be forced to the closest range bound.</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">stat</span>: <br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ATK" class="tsd-signature-type tsd-kind-enum-member">ATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#DEF" class="tsd-signature-type tsd-kind-enum-member">DEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPATK" class="tsd-signature-type tsd-kind-enum-member">SPATK</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPDEF" class="tsd-signature-type tsd-kind-enum-member">SPDEF</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#SPD" class="tsd-signature-type tsd-kind-enum-member">SPD</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#ACC" class="tsd-signature-type tsd-kind-enum-member">ACC</a><br/><span> </span><span class="tsd-signature-symbol">| </span><a href="../enums/enums_stat.Stat.html#EVA" class="tsd-signature-type tsd-kind-enum-member">EVA</a></span><div class="tsd-comment tsd-typography"><p>the <a href="../types/enums_stat.BattleStat.html" class="tsd-kind-type-alias"><code>BattleStat</code></a> whose stage is to be overwritten</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>the desired numeric value</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setStatStage">setStatStage</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L884">src/field/pokemon.ts:884</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setState" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>State</span><a href="#setState" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setState.setState-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>State</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setState.setState-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 current state of this Game Object.</p>
|
||
<p>Phaser itself will never modify the State of a Game Object, although plugins may do so.</p>
|
||
<p>For example, a Game Object could change from a state of 'moving', to 'attacking', to 'dead'.
|
||
The state value should typically be an integer (ideally mapped to a constant
|
||
in your game code), but could also be a string. It is recommended to keep it light and simple.
|
||
If you need to store complex data about your Game Object, look at using the Data Component instead.</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">value</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The state of the Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setState">setState</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19672</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="setSwitchOutStatus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Switch<wbr/>Out<wbr/>Status</span><a href="#setSwitchOutStatus" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="setSwitchOutStatus.setSwitchOutStatus-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Switch<wbr/>Out<wbr/>Status</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">status</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setSwitchOutStatus.setSwitchOutStatus-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 the pokemon is switching out (if it's a enemy wild implies it's going to flee)</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">status</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>boolean</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setSwitchOutStatus">setSwitchOutStatus</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2344">src/field/pokemon.ts:2344</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setVisible" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>Visible</span><a href="#setVisible" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setVisible.setVisible-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Visible</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setVisible.setVisible-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 visibility of this Game Object.</p>
|
||
<p>An invisible Game Object will skip rendering, but will still process update logic.</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">value</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>The visible state of the Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setVisible">setVisible</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17642</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setW" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setW</span><a href="#setW" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setW.setW-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setW</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setW.setW-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 w position of this Game Object.</p>
|
||
</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">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The w position of this Game Object. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setW">setW</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17591</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setX</span><a href="#setX" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setX.setX-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setX</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setX.setX-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 x position of this Game Object.</p>
|
||
</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">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The x position of this Game Object. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setX">setX</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17570</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setY</span><a href="#setY" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setY.setY-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setY</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setY.setY-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 y position of this Game Object.</p>
|
||
</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">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The y position of this Game Object. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setY">setY</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17576</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setZ" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>setZ</span><a href="#setZ" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setZ.setZ-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setZ</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">value</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#setZ.setZ-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 z position of this Game Object.</p>
|
||
<p>Note: The z position does not control the rendering order of 2D Game Objects. Use
|
||
Phaser.GameObjects.Components.Depth#setDepth instead.</p>
|
||
</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">value</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The z position of this Game Object. Default 0.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#setZ">setZ</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:17585</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="showInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>show<wbr/>Info</span><a href="#showInfo" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="showInfo.showInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">show<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#showInfo.showInfo-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#showInfo">showInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2294">src/field/pokemon.ts:2294</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="shuffle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shuffle</span><a href="#shuffle" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="shuffle.shuffle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shuffle</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#shuffle.shuffle-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>Shuffles the all Game Objects in this Container using the Fisher-Yates implementation.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#shuffle">shuffle</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16968</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="shutdown" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>shutdown</span><a href="#shutdown" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="shutdown.shutdown-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shutdown</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#shutdown.shutdown-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>Removes all listeners.</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#shutdown">shutdown</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9906</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="sort" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="sort.sort-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sort</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">property</span>, <span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#sort.sort-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>Sort the contents of this Container so the items are in order based on the given property.
|
||
For example: <code>sort('alpha')</code> would sort the elements based on the value of their <code>alpha</code> property.</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">property</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The property to lexically sort by.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">Function</span></span><div class="tsd-comment tsd-typography"><p>Provide your own custom handler function. Will receive 2 children which it should compare and return a boolean.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#sort">sort</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16791</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="sparkle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sparkle</span><a href="#sparkle" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="sparkle.sparkle-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sparkle</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#sparkle.sparkle-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#sparkle">sparkle</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3794">src/field/pokemon.ts:3794</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="stopMultiHit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stop<wbr/>Multi<wbr/>Hit</span><a href="#stopMultiHit" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="stopMultiHit.stopMultiHit-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">stop<wbr/>Multi<wbr/>Hit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">target</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#stopMultiHit.stopMultiHit-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>If this Pokemon is using a multi-hit move, cancels all subsequent strikes</p>
|
||
</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">target</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p>If specified, this only cancels subsequent strikes against the given target</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#stopMultiHit">stopMultiHit</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3283">src/field/pokemon.ts:3283</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="swap" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>swap</span><a href="#swap" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="swap.swap-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">swap</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="field_pokemon.PlayerPokemon.html#swap.swap-1.T-22">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">child1</span>, <span class="tsd-kind-parameter">child2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#swap.swap-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>Swaps the position of two Game Objects in this Container.
|
||
Both Game Objects must belong to this Container.</p>
|
||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="swap.swap-1.T-22" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">GameObject</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">child1</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#swap.swap-1.T-20">T</a></span><div class="tsd-comment tsd-typography"><p>The first Game Object to swap.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">child2</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="field_arena.ArenaBase.html#swap.swap-1.T-20">T</a></span><div class="tsd-comment tsd-typography"><p>The second Game Object to swap.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#swap">swap</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:16864</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="switchOut" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>switch<wbr/>Out</span><a href="#switchOut" 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="switchOut.switchOut-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">switch<wbr/>Out</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">switchType</span><span class="tsd-signature-symbol">?</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#switchOut.switchOut-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>Causes this mon to leave the field (via <a href="field_pokemon.PlayerPokemon.html#leaveField" class="tsd-kind-method"><code>leaveField</code></a>) and then
|
||
opens the party switcher UI to switch a new mon in</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">switchType</span>: <a href="../enums/enums_switch_type.SwitchType.html" class="tsd-signature-type tsd-kind-enum">SwitchType</a><span class="tsd-signature-symbol"> = SwitchType.SWITCH</span></span><div class="tsd-comment tsd-typography"><p>the <a href="../enums/enums_switch_type.SwitchType.html" class="tsd-kind-enum"><code>SwitchType</code></a> for this switch-out. If this is
|
||
<code>BATON_PASS</code> or <code>SHED_TAIL</code>, this Pokemon's effects are not cleared upon leaving
|
||
the field.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></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/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4261">src/field/pokemon.ts:4261</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="tint" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tint</span><a href="#tint" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="tint.tint-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">tint</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">color</span>, <span class="tsd-kind-parameter">alpha</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">duration</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">ease</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#tint.tint-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">color</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">alpha</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">duration</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ease</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#tint">tint</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3734">src/field/pokemon.ts:3734</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toJSON" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toJSON</span><a href="#toJSON" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="toJSON.toJSON-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toJSON</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">JSONGameObject</span><a href="#toJSON.toJSON-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 a JSON representation of the Game Object.</p>
|
||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">JSONGameObject</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#toJSON">toJSON</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19855</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="toggleData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toggle<wbr/>Data</span><a href="#toggleData" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="toggleData.toggleData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toggle<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#toggleData.toggleData-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>Toggle a boolean value for the given key within this Game Objects Data Manager. If the key doesn't already exist in the Data Manager then it is toggled from false.</p>
|
||
<p>If the Game Object has not been enabled for data (via <code>setDataEnabled</code>) then it will be enabled
|
||
before setting the value.</p>
|
||
<p>If the key doesn't already exist in the Data Manager then it is created.</p>
|
||
<p>When the value is first set, a <code>setdata</code> event is emitted from this Game Object.</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">key</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The key to toggle the value for.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#toggleData">toggleData</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19747</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="toggleFlyout" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toggle<wbr/>Flyout</span><a href="#toggleFlyout" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="toggleFlyout.toggleFlyout-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toggle<wbr/>Flyout</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#toggleFlyout.toggleFlyout-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">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#toggleFlyout">toggleFlyout</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2364">src/field/pokemon.ts:2364</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="toggleStats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>toggle<wbr/>Stats</span><a href="#toggleStats" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="toggleStats.toggleStats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">toggle<wbr/>Stats</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">visible</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#toggleStats.toggleStats-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">visible</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#toggleStats">toggleStats</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2360">src/field/pokemon.ts:2360</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="transferSummon" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>transfer<wbr/>Summon</span><a href="#transferSummon" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="transferSummon.transferSummon-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">transfer<wbr/>Summon</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#transferSummon.transferSummon-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>Transferring stat changes and Tags</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">source</span>: <a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a></span><div class="tsd-comment tsd-typography"><p><a href="field_pokemon.default.html" class="tsd-kind-class"><code>Pokemon</code></a> the pokemon whose stats/Tags are to be passed on from, ie: the Pokemon using Baton Pass</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#transferSummon">transferSummon</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3170">src/field/pokemon.ts:3170</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="transferTagsBySourceId" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>transfer<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span><a href="#transferTagsBySourceId" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="transferTagsBySourceId.transferTagsBySourceId-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">transfer<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sourceId</span>, <span class="tsd-kind-parameter">newSourceId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#transferTagsBySourceId.transferTagsBySourceId-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">sourceId</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">newSourceId</span>: <span class="tsd-signature-type">number</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#transferTagsBySourceId">transferTagsBySourceId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3158">src/field/pokemon.ts:3158</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="tryPlaySprite" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Play<wbr/>Sprite</span><a href="#tryPlaySprite" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="tryPlaySprite.tryPlaySprite-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Play<wbr/>Sprite</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sprite</span>, <span class="tsd-kind-parameter">tintSprite</span>, <span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#tryPlaySprite.tryPlaySprite-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>Attempts to animate a given Phaser.GameObjects.Sprite</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">sprite</span>: <span class="tsd-signature-type">Sprite</span></span><div class="tsd-comment tsd-typography"><p>Phaser.GameObjects.Sprite to animate</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">tintSprite</span>: <span class="tsd-signature-type">Sprite</span></span><div class="tsd-comment tsd-typography"><p>Phaser.GameObjects.Sprite placed on top of the sprite to add a color tint</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if the sprite was able to be animated</p>
|
||
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="See-9" class="tsd-anchor"></a>See<a href="#See-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Phaser.GameObjects.Sprite.play</p>
|
||
</div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#tryPlaySprite">tryPlaySprite</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L701">src/field/pokemon.ts:701</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="tryPopulateMoveset" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Populate<wbr/>Moveset</span><a href="#tryPopulateMoveset" 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="tryPopulateMoveset.tryPopulateMoveset-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Populate<wbr/>Moveset</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveset</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#tryPopulateMoveset.tryPopulateMoveset-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">moveset</span>: <a href="../types/system_game_data.StarterMoveset.html" class="tsd-signature-type tsd-kind-type-alias">StarterMoveset</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4244">src/field/pokemon.ts:4244</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trySelectMove" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Select<wbr/>Move</span><a href="#trySelectMove" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="trySelectMove.trySelectMove-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Select<wbr/>Move</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">moveIndex</span>, <span class="tsd-kind-parameter">ignorePp</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#trySelectMove.trySelectMove-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">moveIndex</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ignorePp</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#trySelectMove">trySelectMove</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2287">src/field/pokemon.ts:2287</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trySetShiny" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Set<wbr/>Shiny</span><a href="#trySetShiny" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="trySetShiny.trySetShiny-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Set<wbr/>Shiny</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">thresholdOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#trySetShiny.trySetShiny-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>Function that tries to set a Pokemon shiny based on the trainer's trainer ID and secret ID.
|
||
Endless Pokemon in the end biome are unable to be set to shiny</p>
|
||
<p>The exact mechanic is that it calculates E as the XOR of the player's trainer ID and secret ID.
|
||
F is calculated as the XOR of the first 16 bits of the Pokemon's ID with the last 16 bits.
|
||
The XOR of E and F are then compared to the shinyThreshold (or thresholdOverride if set) to see whether or not to generate a shiny.
|
||
The base shiny odds are <a href="../variables/data_balance_rates.BASE_SHINY_CHANCE.html" class="tsd-kind-variable"><code>BASE_SHINY_CHANCE</code></a> / 65536</p>
|
||
</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">thresholdOverride</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>number that is divided by 2^16 (65536) to get the shiny chance, overrides shinyThreshold if set (bypassing shiny rate modifiers such as Shiny Charm)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if the Pokemon has been set as a shiny, false otherwise</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#trySetShiny">trySetShiny</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1935">src/field/pokemon.ts:1935</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trySetShinySeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Set<wbr/>Shiny<wbr/>Seed</span><a href="#trySetShinySeed" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="trySetShinySeed.trySetShinySeed-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Set<wbr/>Shiny<wbr/>Seed</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">thresholdOverride</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">applyModifiersToOverride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#trySetShinySeed.trySetShinySeed-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>Function that tries to set a Pokemon shiny based on seed.
|
||
For manual use only, usually to roll a Pokemon's shiny chance a second time.</p>
|
||
<p>The base shiny odds are <a href="../variables/data_balance_rates.BASE_SHINY_CHANCE.html" class="tsd-kind-variable"><code>BASE_SHINY_CHANCE</code></a> / <code>65536</code></p>
|
||
</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">thresholdOverride</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>number that is divided by <code>2^16</code> (<code>65536</code>) to get the shiny chance, overrides shinyThreshold if set (bypassing shiny rate modifiers such as Shiny Charm)</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">applyModifiersToOverride</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>If thresholdOverride is set and this is true, will apply Shiny Charm and event modifiers to thresholdOverride</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p><code>true</code> if the Pokemon has been set as a shiny, <code>false</code> otherwise</p>
|
||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#trySetShinySeed">trySetShinySeed</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L1977">src/field/pokemon.ts:1977</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="trySetStatus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>try<wbr/>Set<wbr/>Status</span><a href="#trySetStatus" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="trySetStatus.trySetStatus-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">try<wbr/>Set<wbr/>Status</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">effect</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">asPhase</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">sourcePokemon</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">turnsRemaining</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">sourceText</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#trySetStatus.trySetStatus-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">effect</span>: <a href="../enums/enums_status_effect.StatusEffect.html" class="tsd-signature-type tsd-kind-enum">StatusEffect</a></span></li><li><span><span class="tsd-kind-parameter">asPhase</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">sourcePokemon</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="field_pokemon.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol"> = null</span></span></li><li><span><span class="tsd-kind-parameter">turnsRemaining</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li><li><span><span class="tsd-kind-parameter">sourceText</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = null</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#trySetStatus">trySetStatus</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3569">src/field/pokemon.ts:3569</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="unfuse" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>unfuse</span><a href="#unfuse" 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="unfuse.unfuse-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">unfuse</span><span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#unfuse.unfuse-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">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L4612">src/field/pokemon.ts:4612</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="untint" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>untint</span><a href="#untint" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="untint.untint-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">untint</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">duration</span>, <span class="tsd-kind-parameter">ease</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#untint.untint-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">duration</span>: <span class="tsd-signature-type">number</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">ease</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#untint">untint</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3753">src/field/pokemon.ts:3753</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="update" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update</span><a href="#update" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="update.update-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#update.update-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>To be overridden by custom GameObjects. Allows base objects to be used in a Pool.</p>
|
||
</div><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">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>args</p>
|
||
</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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#update">update</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19850</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateEffectiveness" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Effectiveness</span><a href="#updateEffectiveness" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateEffectiveness.updateEffectiveness-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Effectiveness</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">effectiveness</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateEffectiveness.updateEffectiveness-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>Show or hide the type effectiveness multiplier window
|
||
Passing undefined will hide the window</p>
|
||
</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">effectiveness</span>: <span class="tsd-signature-type">string</span></span></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"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#updateEffectiveness">updateEffectiveness</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2356">src/field/pokemon.ts:2356</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateFusionPalette" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Fusion<wbr/>Palette</span><a href="#updateFusionPalette" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateFusionPalette.updateFusionPalette-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Fusion<wbr/>Palette</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">ignoreOveride</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateFusionPalette.updateFusionPalette-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">ignoreOveride</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#updateFusionPalette">updateFusionPalette</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L3801">src/field/pokemon.ts:3801</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateInfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Info</span><a href="#updateInfo" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateInfo.updateInfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Info</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">instant</span><span class="tsd-signature-symbol">?</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#updateInfo.updateInfo-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">instant</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#updateInfo">updateInfo</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L2348">src/field/pokemon.ts:2348</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateScale" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Scale</span><a href="#updateScale" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateScale.updateScale-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Scale</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateScale.updateScale-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#updateScale">updateScale</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L663">src/field/pokemon.ts:663</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="updateSpritePipelineData" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>update<wbr/>Sprite<wbr/>Pipeline<wbr/>Data</span><a href="#updateSpritePipelineData" 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 tsd-is-inherited"><li class="tsd-signature tsd-anchor-link"><a id="updateSpritePipelineData.updateSpritePipelineData-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">update<wbr/>Sprite<wbr/>Pipeline<wbr/>Data</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#updateSpritePipelineData.updateSpritePipelineData-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">void</span></h4><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#updateSpritePipelineData">updateSpritePipelineData</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/0c920ba195c8fa8470694f5a1f4b3157438aa256/src/field/pokemon.ts#L667">src/field/pokemon.ts:667</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="willRender" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>will<wbr/>Render</span><a href="#willRender" 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 tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="willRender.willRender-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">will<wbr/>Render</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">camera</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#willRender.willRender-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>Compares the renderMask with the renderFlags to see if this Game Object will render or not.
|
||
Also checks the Game Object against the given Cameras exclusion list.</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">camera</span>: <span class="tsd-signature-type">Camera</span></span><div class="tsd-comment tsd-typography"><p>The Camera to check against this Game Object.</p>
|
||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="field_pokemon.default.html">default</a>.<a href="field_pokemon.default.html#willRender">willRender</a></p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:19862</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="#abilityIndex" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ability<wbr/>Index</span></a><a href="#active" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>active</span></a><a href="#alpha" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>alpha</span></a><a href="#angle" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>angle</span></a><a href="#battleData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Data</span></a><a href="#battleInfo" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Info</span></a><a href="#battleSummonData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Summon<wbr/>Data</span></a><a href="#blendMode" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>blend<wbr/>Mode</span></a><a href="#body" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>body</span></a><a href="#cameraFilter" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera<wbr/>Filter</span></a><a href="#compatibleTms" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>compatible<wbr/>Tms</span></a><a href="#customPokemonData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>custom<wbr/>Pokemon<wbr/>Data</span></a><a href="#data" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a><a href="#depth" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>depth</span></a><a href="#displayHeight" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Height</span></a><a href="#displayList" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>List</span></a><a href="#displayOriginX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>OriginX</span></a><a href="#displayOriginY" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>OriginY</span></a><a href="#displayWidth" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>display<wbr/>Width</span></a><a href="#evoCounter" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>evo<wbr/>Counter</span></a><a href="#exclusive" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exclusive</span></a><a href="#exp" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>exp</span></a><a href="#fieldPosition" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>field<wbr/>Position</span></a><a href="#first" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>first</span></a><a href="#formIndex" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>form<wbr/>Index</span></a><a href="#friendship" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>friendship</span></a><a href="#fusionAbilityIndex" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Ability<wbr/>Index</span></a><a href="#fusionCustomPokemonData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Custom<wbr/>Pokemon<wbr/>Data</span></a><a href="#fusionFormIndex" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Form<wbr/>Index</span></a><a href="#fusionGender" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Gender</span></a><a href="#fusionLuck" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Luck</span></a><a href="#fusionShiny" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Shiny</span></a><a href="#fusionSpecies" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Species</span></a><a href="#fusionVariant" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fusion<wbr/>Variant</span></a><a href="#gender" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gender</span></a><a href="#hasPostPipeline" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Post<wbr/>Pipeline</span></a><a href="#hasTransformComponent" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>has<wbr/>Transform<wbr/>Component</span></a><a href="#height" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>height</span></a><a href="#hp" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hp</span></a><a href="#id" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>id</span></a><a href="#ignoreDestroy" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ignore<wbr/>Destroy</span></a><a href="#input" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>input</span></a><a href="#ivs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ivs</span></a><a href="#last" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>last</span></a><a href="#length" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>length</span></a><a href="#level" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>level</span></a><a href="#levelExp" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>level<wbr/>Exp</span></a><a href="#list" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>list</span></a><a href="#localTransform" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>local<wbr/>Transform</span></a><a href="#luck" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>luck</span></a><a href="#mask" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask</span></a><a href="#maskEnabled" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Enabled</span></a><a href="#maskSprite" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mask<wbr/>Sprite</span></a><a href="#maxSize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Size</span></a><a href="#metBiome" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Biome</span></a><a href="#metLevel" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Level</span></a><a href="#metSpecies" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Species</span></a><a href="#metWave" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>met<wbr/>Wave</span></a><a href="#moveset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>moveset</span></a><a href="#mysteryEncounterBattleEffects" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mystery<wbr/>Encounter<wbr/>Battle<wbr/>Effects</span></a><a href="#name" class="tsd-is-inherited"><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="#nature" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nature</span></a><a href="#next" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>next</span></a><a href="#nickname" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>nickname</span></a><a href="#originX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>originX</span></a><a href="#originY" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>originY</span></a><a href="#parentContainer" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>parent<wbr/>Container</span></a><a href="#passive" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>passive</span></a><a href="#pauseEvolutions" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pause<wbr/>Evolutions</span></a><a href="#pokeball" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokeball</span></a><a href="#pokerus" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokerus</span></a><a href="#position" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>position</span></a><a href="#postFX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>postFX</span></a><a href="#postPipelineData" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>post<wbr/>Pipeline<wbr/>Data</span></a><a href="#postPipelines" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>post<wbr/>Pipelines</span></a><a href="#preFX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>preFX</span></a><a href="#previous" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>previous</span></a><a href="#renderFlags" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>render<wbr/>Flags</span></a><a href="#rotation" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>rotation</span></a><a href="#scale" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scale</span></a><a href="#scaleX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scaleX</span></a><a href="#scaleY" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scaleY</span></a><a href="#scene" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scene</span></a><a href="#scrollFactorX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scroll<wbr/>FactorX</span></a><a href="#scrollFactorY" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>scroll<wbr/>FactorY</span></a><a href="#shiny" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shiny</span></a><a href="#species" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>species</span></a><a href="#state" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a><a href="#stats" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>stats</span></a><a href="#status" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>status</span></a><a href="#summonData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>summon<wbr/>Data</span></a><a href="#switchOutStatus" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>switch<wbr/>Out<wbr/>Status</span></a><a href="#tabIndex" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tab<wbr/>Index</span></a><a href="#turnData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>turn<wbr/>Data</span></a><a href="#type" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#usedTMs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>usedTMs</span></a><a href="#variant" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>variant</span></a><a href="#visible" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>visible</span></a><a href="#w" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>w</span></a><a href="#width" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>width</span></a><a href="#x" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>x</span></a><a href="#y" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>y</span></a><a href="#z" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>z</span></a><a href="#RENDER_MASK" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>RENDER_<wbr/>MASK</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#add" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add</span></a><a href="#addAt" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>At</span></a><a href="#addExp" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Exp</span></a><a href="#addFriendship" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Friendship</span></a><a href="#addListener" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Listener</span></a><a href="#addTag" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Tag</span></a><a href="#addToDisplayList" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Display<wbr/>List</span></a><a href="#addToUpdateList" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To<wbr/>Update<wbr/>List</span></a><a href="#addedToScene" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>added<wbr/>To<wbr/>Scene</span></a><a href="#apply" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>apply</span></a><a href="#bringToTop" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>bring<wbr/>To<wbr/>Top</span></a><a href="#calculateBaseStats" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>Base<wbr/>Stats</span></a><a href="#calculateStats" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>calculate<wbr/>Stats</span></a><a href="#canAddTag" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Add<wbr/>Tag</span></a><a href="#canApplyAbility" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Apply<wbr/>Ability</span></a><a href="#canSetStatus" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>can<wbr/>Set<wbr/>Status</span></a><a href="#changeForm" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>change<wbr/>Form</span></a><a href="#checkIfPlayerHasAbilityOfStarter" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>If<wbr/>Player<wbr/>Has<wbr/>Ability<wbr/>Of<wbr/>Starter</span></a><a href="#clearAlpha" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Alpha</span></a><a href="#clearFX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clearFX</span></a><a href="#clearFusionSpecies" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Fusion<wbr/>Species</span></a><a href="#clearMask" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Mask</span></a><a href="#copyMoveset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>copy<wbr/>Moveset</span></a><a href="#copyPosition" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>copy<wbr/>Position</span></a><a href="#count" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>count</span></a><a href="#createBitmapMask" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Bitmap<wbr/>Mask</span></a><a href="#createGeometryMask" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Geometry<wbr/>Mask</span></a><a href="#cry" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>cry</span></a><a href="#damage" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>damage</span></a><a href="#damageAndUpdate" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>damage<wbr/>And<wbr/>Update</span></a><a href="#destroy" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy</span></a><a href="#destroySubstitute" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>destroy<wbr/>Substitute</span></a><a href="#disableInteractive" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable<wbr/>Interactive</span></a><a href="#disableMask" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>disable<wbr/>Mask</span></a><a href="#each" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>each</span></a><a href="#emit" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>emit</span></a><a href="#enableMask" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>enable<wbr/>Mask</span></a><a href="#eventNames" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>event<wbr/>Names</span></a><a href="#evolve" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>evolve</span></a><a href="#exists" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>exists</span></a><a href="#faintCry" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>faint<wbr/>Cry</span></a><a href="#fallbackVariantColor" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fallback<wbr/>Variant<wbr/>Color</span></a><a href="#findAndRemoveTags" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>And<wbr/>Remove<wbr/>Tags</span></a><a href="#findTag" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Tag</span></a><a href="#findTags" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Tags</span></a><a href="#fuse" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fuse</span></a><a href="#generateAndPopulateMoveset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>And<wbr/>Populate<wbr/>Moveset</span></a><a href="#generateCompatibleTms" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Compatible<wbr/>Tms</span></a><a href="#generateFusionSpecies" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Fusion<wbr/>Species</span></a><a href="#generateGender" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Gender</span></a><a href="#generateName" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Name</span></a><a href="#generateNature" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Nature</span></a><a href="#generateShinyVariant" class="tsd-is-protected tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>generate<wbr/>Shiny<wbr/>Variant</span></a><a href="#getAbility" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ability</span></a><a href="#getAbilityAttrs" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ability<wbr/>Attrs</span></a><a href="#getAccuracyMultiplier" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Accuracy<wbr/>Multiplier</span></a><a href="#getAll" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>All</span></a><a href="#getAlliedField" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Allied<wbr/>Field</span></a><a href="#getAlly" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Ally</span></a><a href="#getAt" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>At</span></a><a href="#getAttackDamage" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Attack<wbr/>Damage</span></a><a href="#getAttackTypeEffectiveness" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Attack<wbr/>Type<wbr/>Effectiveness</span></a><a href="#getBaseDamage" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Base<wbr/>Damage</span></a><a href="#getBattleInfo" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Info</span></a><a href="#getBattleSpriteAtlasPath" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span></a><a href="#getBattleSpriteId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Id</span></a><a href="#getBattleSpriteKey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battle<wbr/>Sprite<wbr/>Key</span></a><a href="#getBattlerIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Battler<wbr/>Index</span></a><a href="#getBounds" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Bounds</span></a><a href="#getBoundsTransformMatrix" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Bounds<wbr/>Transform<wbr/>Matrix</span></a><a href="#getByName" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>By<wbr/>Name</span></a><a href="#getCritStage" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Crit<wbr/>Stage</span></a><a href="#getData" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Data</span></a><a href="#getDexAttr" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Dex<wbr/>Attr</span></a><a href="#getEffectiveStat" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Effective<wbr/>Stat</span></a><a href="#getEggMoves" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Egg<wbr/>Moves</span></a><a href="#getEvolution" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Evolution</span></a><a href="#getExpValue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Exp<wbr/>Value</span></a><a href="#getFieldIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Field<wbr/>Index</span></a><a href="#getFieldPositionOffset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Field<wbr/>Position<wbr/>Offset</span></a><a href="#getFirst" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>First</span></a><a href="#getFormKey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Form<wbr/>Key</span></a><a href="#getFusionBattleSpriteAtlasPath" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span></a><a href="#getFusionBattleSpriteId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Id</span></a><a href="#getFusionBattleSpriteKey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Battle<wbr/>Sprite<wbr/>Key</span></a><a href="#getFusionFormKey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Form<wbr/>Key</span></a><a href="#getFusionGender" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Gender</span></a><a href="#getFusionIconAtlasKey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Icon<wbr/>Atlas<wbr/>Key</span></a><a href="#getFusionIconId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Icon<wbr/>Id</span></a><a href="#getFusionSpeciesForm" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Species<wbr/>Form</span></a><a href="#getFusionSpriteId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Fusion<wbr/>Sprite<wbr/>Id</span></a><a href="#getGender" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Gender</span></a><a href="#getHeldItems" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Held<wbr/>Items</span></a><a href="#getHpRatio" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Hp<wbr/>Ratio</span></a><a href="#getIconAtlasKey" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Icon<wbr/>Atlas<wbr/>Key</span></a><a href="#getIconId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Icon<wbr/>Id</span></a><a href="#getIndex" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Index</span></a><a href="#getIndexList" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Index<wbr/>List</span></a><a href="#getInverseHp" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Inverse<wbr/>Hp</span></a><a href="#getLastXMoves" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>LastXMoves</span></a><a href="#getLearnableLevelMoves" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Learnable<wbr/>Level<wbr/>Moves</span></a><a href="#getLevelMoves" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Level<wbr/>Moves</span></a><a href="#getLocalPoint" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Local<wbr/>Point</span></a><a href="#getLocalTransformMatrix" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Local<wbr/>Transform<wbr/>Matrix</span></a><a href="#getLuck" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Luck</span></a><a href="#getMatchupScore" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Matchup<wbr/>Score</span></a><a href="#getMaxHp" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Max<wbr/>Hp</span></a><a href="#getMoveEffectiveness" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>Effectiveness</span></a><a href="#getMoveHistory" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>History</span></a><a href="#getMoveQueue" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>Queue</span></a><a href="#getMoveType" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Move<wbr/>Type</span></a><a href="#getMoveset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moveset</span></a><a href="#getNameToRender" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name<wbr/>To<wbr/>Render</span></a><a href="#getNature" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Nature</span></a><a href="#getOpponent" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Opponent</span></a><a href="#getOpponentDescriptor" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Opponent<wbr/>Descriptor</span></a><a href="#getOpponents" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Opponents</span></a><a href="#getParentRotation" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Parent<wbr/>Rotation</span></a><a href="#getPassiveAbility" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Passive<wbr/>Ability</span></a><a href="#getPossibleEvolution" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Possible<wbr/>Evolution</span></a><a href="#getPossibleForm" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Possible<wbr/>Form</span></a><a href="#getPostPipeline" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Post<wbr/>Pipeline</span></a><a href="#getRandom" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Random</span></a><a href="#getRestrictingTag" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Restricting<wbr/>Tag</span></a><a href="#getSpeciesForm" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Species<wbr/>Form</span></a><a href="#getSprite" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite</span></a><a href="#getSpriteAtlasPath" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite<wbr/>Atlas<wbr/>Path</span></a><a href="#getSpriteId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite<wbr/>Id</span></a><a href="#getSpriteKey" class="tsd-is-inherited"><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="#getSpriteScale" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Sprite<wbr/>Scale</span></a><a href="#getStat" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat</span></a><a href="#getStatStage" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat<wbr/>Stage</span></a><a href="#getStatStageMultiplier" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat<wbr/>Stage<wbr/>Multiplier</span></a><a href="#getStatStages" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stat<wbr/>Stages</span></a><a href="#getStats" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Stats</span></a><a href="#getSubstituteOffset" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Substitute<wbr/>Offset</span></a><a href="#getTag" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tag</span></a><a href="#getTeraType" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tera<wbr/>Type</span></a><a href="#getTintSprite" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Tint<wbr/>Sprite</span></a><a href="#getTypes" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Types</span></a><a href="#getUnlockedEggMoves" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Unlocked<wbr/>Egg<wbr/>Moves</span></a><a href="#getVariant" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Variant</span></a><a href="#getWeight" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Weight</span></a><a href="#getWorldTransformMatrix" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>World<wbr/>Transform<wbr/>Matrix</span></a><a href="#hasAbility" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Ability</span></a><a href="#hasAbilityWithAttr" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Ability<wbr/>With<wbr/>Attr</span></a><a href="#hasFusionSpecies" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Fusion<wbr/>Species</span></a><a href="#hasPassive" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Passive</span></a><a href="#hasSameAbilityInRootForm" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Same<wbr/>Ability<wbr/>In<wbr/>Root<wbr/>Form</span></a><a href="#hasTrainer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Trainer</span></a><a href="#heal" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>heal</span></a><a href="#hideInfo" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide<wbr/>Info</span></a><a href="#incData" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>inc<wbr/>Data</span></a><a href="#init" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init</span></a><a href="#initBattleInfo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Battle<wbr/>Info</span></a><a href="#initPostPipeline" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Post<wbr/>Pipeline</span></a><a href="#initShinySparkle" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Shiny<wbr/>Sparkle</span></a><a href="#isActive" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Active</span></a><a href="#isAllowedInBattle" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Allowed<wbr/>In<wbr/>Battle</span></a><a href="#isAllowedInChallenge" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Allowed<wbr/>In<wbr/>Challenge</span></a><a href="#isBoss" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Boss</span></a><a href="#isBossImmune" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Boss<wbr/>Immune</span></a><a href="#isFainted" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Fainted</span></a><a href="#isFullHp" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Full<wbr/>Hp</span></a><a href="#isFusion" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Fusion</span></a><a href="#isGrounded" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Grounded</span></a><a href="#isMax" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Max</span></a><a href="#isMoveRestricted" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Move<wbr/>Restricted</span></a><a href="#isMoveTargetRestricted" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Move<wbr/>Target<wbr/>Restricted</span></a><a href="#isOfType" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Of<wbr/>Type</span></a><a href="#isOffsetBySubstitute" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Offset<wbr/>By<wbr/>Substitute</span></a><a href="#isOnField" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>On<wbr/>Field</span></a><a href="#isOpponent" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Opponent</span></a><a href="#isOppositeGender" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Opposite<wbr/>Gender</span></a><a href="#isPlayer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Player</span></a><a href="#isSafeguarded" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Safeguarded</span></a><a href="#isShiny" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Shiny</span></a><a href="#isTerastallized" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Terastallized</span></a><a href="#isTrapped" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Trapped</span></a><a href="#iterate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>iterate</span></a><a href="#lapseTag" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lapse<wbr/>Tag</span></a><a href="#lapseTags" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lapse<wbr/>Tags</span></a><a href="#leaveField" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>leave<wbr/>Field</span></a><a href="#listenerCount" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>listener<wbr/>Count</span></a><a href="#listeners" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>listeners</span></a><a href="#loadAssets" class="tsd-is-inherited"><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="#loseHeldItem" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lose<wbr/>Held<wbr/>Item</span></a><a href="#moveAbove" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Above</span></a><a href="#moveBelow" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Below</span></a><a href="#moveDown" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Down</span></a><a href="#moveTo" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>To</span></a><a href="#moveUp" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>move<wbr/>Up</span></a><a href="#off" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a><a href="#on" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a><a href="#onChildDestroyed" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on<wbr/>Child<wbr/>Destroyed</span></a><a href="#once" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>once</span></a><a href="#playAnim" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>play<wbr/>Anim</span></a><a href="#pointToContainer" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>point<wbr/>To<wbr/>Container</span></a><a href="#populateVariantColorCache" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>populate<wbr/>Variant<wbr/>Color<wbr/>Cache</span></a><a href="#preDestroy" class="tsd-is-protected tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pre<wbr/>Destroy</span></a><a href="#primeSummonData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>prime<wbr/>Summon<wbr/>Data</span></a><a href="#pushMoveHistory" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>push<wbr/>Move<wbr/>History</span></a><a href="#randSeedInt" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rand<wbr/>Seed<wbr/>Int</span></a><a href="#randSeedIntRange" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rand<wbr/>Seed<wbr/>Int<wbr/>Range</span></a><a href="#remove" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove</span></a><a href="#removeAll" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>All</span></a><a href="#removeAllListeners" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>All<wbr/>Listeners</span></a><a href="#removeAt" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>At</span></a><a href="#removeBetween" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Between</span></a><a href="#removeFromDisplayList" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From<wbr/>Display<wbr/>List</span></a><a href="#removeFromUpdateList" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From<wbr/>Update<wbr/>List</span></a><a href="#removeInteractive" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Interactive</span></a><a href="#removeListener" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Listener</span></a><a href="#removePostPipeline" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Post<wbr/>Pipeline</span></a><a href="#removeTag" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Tag</span></a><a href="#removeTagsBySourceId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span></a><a href="#removedFromScene" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>removed<wbr/>From<wbr/>Scene</span></a><a href="#replace" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>replace</span></a><a href="#resetBattleData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Battle<wbr/>Data</span></a><a href="#resetBattleSummonData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Battle<wbr/>Summon<wbr/>Data</span></a><a href="#resetPostPipeline" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Post<wbr/>Pipeline</span></a><a href="#resetSprite" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Sprite</span></a><a href="#resetStatus" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Status</span></a><a href="#resetSummonData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Summon<wbr/>Data</span></a><a href="#resetTurnData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reset<wbr/>Turn<wbr/>Data</span></a><a href="#reverse" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>reverse</span></a><a href="#revivalBlessing" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>revival<wbr/>Blessing</span></a><a href="#sendToBack" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>send<wbr/>To<wbr/>Back</span></a><a href="#setActive" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Active</span></a><a href="#setAll" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>All</span></a><a href="#setAlpha" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Alpha</span></a><a href="#setAngle" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Angle</span></a><a href="#setBlendMode" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Blend<wbr/>Mode</span></a><a href="#setCustomNature" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Custom<wbr/>Nature</span></a><a href="#setData" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Data</span></a><a href="#setDataEnabled" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Data<wbr/>Enabled</span></a><a href="#setDepth" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Depth</span></a><a href="#setDisplaySize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Display<wbr/>Size</span></a><a href="#setExclusive" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Exclusive</span></a><a href="#setFieldPosition" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Field<wbr/>Position</span></a><a href="#setFrameRate" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Frame<wbr/>Rate</span></a><a href="#setInteractive" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Interactive</span></a><a href="#setMask" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Mask</span></a><a href="#setMove" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Move</span></a><a href="#setName" class="tsd-is-inherited tsd-is-external"><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="#setNature" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Nature</span></a><a href="#setPosition" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Position</span></a><a href="#setPositionRelative" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Position<wbr/>Relative</span></a><a href="#setPostPipeline" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Post<wbr/>Pipeline</span></a><a href="#setPostPipelineData" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Post<wbr/>Pipeline<wbr/>Data</span></a><a href="#setRandomPosition" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Random<wbr/>Position</span></a><a href="#setRotation" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Rotation</span></a><a href="#setScale" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scale</span></a><a href="#setScrollFactor" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Scroll<wbr/>Factor</span></a><a href="#setSize" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Size</span></a><a href="#setStat" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Stat</span></a><a href="#setStatStage" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Stat<wbr/>Stage</span></a><a href="#setState" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a><a href="#setSwitchOutStatus" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Switch<wbr/>Out<wbr/>Status</span></a><a href="#setVisible" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Visible</span></a><a href="#setW" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setW</span></a><a href="#setX" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setX</span></a><a href="#setY" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setY</span></a><a href="#setZ" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>setZ</span></a><a href="#showInfo" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show<wbr/>Info</span></a><a href="#shuffle" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shuffle</span></a><a href="#shutdown" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>shutdown</span></a><a href="#sort" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sort</span></a><a href="#sparkle" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sparkle</span></a><a href="#stopMultiHit" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stop<wbr/>Multi<wbr/>Hit</span></a><a href="#swap" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>swap</span></a><a href="#switchOut" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>switch<wbr/>Out</span></a><a href="#tint" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>tint</span></a><a href="#toJSON" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toJSON</span></a><a href="#toggleData" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Data</span></a><a href="#toggleFlyout" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Flyout</span></a><a href="#toggleStats" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Stats</span></a><a href="#transferSummon" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>transfer<wbr/>Summon</span></a><a href="#transferTagsBySourceId" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>transfer<wbr/>Tags<wbr/>By<wbr/>Source<wbr/>Id</span></a><a href="#tryPlaySprite" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Play<wbr/>Sprite</span></a><a href="#tryPopulateMoveset" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Populate<wbr/>Moveset</span></a><a href="#trySelectMove" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Select<wbr/>Move</span></a><a href="#trySetShiny" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Set<wbr/>Shiny</span></a><a href="#trySetShinySeed" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Set<wbr/>Shiny<wbr/>Seed</span></a><a href="#trySetStatus" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>try<wbr/>Set<wbr/>Status</span></a><a href="#unfuse" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>unfuse</span></a><a href="#untint" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>untint</span></a><a href="#update" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update</span></a><a href="#updateEffectiveness" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Effectiveness</span></a><a href="#updateFusionPalette" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Fusion<wbr/>Palette</span></a><a href="#updateInfo" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Info</span></a><a href="#updateScale" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Scale</span></a><a href="#updateSpritePipelineData" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Sprite<wbr/>Pipeline<wbr/>Data</span></a><a href="#willRender" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>will<wbr/>Render</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>pokemon-rogue-battle</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|