Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_phonecall_pipis_Step_0

(view raw script w/o annotations or w/e)
1
timer++;
2
if (timer == 5)
3
{
4
    instance_destroy();
5
    fx = instance_create(x, y, obj_pipis_destroy_fx);
6
    fx.image_xscale = 2;
7
    fx.image_yscale = 2;
8
    obj_spamton_neo_enemy.partsprite[5] = spr_sneo_head_joke;
9
    repeat (3)
10
    {
11
        fx = instance_create(x, y, obj_pipis_egg_bullet_piece);
12
        fx.image_index = random(3);
13
        fx.image_xscale = 2;
14
        fx.image_yscale = 2;
15
        fx.direction = 45 + random(90);
16
    }
17
    var a = random(45);
18
    repeat (8)
19
    {
20
        part = instance_create(x, y, obj_sneo_phonecall_sneohead);
21
        part.direction = a + random(15);
22
        part.speed = random(8);
23
        part.x += lengthdir_x(random(25), a);
24
        part.y += lengthdir_y(random(25), a);
25
        a += 45;
26
    }
27
}