• 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.

[Script✓] Levelcheck script need help

  • 34
    Posts
    9
    Years
    • Seen May 22, 2021
    Hi, as the title says, how do I level check the script without using any switch? (I am intending to use a conditional branch for pbHasLevel? (xx) )

    I tried to use this script but it doesnt work. Am i doing somthing wrong? I also hope that I post this ques in the right thread...

    def pbHasLevel?(level)
    for i in 0...$Trainer.party.length
    return true if $Trainer.party.level >=level
    end
    return false
    end
     
    I realize i post at the wrong place, but if someone can help here that will be good too. :)
     
    Back
    Top