• 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!
  • Akari, Selene, Mint, Solana - 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.

Trainer Level Scaling

Dylanrockin

That guy
  • 275
    Posts
    14
    Years
    • Seen Jun 9, 2016
    What would I have to edit in order to have the trainers scale in level with my level? Because I'm trying to make it so that if you try and over-level the enemies will be just as hard if not harder. But I also would like to make it so that certain trainers are capped, like say with this range: 25-60, what I mean by that is, if you are above level 25, and below 60, that is the range that trainer can go when he/she is scaling in level with you.
     
    well, you need to replace the level of the trainer's Pokemon with a variable.
    That variable should contain the average level of your Pokemon. Before you enter the battle with a trainer have a script check the value of your team's average, if it's too low/high, you can change it to a more fitting value.
     
    well, you need to replace the level of the trainer's Pokemon with a variable.
    That variable should contain the average level of your Pokemon. Before you enter the battle with a trainer have a script check the value of your team's average, if it's too low/high, you can change it to a more fitting value.

    I see, so I would do that in an event or in the script editor?
     
    This kind of thing requires scripting. There are several ways to go about what you want to do, so you'll need to know exactly that before proceeding. Each way revolves around using the method pbBalancedLevel, though.
     
    Back
    Top