Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_purplegrass_Draw_0

(view raw script w/o annotations or w/e)
1
index += 0.2;
2
for (i = 0; i < length; i += 1)
3
{
4
    for (j = 0; j < height; j += 1)
5
        draw_sprite(sprite_index, index + (x / 320) + (i * 0.125) + (j * 0.125) + (y / 320), x + (40 * i), y + (40 * j));
6
}