Undertale script viewer

← back to main script listing

gml_Object_obj_flowey_master_Alarm_9

related scripts: Alarm_10 • Alarm_11 • Alarm_4 • Alarm_5 • Alarm_7 • Alarm_9 • Create_0 • Draw_0 • KeyPress_16 • KeyPress_33 • KeyPress_36 • KeyPress_65 • KeyPress_66 • KeyPress_68 • KeyPress_70 • KeyPress_71 • KeyPress_73 • KeyPress_74 • KeyPress_75 • KeyPress_76 • KeyPress_77 • KeyPress_78 • KeyPress_79 • KeyPress_80 • KeyPress_81 • KeyPress_83 • KeyPress_86 • KeyPress_87 • Keyboard_72 • Keyboard_86 • Other_14 • Other_15 • Other_16 • Other_17 • Other_18 • Other_19 • Other_20 • Step_1

(view raw script w/o annotations or w/e)
1
snd_play(snd_hurt1_c);
2
global.my_hp = 0;
3
global.my_inv = 40;
4
instance_create(0, 0, obj_vsflowey_shaker);
5
obj_vsflowey_heart.move = 0;
6
obj_vsflowey_heart.alarm[5] = 5;
7
if (destroyer == 1)
8
    obj_vsflowey_heart.alarm[5] = 20;
9
if (destroyer > 30)
10
{
11
    global.my_hp = 1;
12
    obj_vsflowey_heart.move = 0;
13
    obj_vsflowey_heart.alarm[5] = -1;
14
}