Undertale script viewer

← back to main script listing

gml_Object_obj_warplinegen_Alarm_1

(view raw script w/o annotations or w/e)
1
xx = global.idealborder[0] + random(c_borderwidth
c_borderwidth

if (argument0 == 0) return obj_rborder.x - obj_lborder.x; if (argument0 == 1) return global.idealborder[1] - global.idealborder[0];
(0));
2
if (otheri == 0)
3
{
4
    yy = -40;
5
    xx = obj_heart.x + 10;
6
    otheri = 1;
7
}
8
else
9
{
10
    otheri = 0;
11
    yy = room_height + 40;
12
}
13
instance_create(xx, yy, obj_warplinebullet);
14
alarm[1] = 18;
gml_Object_obj_warplinegen_Alarm_1.gml

xx = global.idealborder[0] + random(c_borderwidth(0)); if (otheri == 0) { yy = -40; xx = obj_heart.x + 10; otheri = 1; } else { otheri = 0; yy = room_height + 40; } instance_create(xx, yy, obj_warplinebullet); alarm[1] = 18; if (instance_exists(obj_greenarmor)) alarm[1] = 24;
15
if (instance_exists(obj_greenarmor))
16
    alarm[1] = 24;
gml_Object_obj_warplinegen_Alarm_1.gml

xx = global.idealborder[0] + random(c_borderwidth(0)); if (otheri == 0) { yy = -40; xx = obj_heart.x + 10; otheri = 1; } else { otheri = 0; yy = room_height + 40; } instance_create(xx, yy, obj_warplinebullet); alarm[1] = 18; if (instance_exists(obj_greenarmor)) alarm[1] = 24;