Undertale script viewer

← back to main script listing

gml_Object_obj_mettb_body_Alarm_6

(view raw script w/o annotations or w/e)
1
if (noarm == 1)
2
{
3
    xhau1 = instance_create(x + 36 + sin(siner / 3.5), (y - legh) + 80 + (cos(siner / 3.5) * 2), obj_planeexhaust);
4
    xhau2 = instance_create(x + 110 + sin(siner / 3.5), (y - legh) + 80 + (cos(siner / 3.5) * 2), obj_planeexhaust);
5
    xhau2.hspeed = -xhau2.hspeed;
6
    xhau1.depth = depth + 2;
7
    xhau2.depth = depth + 2;
8
}
9
alarm[6] = 10;
gml_Object_obj_mettb_body_Alarm_6.gml

if (noarm == 1) { xhau1 = instance_create(x + 36 + sin(siner / 3.5), (y - legh) + 80 + (cos(siner / 3.5) * 2), obj_planeexhaust); xhau2 = instance_create(x + 110 + sin(siner / 3.5), (y - legh) + 80 + (cos(siner / 3.5) * 2), obj_planeexhaust); xhau2.hspeed = -xhau2.hspeed; xhau1.depth = depth + 2; xhau2.depth = depth + 2; } alarm[6] = 10;