i finally fixed this... it turned out i could've made it that way all along, but i put a line of code in the wrong place when i was first trying it. sorry it took me so long to figure that out!
i shall replay the game for the experience good job for fixing the codes and good luck on your future games!