if global.ammoSync image_index = 0 else image_index = 1