mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
Update src/ui/summary-ui-handler.ts
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
This commit is contained in:
parent
a648753e9c
commit
f22de2ce9a
@ -378,7 +378,7 @@ export default class SummaryUiHandler extends UiHandler {
|
||||
this.friendshipShadow.on("pointerout", () => (this.scene as BattleScene).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