What factors are there in the game that will only work if your ID number is a certain number?
The only ones I know of are:
1. Platinum: Skull Fossils are only findable in the Underground if your ID# is even(?) and Armor Fossils are only findable if your ID# is odd(?). I may have even/odd switched on this.
2. Emerald: Different people appear in the Mauville City Pokemon Center and will do different things depending on your ID#. A girl east of Fortree City will give you a different berry depending on your ID#. This may apply to R/S too, I'm not sure.
What other factors are there?
Note that I'm not referring to things like the Lottery, shiny Pokemon, etc. since those can happen regardless of what your ID# is.
(If any factors like this exist for RBYGSC, I'd like to know also. However, I'm pretty sure there aren't any.)