It won't matter, really. It's not that on your 8,192nd encounter you will find a Shiny Pokemon. What the game does is each time you encounter a Pokemon, the game does something like picking something out of a hat. There are 8,000 pieces of paper in there, and one of them is shiny. If the game picks the shiny paper out, your next encounter will be shiny.
So, the game isn't recording anything. It's doing something like that.
Hope I helped. :)