Undertale script viewer

← back to main script listing

gml_Object_obj_redpipev_Draw_0

(view raw script w/o annotations or w/e)
1
sn += 1;
2
draw_sprite(spr_redpipe_top, floor(sn / 4), x, y);
3
draw_sprite(spr_redpipe_bottom, floor(sn / 4), x, y + 16 + ((image_yscale - 1) * 19));
4
for (i = 0; i < image_yscale; i += 1)
5
    draw_sprite(spr_redpipe_middle, floor(sn / 4), x, y + 1 + (i * 19));