Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_tiny_ralsei_Collision_obj_pipis_egg_bullet

(view raw script w/o annotations or w/e)
1
if (active == 0)
2
    exit;
3
with (other)
4
{
5
    snd_play_pitch(snd_bomb, 1.1 + random(0.2));
6
    instance_destroy();
7
    event_user(0);
8
}
9
if (alarm[0] > 0)
10
    exit;
11
hp -= 10;
12
alarm[0]
13
snd_play(snd_hurt1);