mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-06 16:17:33 +00:00
17 lines
350 B
TypeScript
17 lines
350 B
TypeScript
|
import BattleScene from "#app/battle-scene.js";
|
||
|
import { Phase } from "#app/phase.js";
|
||
|
import { Mode } from "#app/ui/ui.js";
|
||
|
|
||
|
export class EndEvolutionPhase extends Phase {
|
||
|
|
||
|
constructor(scene: BattleScene) {
|
||
|
super(scene);
|
||
|
}
|
||
|
|
||
|
start() {
|
||
|
super.start();
|
||
|
|
||
|
this.scene.ui.setModeForceTransition(Mode.MESSAGE).then(() => this.end());
|
||
|
}
|
||
|
}
|