From 7a69808f80bf44e4662532d3d421868c02ae0dc2 Mon Sep 17 00:00:00 2001 From: Frutescens Date: Tue, 2 Jul 2024 21:09:14 -0700 Subject: [PATCH] Fixed phase order --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 4b98944c603..76d66f3a2d0 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -4891,7 +4891,6 @@ export class AttemptCapturePhase extends PokemonPhase { } }, onComplete: () => { - this.scene.unshiftPhase(new VictoryPhase(this.scene, this.battlerIndex)); this.scene.gameData.setPokemonCaught(pokemon); this.catch(); } @@ -4960,6 +4959,7 @@ export class AttemptCapturePhase extends PokemonPhase { this.scene.ui.showText(i18next.t("battle:pokemonCaught", { pokemonName: pokemon.name }), null, () => { const end = () => { + this.scene.unshiftPhase(new VictoryPhase(this.scene, this.battlerIndex)); this.scene.pokemonInfoContainer.hide(); this.removePb(); this.end();