depth = -y + 5;
if (global.dunes_flag[24] != 0)
image_index = 1;
if (global.sworks_flag[31] != 0)
image_index = 2;
if (global.geno_complete[3])
sprite_index = spr_dunes_30_sapling_withered;