She/Her
New York
Seen 5 Days Ago
Posted 1 Week Ago
116 posts
2.2 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 :)

Lunos

Random Uruguayan User

Male
Montevideo (Uruguay)
Seen 7 Hours Ago
Posted 7 Hours Ago
2,889 posts
13.3 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 :)
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/showthread.php?p=10203404#post10203404
https://github.com/ghoulslash/pokeemerald/commit/9a628c561582f9c70a83d1cd52c20525bf26c6b1
She/Her
New York
Seen 5 Days Ago
Posted 1 Week Ago
116 posts
2.2 Years
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.