Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_o_coaster_jama_Other_11

(view raw script w/o annotations or w/e)
1
for (i = 0; i < 4; i++)
2
    particle = instance_create(x + random(40), y - 8 - random(50), obj_berdlyparticle);
3
if (bigcar == 1)
4
{
5
    image_index = 1;
6
    bigcarhp -= 1;
7
    hspeed = 6;
8
    x += 8;
9
    if (bigcarhp <= 0)
10
    {
11
        instance_create(x + 20, y - 40, o_coastersmoke);
12
        instance_create(x - 20, y - 40, o_coastersmoke);
13
        instance_create(x + 60, y - 40, o_coastersmoke);
14
        instance_destroy();
15
    }
16
}
17
if (bigcar == 0)
18
{
19
    instance_create(x + 20, y - 40, o_coastersmoke);
20
    instance_destroy();
21
}