if (state == 0) { instance_create(x, y, oLightRay) alarm[0] = 2 }