Undertale script viewer

← back to main script listing

gml_Object_obj_purpleheart_Draw_0

(view raw script w/o annotations or w/e)
1
draw_set_color(c_purple);
2
if (type == 0)
3
{
4
    for (i = 0; i < yamt; i += 1)
5
        draw_line(xmid - xlen, yzero + (yspace * i) + yoff, xmid + xlen, yzero + (yspace * i) + yoff);
6
}
7
draw_sprite(sprite_index, image_index, x, y);