image_speed = 0 if (global.sworks_flag[8] == 2) image_index = image_number - 1