It took a couple of days but I think I have the game working with win detection. It was really stubborn for some reason. During the madness, my computer crapped out on me, so I had to force a shutdown and turn it back on again. After I turned it back on again, I decided I should really get some sleep.
I awoke at about 9 a.m. I was really hot. Whenever the furnace is on, it gets really hot in my room and not elsewhere in the entire house. It's stupid, but oh well. So I went back to programming in the hotness. A few hours later, I think I have it now.
One thing I must note is apparently I didn't have enough space in the bank I thought I had, so in order for this to work, I had to remove the words "CEDAR GAMES" from the intro. I thought "Which would be better, a working game without CEDAR GAMES showing or not?"