mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 15:22:19 +02:00
Make fight cursor tera icon while tera-ing
This commit is contained in:
parent
cefd92bee8
commit
f3a778eb93
@ -226,7 +226,9 @@ export default class FightUiHandler extends UiHandler implements InfoToggle {
|
||||
}
|
||||
|
||||
if (!this.cursorObj) {
|
||||
this.cursorObj = globalScene.add.image(0, 0, "cursor");
|
||||
const isTera = this.fromCommand === Command.TERA;
|
||||
this.cursorObj = globalScene.add.image(0, 0, isTera ? "icon_tera" : "cursor");
|
||||
this.cursorObj.setScale(isTera ? 0.7 : 1);
|
||||
ui.add(this.cursorObj);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user