• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Critical Capture question

  • 752
    Posts
    14
    Years
    • UK
    • Seen Dec 29, 2024
    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
    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
     
    From my experience, yes. This does happen in the unedited version of the game based off the times I did get a critical capture during testing. I think this got fixed in the most recent version, 16.2, but I'm not sure if it works properly or not, as I've never gotten a successful critical capture. They usually break out after the ball shakes for me.
     
    Back
    Top