Deltarune script viewer

← back to main script listing

gml_Object_obj_sneo_tiny_ralsei_Collision_obj_regularbullet

(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.sprite_index == spr_spamtonneo_faceAttack_nose_bullet || other.sprite_index == spr_spamtonneo_faceAttack_wisp || other.sprite_index == spr_bullet_laser_square)
8
    hp -= 3;
9
else
10
    hp -= 10;
11
alarm[0]
12
snd_play(snd_hurt1);