[bug][ui] Fix eternatus candy count and display hatched egg count (#2761)
* Display eternatus eggs * Trigger Build
This commit is contained in:
parent
13b23289d1
commit
b16bd89f17
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue