There has been a lot of jank and glitches with game states in this game all-around. It looks like you're hard-coding a lot of things to check for conditions independently where a state machine/observer would be proper. Just something to keep in mind if you're starting another project after this one.