Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_chefs_firewhip_Step_0

(view raw script w/o annotations or w/e)
1
t++;
2
if (instance_exists(fixate))
3
{
4
    t = fixate.t;
5
    f = fixate.f;
6
    a = fixate.a;
7
}
8
x = xstart + (cos(t * f) * a);
9
for (var i = 0; i < length; i++)
10
{
11
    with (flame[i])
12
    {
13
        var _t = other.t - (i * other.delay);
14
        x = xstart + (cos(_t * other.f) * other.a);
15
        y = ystart;
16
        speed = 0;
17
    }
18
}