• 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!
  • 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] Having trouble figuring out how to lower the max level

  • 1
    Posts
    2
    Years
    • Seen Sep 29, 2023
    Hello everyone! I'm a beginner to romhacking (though, not to gamedev and programming in general) and have one in mind I've wanted to make that I thought would be pretty simple. Problem is ... there is one core change I need to make for the idea, but despite hours of searching I just can't seem to find how to do it.

    How might one change the max level in FR? In my case, I'm trying to lower it, so extra addresses shouldn't be an issue (I would think?). Thanks.
     
    Hello everyone! I'm a beginner to romhacking (though, not to gamedev and programming in general) and have one in mind I've wanted to make that I thought would be pretty simple. Problem is ... there is one core change I need to make for the idea, but despite hours of searching I just can't seem to find how to do it.

    How might one change the max level in FR? In my case, I'm trying to lower it, so extra addresses shouldn't be an issue (I would think?). Thanks.

    The max level appears in several locations in the rom. You would have to find and change all instances of it.

    Luckily in the decomp MAX_LEVEL is defined as a constant. If you build your hack by editing the decomp instead of binary hacking you should be able to lower the max level by simply changing the line I linked in a text editor. That's likely going to be the easiest way to change it.
     
    Back
    Top