I've modified the critical capture system so that it can be activated by switch, so when the switch is active a critical capture is guaranteed.
The code is modified as follows
Now the capture is working, the ball shakes once, the pokemon then gets released from the ball, and it shows the gotcha! pokemon was caught message
I don't know if it happens in an unedited version since i've never had it trigger
The code is modified as follows
Code:
if USECRITICALCAPTURE && pbRandom(256)<c
critical=true
shakes=4
elsif USECRITICALCAPTURE && $game_switches[CRITICAL_CAPTURE_SWITCH]
critical=true
shakes=4
else
shakes+=1 if pbRandom(65536)<y
shakes+=1 if pbRandom(65536)<y && shakes==1
shakes+=1 if pbRandom(65536)<y && shakes==2
shakes+=1 if pbRandom(65536)<y && shakes==3
end
Now the capture is working, the ball shakes once, the pokemon then gets released from the ball, and it shows the gotcha! pokemon was caught message
I don't know if it happens in an unedited version since i've never had it trigger