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.gmlobj_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.gmlobj_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; |