Ummm, nope, you got it right ^_^
Actually the habitat groups only appear in the FR/LG pokedex but they include the 3rd gen as well, that's why R/S/E are viable.
So a normal ultimate would be doing those games, and if you want 4th-6th gens you can but as I said, you'd have to check information in...