I have done some searching around the forums and have not been able to come up with anything useful. I am playing Pokemon Soul Silver on Desmume and I am trying to find the memory address that holds the shiny flag for the pokemon in the first slot of the party. If someone could point me in the right direction, I would greatly appreciate it.
For some context, I am going to make a lua script that gets a "gift pokemon" and checks to see if it is shiny, if not, load savestate and repeats.