Deltarune (Chapter 5) script viewer

← back to main script listing

gml_GlobalScript_scr_rainbow_sparkles

(view raw script w/o annotations or w/e)
1
function 
scr_rainbow_sparkles
scr_rainbow_sparkles

function
scr_rainbow_sparkles(arg0, arg1 = 1, arg2 = 0, arg3 = 0, arg4 = -1)
{ with (instance_create_depth(0, 0, arg3, obj_sparkler)) { time = arg0; condense = arg2; rate = arg1; follow = other.id; fixedCol = arg4; } }
(arg0, arg1 = 1, arg2 = 0, arg3 = 0, arg4 = -1)
2
{
3
    with (instance_create_depth(0, 0, arg3, obj_sparkler))
4
    {
5
        time = arg0;
6
        condense = arg2;
7
        rate = arg1;
8
        follow = other.id;
9
        fixedCol = arg4;
10
    }
11
}