mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-16 14:55:22 +01:00
* [Dev] Enable Biome import sorting Additional changes: - Implement import aliases - Convert default exports to named exports - Remove relative imports * Apply changes * Misc fixes * Merge cleanup
17 lines
538 B
TypeScript
17 lines
538 B
TypeScript
import { globalScene } from "#app/global-scene";
|
|
import { getPokemonNameWithAffix } from "#app/messages";
|
|
import { SummonPhase } from "#phases/summon-phase";
|
|
import i18next from "i18next";
|
|
|
|
export class SummonMissingPhase extends SummonPhase {
|
|
public readonly phaseName = "SummonMissingPhase";
|
|
preSummon(): void {
|
|
globalScene.ui.showText(
|
|
i18next.t("battle:sendOutPokemon", {
|
|
pokemonName: getPokemonNameWithAffix(this.getPokemon()),
|
|
}),
|
|
);
|
|
globalScene.time.delayedCall(250, () => this.summon());
|
|
}
|
|
}
|