Make fight cursor tera icon while tera-ing

This commit is contained in:
Xavion3 2025-02-24 04:13:08 +11:00
parent cefd92bee8
commit f3a778eb93

View File

@ -226,7 +226,9 @@ export default class FightUiHandler extends UiHandler implements InfoToggle {
} }
if (!this.cursorObj) { 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); ui.add(this.cursorObj);
} }