Thread: Development: Pokemon above level 100
View Single Post
Old October 16th, 2011 (11:28 PM). Edited October 16th, 2011 by Jambo51.
Jambo51's Avatar
Jambo51 Jambo51 is offline
Glory To Arstotzka
Join Date: Jun 2009
Gender: Male
Nature: Quiet
Posts: 732
In FireRed, there is a stat decrypter at 0x3FBE8, while there is a stat encrypter around 0x41000. I can't remember the exact location off the top of my head.

These use indices in order to decrypt/decrypt the wanted piece of data from the Party data. You pass it the Pokemon's party location in R0, the index in R1, and occassionally some other piece of data in R2. For a list of indices, see HackMew's post in "Modernizing the Fire Red field engine". More specifically, the post which contains his code for the field effects of the Magma Body ability.

Changing the level would indeed mean that updating the checksum would be required IIRC. However, it should change it to a bad EGG rather than a missingno.
Hey guys, please check out my recreations of the gen 1 and 2 music on my custom engine at my SoundCloud! - Here!
Reply With Quote