pokerogue/main/classes/data_pokemon_species.defaul...

80 lines
129 KiB
HTML
Raw Normal View History

2024-08-17 20:49:01 +01:00
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | pokemon-rogue-battle</title><meta name="description" content="Documentation for pokemon-rogue-battle"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">pokemon-rogue-battle</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">pokemon-rogue-battle</a></li><li><a href="../modules/data_pokemon_species.html">data/pokemon-species</a></li><li><a href="data_pokemon_species.default.html">default</a></li></ul><h1>Class default</h1></div><section class="tsd-panel tsd-hierarchy"><h4>Hierarchy (<a href="../hierarchy.html#data/pokemon-species.default">view full</a>)</h4><ul class="tsd-hierarchy"><li><a href="data_pokemon_species.PokemonSpeciesForm.html" class="tsd-signature-type tsd-kind-class">PokemonSpeciesForm</a><ul class="tsd-hierarchy"><li><span class="target">default</span></li></ul></li></ul></section><section class="tsd-panel"><h4>Implements</h4><ul class="tsd-hierarchy"><li><a href="../interfaces/interfaces_locales.Localizable.html" class="tsd-signature-type tsd-kind-interface">Localizable</a></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L575">src/data/pokemon-species.ts:575</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="data_pokemon_species.default.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2024-05-31 14:57:14 +01:00
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="data_pokemon_species.default.html#ability1" 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>ability1</span></a>
<a href="data_pokemon_species.default.html#ability2" 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>ability2</span></a>
<a href="data_pokemon_species.default.html#abilityHidden" 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/>Hidden</span></a>
<a href="data_pokemon_species.default.html#baseExp" 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>base<wbr/>Exp</span></a>
<a href="data_pokemon_species.default.html#baseFriendship" 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>base<wbr/>Friendship</span></a>
<a href="data_pokemon_species.default.html#baseStats" 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>base<wbr/>Stats</span></a>
<a href="data_pokemon_species.default.html#baseTotal" 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>base<wbr/>Total</span></a>
<a href="data_pokemon_species.default.html#canChangeForm" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>can<wbr/>Change<wbr/>Form</span></a>
<a href="data_pokemon_species.default.html#catchRate" 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>catch<wbr/>Rate</span></a>
<a href="data_pokemon_species.default.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="data_pokemon_species.default.html#forms" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>forms</span></a>
<a href="data_pokemon_species.default.html#genderDiffs" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gender<wbr/>Diffs</span></a>
<a href="data_pokemon_species.default.html#generation" 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>generation</span></a>
<a href="data_pokemon_species.default.html#growthRate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>growth<wbr/>Rate</span></a>
<a href="data_pokemon_species.default.html#height" 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>height</span></a>
<a href="data_pokemon_species.default.html#isStarterSelectable" 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>is<wbr/>Starter<wbr/>Selectable</span></a>
<a href="data_pokemon_species.default.html#legendary" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>legendary</span></a>
<a href="data_pokemon_species.default.html#malePercent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>male<wbr/>Percent</span></a>
<a href="data_pokemon_species.default.html#mythical" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>mythical</span></a>
<a href="data_pokemon_species.default.html#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
<a href="data_pokemon_species.default.html#species" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>species</span></a>
<a href="data_pokemon_species.default.html#speciesId" 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<wbr/>Id</span></a>
<a href="data_pokemon_species.default.html#subLegendary" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sub<wbr/>Legendary</span></a>
<a href="data_pokemon_species.default.html#type1" 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>type1</span></a>
<a href="data_pokemon_species.default.html#type2" 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>type2</span></a>
<a href="data_pokemon_species.default.html#weight" 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>weight</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="data_pokemon_species.default.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="data_pokemon_species.default.html#generateCandyColors" 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/>Candy<wbr/>Colors</span></a>
<a href="data_pokemon_species.default.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="data_pokemon_species.default.html#getAbilityCount" 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/>Count</span></a>
<a href="data_pokemon_species.default.html#getBaseExp" 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/>Exp</span></a>
<a href="data_pokemon_species.default.html#getBaseStat" 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/>Stat</span></a>
<a href="data_pokemon_species.default.html#getCompatibleFusionSpeciesFilter" 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/>Compatible<wbr/>Fusion<wbr/>Species<wbr/>Filter</span></a>
<a href="data_pokemon_species.default.html#getCryKey" 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/>Cry<wbr/>Key</span></a>
<a href="data_pokemon_species.default.html#getEvolutionLevels" 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/>Evolution<wbr/>Levels</span></a>
<a href="data_pokemon_species.default.html#getFormSpriteKey" 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/>Form<wbr/>Sprite<wbr/>Key</span></a>
<a href="data_pokemon_species.default.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="data_pokemon_species.default.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="data_pokemon_species.default.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="data_pokemon_species.default.html#getName" 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/>Name</span></a>
<a href="data_pokemon_species.default.html#getPrevolutionLevels" 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/>Prevolution<wbr/>Levels</span></a>
<a href="data_pokemon_species.default.html#getRegion" 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/>Region</span></a>
<a href="data_pokemon_species.default.html#getRootSpeciesId" 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/>Root<wbr/>Species<wbr/>Id</span></a>
<a href="data_pokemon_species.default.html#getSimulatedEvolutionChain" 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/>Simulated<wbr/>Evolution<wbr/>Chain</span></a>
<a href="data_pokemon_species.default.html#getSpeciesForLevel" 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/>Species<wbr/>For<wbr/>Level</span></a>
<a href="data_pokemon_species.default.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="data_pokemon_species.default.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="data_pokemon_species.default.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="data_pokemon_species.default.html#getTrainerSpeciesForLevel" 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/>Trainer<wbr/>Species<wbr/>For<wbr/>Level</span></a>
<a href="data_pokemon_species.default.html#getVariantDataIndex" 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<wbr/>Data<wbr/>Index</span></a>
<a href="data_pokemon_species.default.html#getWildSpeciesForLevel" 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/>Wild<wbr/>Species<wbr/>For<wbr/>Level</span></a>
2024-06-22 01:21:13 +01:00
<a href="data_pokemon_species.default.html#hasVariants" 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/>Variants</span></a>
2024-05-31 14:57:14 +01:00
<a href="data_pokemon_species.default.html#isCatchable" 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/>Catchable</span></a>
<a href="data_pokemon_species.default.html#isObtainable" 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/>Obtainable</span></a>
<a href="data_pokemon_species.default.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="data_pokemon_species.default.html#isRareRegional" 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/>Rare<wbr/>Regional</span></a>
<a href="data_pokemon_species.default.html#isRegional" 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/>Regional</span></a>
<a href="data_pokemon_species.default.html#isTrainerForbidden" 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/>Trainer<wbr/>Forbidden</span></a>
<a href="data_pokemon_species.default.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="data_pokemon_species.default.html#localize" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>localize</span></a>
<a href="data_pokemon_species.default.html#validateStarterMoveset" 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>validate<wbr/>Starter<wbr/>Moveset</span></a>
2024-08-17 20:49:01 +01:00
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_default" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new default</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span>, <span class="tsd-kind-parameter">generation</span>, <span class="tsd-kind-parameter">subLegendary</span>, <span class="tsd-kind-parameter">legendary</span>, <span class="tsd-kind-parameter">mythical</span>, <span class="tsd-kind-parameter">species</span>, <span class="tsd-kind-parameter">type1</span>, <span class="tsd-kind-parameter">type2</span>, <span class="tsd-kind-parameter">height</span>, <span class="tsd-kind-parameter">weight</span>, <span class="tsd-kind-parameter">ability1</span>, <span class="tsd-kind-parameter">ability2</span>, <span class="tsd-kind-parameter">abilityHidden</span>, <span class="tsd-kind-parameter">baseTotal</span>, <span class="tsd-kind-parameter">baseHp</span>, <span class="tsd-kind-parameter">baseAtk</span>, <span class="tsd-kind-parameter">baseDef</span>, <span class="tsd-kind-parameter">baseSpatk</span>, <span class="tsd-kind-parameter">baseSpdef</span>, <span class="tsd-kind-parameter">baseSpd</span>, <span class="tsd-kind-parameter">catchRate</span>, <span class="tsd-kind-parameter">baseFriendship</span>, <span class="tsd-kind-parameter">baseExp</span>, <span class="tsd-kind-parameter">growthRate</span>, <span class="tsd-kind-parameter">malePercent</span>, <span class="tsd-kind-parameter">genderDiffs</span>, <span class="tsd-kind-parameter">canChangeForm</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">forms</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="data_pokemon_species.default.html" class="tsd-signature-type tsd-kind-class">default</a><a href="#constructor.new_default" aria-label="Permalink" class="tsd-anchor-icon"><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">id</span>: <a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a></span></li><li><span><span class="tsd-kind-parameter">generation</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">subLegendary</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><span class="tsd-kind-parameter">legendary</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><span class="tsd-kind-parameter">mythical</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><span class="tsd-kind-parameter">species</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">type1</span>: <a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></span></li><li><span><span class="tsd-kind-parameter">type2</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="../enums/data_type.Type.html" class="tsd-signature-type tsd-kind-enum">Type</a></span></li><li><span><span class="tsd-kind-parameter">height</span>: <span cl
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">abilityIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Which ability to get (should only be 0-2)</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_abilities.Abilities.html" class="tsd-signature-type tsd-kind-enum">Abilities</a></h4><p>The id of the Ability</p>
2024-08-17 20:49:01 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_pokemon_species.PokemonSpeciesForm.html">PokemonSpeciesForm</a>.<a href="data_pokemon_species.PokemonSpeciesForm.html#getAbility">getAbility</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L193">src/data/pokemon-species.ts:193</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getAbilityCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Ability<wbr/>Count</span><a href="#getAbilityCount" aria-label="Permalink" class="tsd-anchor-icon"><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="getAbilityCount.getAbilityCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Ability<wbr/>Count</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="#getAbilityCount.getAbilityCount-1" aria-label="Permalink" class="tsd-anchor-icon"><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>Method to get the total number of abilities a Pokemon species has.</p>
2024-07-28 00:48:18 +01:00
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><p>Number of abilities</p>
2024-08-17 20:49:01 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_pokemon_species.PokemonSpeciesForm.html">PokemonSpeciesForm</a>.<a href="data_pokemon_species.PokemonSpeciesForm.html#getAbilityCount">getAbilityCount</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L184">src/data/pokemon-species.ts:184</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBaseExp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Base<wbr/>Exp</span><a href="#getBaseExp" aria-label="Permalink" class="tsd-anchor-icon"><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="getBaseExp.getBaseExp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Base<wbr/>Exp</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="#getBaseExp.getBaseExp-1" aria-label="Permalink" class="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="data_pokemon_species.PokemonSpeciesForm.html">PokemonSpeciesForm</a>.<a href="data_pokemon_species.PokemonSpeciesForm.html#getBaseExp">getBaseExp</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L250">src/data/pokemon-species.ts:250</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getBaseStat" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Base<wbr/>Stat</span><a href="#getBaseStat" aria-label="Permalink" class="tsd-anchor-icon"><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="getBaseStat.getBaseStat-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Base<wbr/>Stat</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="#getBaseStat.getBaseStat-1" aria-label="Permalink" class="tsd-anchor-icon"><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 species' base stat amount for the given stat.</p>
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">stat</span>: <a href="../enums/enums_stat.Stat.html" class="tsd-signature-type tsd-kind-enum">Stat</a></span><div class="tsd-comment tsd-typography"><p>The desired stat.</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 species' base stat amount.</p>
2024-08-17 20:49:01 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_pokemon_species.PokemonSpeciesForm.html">PokemonSpeciesForm</a>.<a href="data_pokemon_species.PokemonSpeciesForm.html#getBaseStat">getBaseStat</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L246">src/data/pokemon-species.ts:246</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getCompatibleFusionSpeciesFilter" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Compatible<wbr/>Fusion<wbr/>Species<wbr/>Filter</span><a href="#getCompatibleFusionSpeciesFilter" aria-label="Permalink" class="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="getCompatibleFusionSpeciesFilter.getCompatibleFusionSpeciesFilter-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Compatible<wbr/>Fusion<wbr/>Species<wbr/>Filter</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/data_pokemon_species.PokemonSpeciesFilter.html" class="tsd-signature-type tsd-kind-type-alias">PokemonSpeciesFilter</a><a href="#getCompatibleFusionSpeciesFilter.getCompatibleFusionSpeciesFilter-1" aria-label="Permalink" class="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_pokemon_species.PokemonSpeciesFilter.html" class="tsd-signature-type tsd-kind-type-alias">PokemonSpeciesFilter</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L827">src/data/pokemon-species.ts:827</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="getCryKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Cry<wbr/>Key</span><a href="#getCryKey" aria-label="Permalink" class="tsd-anchor-icon"><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="getCryKey.getCryKey-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Cry<wbr/>Key</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">formIndex</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="#getCryKey.getCryKey-1" aria-label="Permalink" class="tsd-anchor-icon"><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">formIndex</span>: <span class="tsd-signature-type">number</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="data_pokemon_species.PokemonSpeciesForm.html">PokemonSpeciesForm</a>.<a href="data_pokemon_species.PokemonSpeciesForm.html#getCryKey">getCryKey</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L367">src/data/pokemon-species.ts:367</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getEvolutionLevels" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Evolution<wbr/>Levels</span><a href="#getEvolutionLevels" aria-label="Permalink" class="tsd-anchor-icon"><svg vi
2024-05-31 14:57:14 +01:00
Magmortar.getRootSpeciesId(true) =&gt; Magmar
Magmortar.getRootSpeciesId(false) =&gt; Magby</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">forStarter</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 get the nonbaby form of a starter</p>
2024-06-13 23:45:37 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a></h4><p>The species</p>
2024-08-17 20:49:01 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_pokemon_species.PokemonSpeciesForm.html">PokemonSpeciesForm</a>.<a href="data_pokemon_species.PokemonSpeciesForm.html#getRootSpeciesId">getRootSpeciesId</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L168">src/data/pokemon-species.ts:168</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSimulatedEvolutionChain" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Simulated<wbr/>Evolution<wbr/>Chain</span><a href="#getSimulatedEvolutionChain" aria-label="Permalink" class="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="getSimulatedEvolutionChain.getSimulatedEvolutionChain-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Simulated<wbr/>Evolution<wbr/>Chain</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">currentLevel</span>, <span class="tsd-kind-parameter">forTrainer</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">isBoss</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">player</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/data_pokemon_evolutions.EvolutionLevel.html" class="tsd-signature-type tsd-kind-type-alias">EvolutionLevel</a><span class="tsd-signature-symbol">[]</span><a href="#getSimulatedEvolutionChain.getSimulatedEvolutionChain-1" aria-label="Permalink" class="tsd-anchor-icon"><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">currentLevel</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">forTrainer</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">isBoss</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><span class="tsd-kind-parameter">player</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 <a href="../types/data_pokemon_evolutions.EvolutionLevel.html" class="tsd-signature-type tsd-kind-type-alias">EvolutionLevel</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L807">src/data/pokemon-species.ts:807</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getSpeciesForLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Species<wbr/>For<wbr/>Level</span><a href="#getSpeciesForLevel" aria-label="Permalink" class="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="getSpeciesForLevel.getSpeciesForLevel-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Species<wbr/>For<wbr/>Level</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">level</span>, <span class="tsd-kind-parameter">allowEvolving</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">forTrainer</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">strength</span><span class="tsd-signature-symbol">?</span><s
2024-07-28 00:48:18 +01:00
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">formIndex</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>optional form index for pokemon with different forms</p>
2024-05-31 14:57:14 +01:00
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4><p>species id if no additional forms, index with formkey if a pokemon with a form</p>
2024-08-17 20:49:01 +01:00
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from <a href="data_pokemon_species.PokemonSpeciesForm.html">PokemonSpeciesForm</a>.<a href="data_pokemon_species.PokemonSpeciesForm.html#getVariantDataIndex">getVariantDataIndex</a></p><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L299">src/data/pokemon-species.ts:299</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="getWildSpeciesForLevel" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Wild<wbr/>Species<wbr/>For<wbr/>Level</span><a href="#getWildSpeciesForLevel" aria-label="Permalink" class="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="getWildSpeciesForLevel.getWildSpeciesForLevel-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">get<wbr/>Wild<wbr/>Species<wbr/>For<wbr/>Level</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">level</span>, <span class="tsd-kind-parameter">allowEvolving</span>, <span class="tsd-kind-parameter">isBoss</span>, <span class="tsd-kind-parameter">gameMode</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a><a href="#getWildSpeciesForLevel.getWildSpeciesForLevel-1" aria-label="Permalink" class="tsd-anchor-icon"><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">level</span>: <span class="tsd-signature-type">number</span></span></li><li><span><span class="tsd-kind-parameter">allowEvolving</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><span class="tsd-kind-parameter">isBoss</span>: <span class="tsd-signature-type">boolean</span></span></li><li><span><span class="tsd-kind-parameter">gameMode</span>: <a href="game_mode.GameMode.html" class="tsd-signature-type tsd-kind-class">GameMode</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../enums/enums_species.Species.html" class="tsd-signature-type tsd-kind-enum">Species</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L647">src/data/pokemon-species.ts:647</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="hasVariants" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>has<wbr/>Variants</span><a href="#hasVariants" aria-label="Permalink" class="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="hasVariants.hasVariants-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">has<wbr/>Variants</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#hasVariants.hasVariants-1" aria-label="Permalink" class="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">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/15584f8f1e5e61114f17a4da56cb6cfb34349f21/src/data/pokemon-species.ts#L848">src/data/pokemon-species.ts:848</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited"><a id="isCatchable" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>i