diff --git a/src/phases/turn-start-phase.ts b/src/phases/turn-start-phase.ts index 27f8322700c..32f23a476c7 100644 --- a/src/phases/turn-start-phase.ts +++ b/src/phases/turn-start-phase.ts @@ -221,6 +221,15 @@ export class TurnStartPhase extends FieldPhase { this.scene.pushPhase(new BerryPhase(this.scene)); this.scene.pushPhase(new TurnEndPhase(this.scene)); + this.scene.arenaFlyout.updateFieldText(); + + if (LoggerTools.Actions.length > 1 && !this.scene.currentBattle.double) { + LoggerTools.Actions.pop() // If this is a single battle, but we somehow have two actions, delete the second + } + if (LoggerTools.Actions.length > 1 && (LoggerTools.Actions[0] == "" || LoggerTools.Actions[0] == undefined || LoggerTools.Actions[0] == null)) + LoggerTools.Actions.shift() // If the left slot isn't doing anything, delete its entry + LoggerTools.logActions(this.scene, this.scene.currentBattle.waveIndex, LoggerTools.Actions.join(" & ")) + /** * this.end() will call shiftPhase(), which dumps everything from PrependQueue (aka everything that is unshifted()) to the front * of the queue and dequeues to start the next phase diff --git a/src/ui/arena-flyout.ts b/src/ui/arena-flyout.ts index 7763426ca6c..9fd4d4ba09f 100644 --- a/src/ui/arena-flyout.ts +++ b/src/ui/arena-flyout.ts @@ -11,8 +11,7 @@ import TimeOfDayWidget from "./time-of-day-widget"; import * as Utils from "../utils"; import i18next, {ParseKeys} from "i18next"; import { getNatureDecrease, getNatureIncrease, getNatureName } from "#app/data/nature.js"; -import * as LoggerTools from "../logger" -import { BattleEndPhase } from "#app/phases.js"; +import * as LoggerTools from "../logger"; import { Gender } from "#app/data/gender.js"; import { getBiomeName } from "#app/data/biomes.js"; import { getLuckString } from "#app/modifier/modifier-type.js";