• 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!
  • 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] Beast Ball Script

  • 15
    Posts
    8
    Years
    • Seen May 6, 2021
    Im trying to create a beast ball script and i was wondering can edit the script to a specific pokemon instead of the general type like this net ball. is it possible to change the script from bug and water types having a higher catch rate to idk buzzwole having a higher catch rate than other pokemon?

    Code:
    BallHandlers::ModifyCatchRate.add(:NETBALL,proc{|ball,catchRate,battle,battler|
       catchRate*=3 if battler.pbHasType?(:BUG) || battler.pbHasType?(:WATER)
       next catchRate
    })
     
    So you want the catchrate to depending on the exact Pokémon species, right? The Moonball works in this way, as it lists all pokémon who evolves with a moonstone.

    Spoiler:

    So for Buzzwole it would look like this:

    Code:
    isConst?(battler.species,PBSpecies,:BUZZWOLE)
     
    Back
    Top