Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_phonecall_sneohead_Step_0

(view raw script w/o annotations or w/e)
1
if (global.turntimer < 3)
2
    instance_destroy();
3
image_angle = direction - 180;
4
timer++;
5
if (timer >= (4 + irandom(1)))
6
{
7
    instance_destroy();
8
    fx = instance_create(x, y, obj_pipis_destroy_fx);
9
    fx.image_xscale = 2;
10
    fx.image_yscale = 2;
11
    fx.image_speed = 1;
12
    snd_play(snd_rocket_sneo);
13
    snd_volume(snd_rocket_sneo, 0.1, 0);
14
    obj_spamton_neo_enemy.partx[5] = random(8);
15
    obj_spamton_neo_enemy.party[5] = random(8);
16
}