Undertale script viewer

← back to main script listing

gml_Object_obj_sansb_body_Other_12

related scripts: Alarm_5Alarm_6Alarm_7Alarm_8Create_0Draw_0Other_10Other_12 Other_20Other_21Other_22Other_23Step_0

(view raw script w/o annotations or w/e)
1
if (damageturn == 0)
2
{
3
    snd_stop(snd_hurt1);
4
    snd_play(snd_hurt1);
5
    global.hp -= 1;
6
    damageturn = 1;
7
}