mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-30 02:36:11 +00:00
[QoL] Move up form text when candies and hatched eggs are hidden (#2359)
This commit is contained in:
parent
026c048359
commit
b64e5dce1c
@ -1975,6 +1975,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));
|
||||||
|
this.pokemonFormText.setY(25);
|
||||||
} else if (species.speciesId === Species.ETERNATUS) {
|
} else if (species.speciesId === Species.ETERNATUS) {
|
||||||
this.pokemonHatchedIcon.setVisible(false);
|
this.pokemonHatchedIcon.setVisible(false);
|
||||||
this.pokemonHatchedCountText.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.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
Block a user