Undertale script viewer

← back to main script listing

gml_Object_obj_spiderstrand_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_alpha(0.5);
2
siner = x / 2;
3
full = (sin(siner / 4) * 127) + 127;
4
ofull = (cos(siner / 4) * 127) + 127;
5
col1 = make_color_rgb(full, full, full);
6
col2 = make_color_rgb(ofull, ofull, ofull);
7
draw_line_color(x + firstx, 0, x + secondx, 159, col1, col2);
8
draw_set_alpha(1);