Hi, I've been looking to change the shiny odds in Pokeemerald. I found this line in \include\contstants\pokemon.h :
#define SHINY_ODDS 8 // Actual probability is SHINY_ODDS/65536
However, there are a bunch of other files (mainly in \src) that contain strings/references to a Pokemon being shiny...