I've had a problem regarding this code, and everywhere I look, people haven't had the kind of troubles I do with it.
The Pokémon appears correctly and the level is correct as well. It works well with the Shiny Encounters code, too. But the thing is, when I enter a certain nature, the captured Pokémon bestows a Nature completely at random and unrelated each time, not once nearing the choice Nature I set it to be.
Is this some sort of error in code? Would it possibly be my fault? I'm performing the exact functions needed for it to work (L Button after entering the National Dex number, R Button after entering the desired level, Select Button after entering the Nature), and I double check my actions every time.
In closure, I hope it's nothing idiotic that I forgot to check. And I hope I get a helpful, nice answer soon. Thank you for your time.