mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 15:22:19 +02:00
Update pokemon-info-container.ts
This commit is contained in:
parent
dab99d551e
commit
5c1c0d1a21
@ -235,7 +235,7 @@ export default class PokemonInfoContainer extends Phaser.GameObjects.Container {
|
|||||||
this.pokemonGenderText.setVisible(false);
|
this.pokemonGenderText.setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pokemon.species.forms?.[pokemon.formIndex]?.formName && pokemon.species.forms?.[pokemon.formIndex]?.formName !== "Normal") {
|
if (pokemon.species.forms?.[pokemon.formIndex]?.formName) {
|
||||||
this.pokemonFormLabelText.setVisible(true);
|
this.pokemonFormLabelText.setVisible(true);
|
||||||
this.pokemonFormText.setVisible(true);
|
this.pokemonFormText.setVisible(true);
|
||||||
const newForm = BigInt(1 << pokemon.formIndex) * DexAttr.DEFAULT_FORM;
|
const newForm = BigInt(1 << pokemon.formIndex) * DexAttr.DEFAULT_FORM;
|
||||||
|
Loading…
Reference in New Issue
Block a user