Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_tiny_susie_Collision_obj_sneo_heartattack

(view raw script w/o annotations or w/e)
1
if (frametype == 0)
2
{
3
    frametype = 1;
4
    other.heart_health -= 1;
5
}
6
else if (frametype == 1)
7
{
8
    frametype = 0;
9
    hp -= 10;
10
alarm[0]
11
    if (!audio_is_playing(snd_hurt1))
12
        snd_play(snd_hurt1);
13
}