The codes were independent, because I didn't know how to apply gametime to the other.

But I've totally re-vamped the whole thing and taken out some of my sloppiness. I posted for help a bit prematurely, but I'm sure I'll have other questions eventually.