Fix master ball not working properly

This commit is contained in:
Flashfyre committed 2024-01-07 23:50:11 -05:00
1 parent eedad7d678
commit f029f450fe
1 file changed
+1 -1
+1 -1
View File
@@ -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();