Basically I am making a top down shooter and have set it so that after 40 points the boss will spawn. The variable also need sto be 0 (0 meaning boss not on screen) so that 2 wont spawn at once. For some reason, when i come back form a game over screen or the title screen (basically any other layout) the boss will spawn, despite score reset to 0 and the variable also being 0. can someone help?