Fix master ball not working properly

pull/14/head
Flashfyre 2024-01-07 23:50:11 -05:00
parent eedad7d678
commit f029f450fe
1 changed files with 1 additions and 1 deletions

View File

@ -3070,7 +3070,7 @@ export class AttemptCapturePhase extends PokemonPhase {
shakeCounter.stop(); shakeCounter.stop();
this.failCatch(shakeCount); this.failCatch(shakeCount);
} else if (shakeCount++ < 3) { } else if (shakeCount++ < 3) {
if (pokemon.randSeedInt(65536) < y) if (pokeballMultiplier === -1 || pokemon.randSeedInt(65536) < y)
this.scene.playSound('pb_move'); this.scene.playSound('pb_move');
else { else {
shakeCounter.stop(); shakeCounter.stop();