• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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✓] Set a Pokemon's nature via special/macro

  • 118
    Posts
    5
    Years
    Hi, I was wondering if anyone knows how to set a Pokemon's nature via special/macro. As far as I can tell, a Pokemon's nature is derived from their personality value, so there would have to be a way to edit this value so everything stays the same except the nature. According to Bulbapedia, the way nature is determined is essentially nature_array[personality_value%25] in pseudocode. If anyone has any ideas, please let me know :)
     
    Last edited:
    Hi, I was wondering if anyone knows how to set a Pokemon's nature via special/macro. As far as I can tell, a Pokemon's nature is derived from their personality value, so there would have to be a way to edit this value so everything stays the same except the nature. According to Bulbapedia, the way nature is determined is essentially nature_array[personality_value%25] in pseudocode. If anyone has any ideas, please let me know :)
    Ghoulslash made a custom givemon that, among other things, lets you set the nature of a Pokémon created with it. I suggest you to check out its code.
    https://www.pokecommunity.com/posts/10203404
    https://github.com/ghoulslash/pokeemerald/commit/9a628c561582f9c70a83d1cd52c20525bf26c6b1
     
    Thanks! I knew about this macro, but I didn't know about the github with all the source code. That helped a lot! Right now, I think I'm on the right track (I keep making bad eggs, though, which is worrying), but if I can't figure it out, I'll simply hijack Ghoulslash's nature mint hack that they uploaded.
     
    Last edited:
    Back
    Top