• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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.

[Scripting Question] Is there a script to catch a Pokémon after its fainted?

  • 31
    Posts
    6
    Years
    • Seen Jan 25, 2023
    Hello just wondering if there is a script somewhere that let you have a chance at capturing a Pokémon after its fainted.
    thank you
     
    Such a script exists in the Dynamax plugin. Look for the function named:
    Code:
      def pbCatchRaidPokemon(target)
    in the first script. It is called in the function pbFaint and it should be easy to adapt.
     
    Last edited:
    That would be very useful; especially if you're battling a legendary. Rather than keeping its HP in the red zone and hoping your 20th Ultra Ball would succeed, you could defeat it outright and make as many capture attempts as the number of Poké Balls in your possession. Of course, the capture would still not be certain, but the probability should be a little better—the FNT condition would have a status modifier of 3 or 3.5 as opposed to SLP and FRZ which is 2 or 2.5. Some people would recommend limiting this mechanic to certain species (i.e. legendaries) as it might break the game.
     
    Back
    Top