[bug][ui] Fix eternatus candy count and display hatched egg count (#2761)

* Display eternatus eggs

* Trigger Build
This commit is contained in:
ReneGV 2024-07-02 19:54:59 -06:00 committed by GitHub
parent 13b23289d1
commit b16bd89f17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -2077,9 +2077,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
this.pokemonHatchedIcon, this.pokemonHatchedIcon,
this.pokemonHatchedCountText this.pokemonHatchedCountText
].map(c => c.setVisible(false)); ].map(c => c.setVisible(false));
} else if (species.speciesId === Species.ETERNATUS) { this.pokemonFormText.setY(25);
this.pokemonHatchedIcon.setVisible(false);
this.pokemonHatchedCountText.setVisible(false);
} else { } else {
this.pokemonCaughtHatchedContainer.setY(25); this.pokemonCaughtHatchedContainer.setY(25);
this.pokemonShinyIcon.setY(117); this.pokemonShinyIcon.setY(117);
@ -2091,6 +2089,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
this.pokemonCandyCountText.setText(`x${this.scene.gameData.starterData[species.speciesId].candyCount}`); this.pokemonCandyCountText.setText(`x${this.scene.gameData.starterData[species.speciesId].candyCount}`);
this.pokemonCandyCountText.setVisible(true); this.pokemonCandyCountText.setVisible(true);
this.pokemonFormText.setVisible(true); this.pokemonFormText.setVisible(true);
this.pokemonFormText.setY(42);
this.pokemonHatchedIcon.setVisible(true); this.pokemonHatchedIcon.setVisible(true);
this.pokemonHatchedCountText.setVisible(true); this.pokemonHatchedCountText.setVisible(true);