depth = (-y)
image_speed = 0
if (global.dunes_flag[2] || global.party_member != -4)
image_index = image_number - 1