if light = 1 and global.ldmode = 1 //light = 2 with bosses; they can be hit in any form { exit; } if light = 0 and global.ldmode = 0 { exit; } life -= 1 score += 10 with (other) { instance_destroy() }