mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-11 18:55:53 +00:00
17 lines
427 B
TypeScript
17 lines
427 B
TypeScript
import BattleScene from "#app/battle-scene.js";
|
|
import { BattlerIndex } from "#app/battle.js";
|
|
import { PokemonPhase } from "./pokemon-phase";
|
|
|
|
export class ShinySparklePhase extends PokemonPhase {
|
|
constructor(scene: BattleScene, battlerIndex: BattlerIndex) {
|
|
super(scene, battlerIndex);
|
|
}
|
|
|
|
start() {
|
|
super.start();
|
|
|
|
this.getPokemon().sparkle();
|
|
this.scene.time.delayedCall(1000, () => this.end());
|
|
}
|
|
}
|