Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_confetti_popper_Step_0

(view raw script w/o annotations or w/e)
1
for (i = 0; i < count; i++)
2
{
3
    d = instance_create(x, y, obj_confetti_overworld);
4
    d.direction = random_range(direction - 20, direction + 20);
5
    d.height = height;
6
    d.miny = miny;
7
    d.maxy = maxy;
8
    d.topdrop = topdrop;
9
    d.bottomdrop = bottomdrop;
10
    d.maxDepth = maxDepth;
11
    d.fade = fade;
12
    if (start_depth != -1)
13
        d.start_depth = start_depth;
14
}
15
instance_destroy();