Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_dunes_30_sapling_Create_0

(view raw script w/o annotations or w/e)
1
depth = -y + 5;
2
if (global.dunes_flag[24] != 0)
3
    image_index = 1;
4
if (global.sworks_flag[31] != 0)
5
    image_index = 2;
6
if (global.geno_complete[3])
7
    sprite_index = spr_dunes_30_sapling_withered;