I have boxes of perfect IV captured pokemon that were never edited in PkHex.I still have problems with the Perfect IV code. I hold R all the time and the wild Pokemon doesn't get Perfect IVs.
Is the code correct? Can someone confirm that it works? Or am I just still doing it wrong?
Basically, you need to be holding the key when the pokemon is generated. For the starters, it's between selecting the starter and the option to name them appearing; for wild pokemon hold before you touch them and let go when the battle start; for nests, hold it before you activate the nest and release when the battle starts.