diff --git a/public/images/ui/icon_tera_dark.png b/public/images/ui/icon_tera_dark.png new file mode 100644 index 00000000000..f2e77046137 Binary files /dev/null and b/public/images/ui/icon_tera_dark.png differ diff --git a/public/images/ui/legacy/icon_tera_dark.png b/public/images/ui/legacy/icon_tera_dark.png new file mode 100644 index 00000000000..f2e77046137 Binary files /dev/null and b/public/images/ui/legacy/icon_tera_dark.png differ diff --git a/src/loading-scene.ts b/src/loading-scene.ts index fc685fc2332..e2dfde0644c 100644 --- a/src/loading-scene.ts +++ b/src/loading-scene.ts @@ -101,6 +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("type_tera", "ui"); this.loadAtlas("type_bgs", "ui"); this.loadAtlas("button_tera", "ui"); diff --git a/src/ui/fight-ui-handler.ts b/src/ui/fight-ui-handler.ts index 14d2faf1525..73b2a1ac155 100644 --- a/src/ui/fight-ui-handler.ts +++ b/src/ui/fight-ui-handler.ts @@ -15,6 +15,7 @@ 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"; @@ -227,7 +228,11 @@ export default class FightUiHandler extends UiHandler implements InfoToggle { if (!this.cursorObj) { const isTera = this.fromCommand === Command.TERA; - this.cursorObj = globalScene.add.image(0, 0, isTera ? "icon_tera" : "cursor"); + 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.setScale(isTera ? 0.7 : 1); ui.add(this.cursorObj); }