mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-19 07:20:57 +00:00
Fix master ball not working properly
This commit is contained in:
parent
eedad7d678
commit
f029f450fe
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user