• 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!
  • Cyndy, May, Hero (Conquest), or Wes - 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] Level Cap script?

Rinkoou

Awful-Pun Master
  • 54
    Posts
    8
    Years
    In the game I'm working on, I'm planning to add a mode where you will have a level cap depending on a variable that represents the level cap. Anybody know/have a script that I can use for this? Thanks!
     
    there's a script page called pbExperience.
    inside it, MAXLEVEL decides what the maximum level is. when you get exp you can't go over it.
    try replacing every "MAXLEVEL" with "$game_variables[7]" (replace 7 with your variable number). there may be other places you need to change.
     
    Back
    Top