if (bounceOffDoor == 1 && con == 1 && lifespan < 97 && invulnerable == 0) { if (con == 1) { con = 5; bouncethisframe = 1; } }