Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_darkshape_greenblob_Alarm_7

(view raw script w/o annotations or w/e)
1
repeat (5 + irandom(5))
2
{
3
    with (instance_create_depth(x + random_range(-12, 12), y + random_range(-12, 12), depth + 2, obj_particle_generic))
4
    {
5
        image_blend = c_white;
6
        direction = irandom(360);
7
        speed = 4 + random(6);
8
        acceleration_type = 1;
9
        shrink_rate = 0.05 + random(0.05);
10
        acceleration_rate = 0.9 - random(0.1);
11
    }
12
}
13
snd_play_pitch(snd_hurt1_bc, 0.5);
14
prime_me();