mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Added MOVE_LABEL TextStyle
This commit is contained in:
parent
f3cf73aabc
commit
f8a3f8c505
@ -93,7 +93,7 @@ export default class PokemonHatchInfoContainer extends PokemonInfoContainer {
|
|||||||
const eggMoveBg = globalScene.add.nineslice(70, 0, "type_bgs", "unknown", 92, 14, 2, 2, 2, 2);
|
const eggMoveBg = globalScene.add.nineslice(70, 0, "type_bgs", "unknown", 92, 14, 2, 2, 2, 2);
|
||||||
eggMoveBg.setOrigin(1, 0);
|
eggMoveBg.setOrigin(1, 0);
|
||||||
|
|
||||||
const eggMoveLabel = addTextObject(70 - eggMoveBg.width / 2, 0, "???", TextStyle.PARTY);
|
const eggMoveLabel = addTextObject(70 - eggMoveBg.width / 2, 0, "???", TextStyle.MOVE_LABEL);
|
||||||
eggMoveLabel.setOrigin(0.5, 0);
|
eggMoveLabel.setOrigin(0.5, 0);
|
||||||
|
|
||||||
this.pokemonEggMoveBgs.push(eggMoveBg);
|
this.pokemonEggMoveBgs.push(eggMoveBg);
|
||||||
|
Loading…
Reference in New Issue
Block a user