Undertale script viewer

← back to main script listing

gml_Object_obj_flowey_master_Alarm_11

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
obj_floweybodyparent.knockfactor = knockfactor;
2
with (obj_floweybodyparent)
3
{
4
    if (object_index != obj_floweyx_tv)
5
    {
6
        image_blend = make_color_rgb(255, 255 - (knockfactor * 5), 255 - (knockfactor * 5));
7
        blend2 = make_color_rgb(255, 255 - (knockfactor * 5), 255 - (knockfactor * 5));
8
        x = (xstart + random(knockfactor * 3)) - random(knockfactor * 3);
9
        y = (ystart + random(knockfactor * 3)) - random(knockfactor * 3);
10
        if (object_index == obj_fleshface || object_index == obj_floweyx_mouth)
11
        {
12
            x = xstart;
13
            y = ystart;
14
        }
15
        if (object_index == obj_sidestalk)
16
        {
17
            y -= 80;
18
            if (x > 320)
19
                x -= 40;
20
            if (x < 320)
21
                x += 40;
22
        }
23
    }
24
}
25
knockfactor -= 1;
26
alarm[11]
 = 1;
gml_Object_obj_flowey_master_Alarm_11.gml

obj_floweybodyparent.knockfactor = knockfactor; with (obj_floweybodyparent) { if (object_index != obj_floweyx_tv) { image_blend = make_color_rgb(255, 255 - (knockfactor * 5), 255 - (knockfactor * 5)); blend2 = make_color_rgb(255, 255 - (knockfactor * 5), 255 - (knockfactor * 5)); x = (xstart + random(knockfactor * 3)) - random(knockfactor * 3); y = (ystart + random(knockfactor * 3)) - random(knockfactor * 3); if (object_index == obj_fleshface || object_index == obj_floweyx_mouth) { x = xstart; y = ystart; } if (object_index == obj_sidestalk) { y -= 80; if (x > 320) x -= 40; if (x < 320) x += 40; } } } knockfactor -= 1; alarm[11]
 = 1;
if (knockfactor < 0) alarm[11]
 = -1;
27
if (knockfactor < 0)
28
    alarm[11]
 = -1;
gml_Object_obj_flowey_master_Alarm_11.gml

obj_floweybodyparent.knockfactor = knockfactor; with (obj_floweybodyparent) { if (object_index != obj_floweyx_tv) { image_blend = make_color_rgb(255, 255 - (knockfactor * 5), 255 - (knockfactor * 5)); blend2 = make_color_rgb(255, 255 - (knockfactor * 5), 255 - (knockfactor * 5)); x = (xstart + random(knockfactor * 3)) - random(knockfactor * 3); y = (ystart + random(knockfactor * 3)) - random(knockfactor * 3); if (object_index == obj_fleshface || object_index == obj_floweyx_mouth) { x = xstart; y = ystart; } if (object_index == obj_sidestalk) { y -= 80; if (x > 320) x -= 40; if (x < 320) x += 40; } } } knockfactor -= 1; alarm[11]
 = 1;
if (knockfactor < 0) alarm[11]
 = -1;