I would have thought gen 3 as well, seeing it had lots of glitches especially with soft resetting and shinies and RNG
There is some stuff about so called 'shiny files' in Emerald related to soft resetting, but I don't know if that's what you're after...