Deltarune (Chapter 2) script viewer
← back to main script listing
gml_Object_obj_sneo_tiny_ralsei_Collision_obj_sneo_mmx_spreadshot
(view raw script w/o annotations or w/e)
|
1
|
if (active == 0)
|
|
2
|
exit;
|
|
3
|
with (other)
|
|
4
|
instance_destroy();
|
|
5
|
if (alarm[0] > 0)
|
|
6
|
exit;
|
|
7
|
if (other.active == 0)
|
|
8
|
exit;
|
|
9
|
hp -= 10;
|
|
10
|
alarm[0]
|
|
11
|
snd_play(snd_hurt1);
|