• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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

  • 36
    Posts
    8
    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
     
  • 36
    Posts
    8
    Years
    • Seen May 22, 2021
    I realize i post at the wrong place, but if someone can help here that will be good too. :)
     
    Back
    Top