pokerogue/src/phases/summon-missing-phase.ts
NightKev 8cf1b9f766
[Dev] Enable Biome import sorting (#6052)
* [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
2025-07-13 00:21:25 -07:00

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());
}
}