import { globalScene } from "#app/global-scene"; import type { BattlerIndex } from "#app/battle"; import { PokemonPhase } from "./pokemon-phase"; export class ShinySparklePhase extends PokemonPhase { constructor(battlerIndex: BattlerIndex) { super(battlerIndex); } start() { super.start(); this.getPokemon().sparkle(); globalScene.time.delayedCall(1000, () => this.end()); } }