From 8c6f77f4c02e59fc1fc601f2a96f502f67261dcb Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 8 Mar 2024 15:52:33 -0500 Subject: [PATCH] Fix crash with Future Sight after catch --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index fe863ce78be..3d65597890e 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2021,7 +2021,7 @@ export class MoveEffectPhase extends PokemonPhase { const user = this.getUserPokemon(); const targets = this.getTargets(); - if (!user) + if (!user || !user.scene) return this.end(); const overridden = new Utils.BooleanHolder(false);