mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-07 17:02:16 +02:00
Moved sprite below name
This commit is contained in:
parent
110fd2f0a1
commit
74ae17ac6f
@ -292,6 +292,13 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
|
|||||||
starterSelectBg.setOrigin(0, 0);
|
starterSelectBg.setOrigin(0, 0);
|
||||||
this.starterSelectContainer.add(starterSelectBg);
|
this.starterSelectContainer.add(starterSelectBg);
|
||||||
|
|
||||||
|
this.pokemonSprite = globalScene.add.sprite(53, 63, "pkmn__sub");
|
||||||
|
this.pokemonSprite.setPipeline(globalScene.spritePipeline, {
|
||||||
|
tone: [0.0, 0.0, 0.0, 0.0],
|
||||||
|
ignoreTimeTint: true,
|
||||||
|
});
|
||||||
|
this.starterSelectContainer.add(this.pokemonSprite);
|
||||||
|
|
||||||
this.shinyOverlay = globalScene.add.image(6, 6, "summary_overlay_shiny");
|
this.shinyOverlay = globalScene.add.image(6, 6, "summary_overlay_shiny");
|
||||||
this.shinyOverlay.setOrigin(0, 0);
|
this.shinyOverlay.setOrigin(0, 0);
|
||||||
this.shinyOverlay.setVisible(false);
|
this.shinyOverlay.setVisible(false);
|
||||||
@ -343,13 +350,6 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
|
|||||||
|
|
||||||
this.starterSelectContainer.add(starterBoxContainer);
|
this.starterSelectContainer.add(starterBoxContainer);
|
||||||
|
|
||||||
this.pokemonSprite = globalScene.add.sprite(53, 63, "pkmn__sub");
|
|
||||||
this.pokemonSprite.setPipeline(globalScene.spritePipeline, {
|
|
||||||
tone: [0.0, 0.0, 0.0, 0.0],
|
|
||||||
ignoreTimeTint: true,
|
|
||||||
});
|
|
||||||
this.starterSelectContainer.add(this.pokemonSprite);
|
|
||||||
|
|
||||||
this.type1Icon = globalScene.add.sprite(8, 98, getLocalizedSpriteKey("types"));
|
this.type1Icon = globalScene.add.sprite(8, 98, getLocalizedSpriteKey("types"));
|
||||||
this.type1Icon.setScale(0.5);
|
this.type1Icon.setScale(0.5);
|
||||||
this.type1Icon.setOrigin(0, 0);
|
this.type1Icon.setOrigin(0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user