I only refer to two globals that can be created anywhere, and said the rest would have to be changed. Ah well, I thought I said some things would have to be changed, but I guess I could upload a copy of my game with some things stripped. I was just being lazy. I'll update my main post.
I was thinking about uploading it originally, but I didn't want to take the time to remove all of my stuff that was already in there for my main game. Well, since just posting one script isn't enough, you changed my mind to upload it after removing lots of stuff.
I would also like to reiterate that the script is not 100% done for my own uses, but it does work fine. You may have to tweak the values of the "boxes" a bit, since they seem to be a little smaller than anticipated, but still work. I guess I was lazy when it came to that too.
Woo, look at me, I'm such a lazy person.