From 2f46743a6bb7627c9f8859cf89ee3d3be61f1c10 Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Sat, 19 Apr 2025 09:52:19 -0500 Subject: [PATCH] Replace reference to Mode with UiMode and battleType with BattleStyle --- test/ui/type-hints.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ui/type-hints.test.ts b/test/ui/type-hints.test.ts index 06a7060f059..2051af76754 100644 --- a/test/ui/type-hints.test.ts +++ b/test/ui/type-hints.test.ts @@ -92,7 +92,7 @@ describe("UI - Type Hints", () => { .enemySpecies(Species.ABRA) .moveset([Moves.SPLASH, Moves.SHADOW_BALL, Moves.SOAK]) .enemyMoveset([Moves.SPLASH, Moves.TELEPORT]) - .battleType("double"); + .battleStyle("double"); await game.classicMode.startBattle([Species.MAGIKARP, Species.MAGIKARP]); game.move.select(Moves.SPLASH); @@ -103,14 +103,14 @@ describe("UI - Type Hints", () => { await game.forceEnemyMove(Moves.TELEPORT); await game.toNextTurn(); - game.onNextPrompt("CommandPhase", Mode.COMMAND, () => { + game.onNextPrompt("CommandPhase", UiMode.COMMAND, () => { const { ui } = game.scene; const handler = ui.getHandler(); handler.processInput(Button.ACTION); // select "Fight" game.phaseInterceptor.unlock(); }); - game.onNextPrompt("CommandPhase", Mode.FIGHT, () => { + game.onNextPrompt("CommandPhase", UiMode.FIGHT, () => { const { ui } = game.scene; const movesContainer = ui.getByName(FightUiHandler.MOVES_CONTAINER_NAME); const shadowBallText = movesContainer