Undertale script viewer

← back to main script listing

gml_Object_obj_iceflag_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self_custom(0, 9999, 0, ystart + 40);
2
if (yoff > 1)
3
    y -= 1;
4
yoff -= 1;
5
if (x > (view_xview + view_wview[0]))
6
    instance_destroy();
7
if (x < (view_xview - 10))
8
    instance_destroy();
9
if (y > (view_yview + view_hview + 30))
10
    instance_destroy();
11
if (y < view_yview)
12
    instance_destroy();