mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Friendship count text adjustment
This commit is contained in:
parent
d358635bb1
commit
3b958a0df9
@ -430,7 +430,7 @@ export default class SummaryUiHandler extends UiHandler {
|
||||
this.friendshipShadow.on("pointerout", () => globalScene.ui.hideTooltip());
|
||||
}
|
||||
|
||||
this.friendshipText.setText(`${this.pokemon?.friendship || "0"} / 255`);
|
||||
this.friendshipText.setText(` ${this.pokemon?.friendship || "0"}/255`);
|
||||
|
||||
this.friendshipShadow.setCrop(0, 0, 16, 16 - 16 * ((this.pokemon?.friendship || 0) / 255));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user