Add suggested changes to tera cursor

This commit is contained in:
Madmadness65 2025-02-27 15:34:24 -06:00
parent 3fe3a5ee7e
commit f5478e194d
5 changed files with 2 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

View File

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 B

View File

@ -101,7 +101,7 @@ export class LoadingScene extends SceneBase {
this.loadImage("icon_lock", "ui", "icon_lock.png");
this.loadImage("icon_stop", "ui", "icon_stop.png");
this.loadImage("icon_tera", "ui");
this.loadImage("icon_tera_dark", "ui");
this.loadImage("cursor_tera", "ui");
this.loadImage("type_tera", "ui");
this.loadAtlas("type_bgs", "ui");
this.loadAtlas("button_tera", "ui");

View File

@ -15,7 +15,6 @@ import type Pokemon from "#app/field/pokemon";
import type { CommandPhase } from "#app/phases/command-phase";
import MoveInfoOverlay from "./move-info-overlay";
import { BattleType } from "#app/battle";
import { UiTheme } from "#enums/ui-theme";
export default class FightUiHandler extends UiHandler implements InfoToggle {
public static readonly MOVES_CONTAINER_NAME = "moves";
@ -228,11 +227,7 @@ export default class FightUiHandler extends UiHandler implements InfoToggle {
if (!this.cursorObj) {
const isTera = this.fromCommand === Command.TERA;
if (globalScene.uiTheme === UiTheme.LEGACY) {
this.cursorObj = globalScene.add.image(0, 0, isTera ? "icon_tera_dark" : "cursor");
} else {
this.cursorObj = globalScene.add.image(0, 0, isTera ? "icon_tera" : "cursor");
}
this.cursorObj = globalScene.add.image(0, 0, isTera ? "cursor_tera" : "cursor");
this.cursorObj.setScale(isTera ? 0.7 : 1);
ui.add(this.cursorObj);
}