From f029f450fee89855f2410dc35eb7d2fb44a9c905 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sun, 7 Jan 2024 23:50:11 -0500 Subject: [PATCH] Fix master ball not working properly --- src/battle-phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-phases.ts b/src/battle-phases.ts index 395c4dd9f..a664f27ae 100644 --- a/src/battle-phases.ts +++ b/src/battle-phases.ts @@ -3070,7 +3070,7 @@ export class AttemptCapturePhase extends PokemonPhase { shakeCounter.stop(); this.failCatch(shakeCount); } else if (shakeCount++ < 3) { - if (pokemon.randSeedInt(65536) < y) + if (pokeballMultiplier === -1 || pokemon.randSeedInt(65536) < y) this.scene.playSound('pb_move'); else { shakeCounter.stop();