All of gen 3 uses the system I'm describing. firered, leafgreen, ruby, sapphire and emerald all have trainers with this system - with 0 to 25 EVs in all stats, and 0 to 25 IVs in all stats (depending on their difficulty). I assume gen 4 is on the same system too, but I'm no expert on that gen.