Well, once you get a certain number in your generator code in Emerald, you can glitch it up for easy shinies. It is called the shiny number, and it is your best friend.
You must hit A right before the location bar drops down (You can only do this in Emerald, because D/P/Pt all have super-fast load times) and doing such scrambles the generator into one of your 200 Randomly Generated Numbers, and if one is shiny, BAM. 1/200 chance, same as a Chain of 40 with the pokeradar!