Immediately start postsummons

This commit is contained in:
Dean 2025-06-10 21:45:12 -07:00
parent 5bd182a15a
commit b98dc8fb73
2 changed files with 8 additions and 1 deletions

View File

@ -663,4 +663,11 @@ export class PhaseManager {
): boolean { ): boolean {
return this.appendToPhase(this.create(phase, ...args), targetPhase); return this.appendToPhase(this.create(phase, ...args), targetPhase);
} }
public startNewDynamicPhase<T extends PhaseString>(
phase: T,
...args: ConstructorParameters<PhaseConstructorMap[T]>
): void {
this.startDynamicPhase(this.create(phase, ...args));
}
} }

View File

@ -251,7 +251,7 @@ export class SwitchSummonPhase extends SummonPhase {
} }
queuePostSummon(): void { queuePostSummon(): void {
globalScene.phaseManager.pushNew("PostSummonPhase", this.getPokemon().getBattlerIndex()); globalScene.phaseManager.startNewDynamicPhase("PostSummonPhase", this.getPokemon().getBattlerIndex());
} }
/** /**