Also, does this script follow the Japanese slot machine style of the games, or is it entirely a script from scratch?
Because the reels slip in the actual games, and I can't find any code in your pseudocode that accounts for these slipping reels.
The original script was from scratch, and I heavily modified it. There was no reel slipping in the original, so I didn't even think to put it in. I'm not to keen on how to implement it, but if I get some time I'll see if I can do something like that.