alarm[0] = 8 x += facing if (x > 512) x = 0 if (x < -512) x = 0