[QoL] Move up form text when candies and hatched eggs are hidden (#2359)

This commit is contained in:
ReneGV 2024-06-17 21:41:29 -06:00 committed by GitHub
parent 026c048359
commit b64e5dce1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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