Thanks! I added the variable for invincibility frames (and checkpoints) but forgot to use them in the code. XD
Can you tell me more about the graphical glitches?
Enemies don't shoot bullets or appear lol.