if global.mapSync image_index = 0 else image_index = 1