if (image_index == 1) { image_index = 0 alarm[0] = 3 exit } if (image_index == 0) { image_index = 1 alarm[0] = (5 + random(200)) exit }