pokerogue/src/phases/end-evolution-phase.ts
Sirz Benjie 408b66f913
[Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495)
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-03-09 14:13:25 -07:00

12 lines
286 B
TypeScript

import { globalScene } from "#app/global-scene";
import { Phase } from "#app/phase";
import { Mode } from "#app/ui/ui";
export class EndEvolutionPhase extends Phase {
start() {
super.start();
globalScene.ui.setModeForceTransition(Mode.MESSAGE).then(() => this.end());
}
}