Undertale script viewer

← back to main script listing

gml_Object_obj_vertplanebullet_Alarm_0

(view raw script w/o annotations or w/e)
1
if (y > (obj_uborder.y - 10))
2
{
3
    if (off == 0)
4
        off = 1;
5
    else
6
        off = 0;
7
    if (green == 1)
8
        off = 2;
9
    bl = instance_create(x + 20, y + 10, obj_exhaustbullet);
10
    if (instance_exists(bl))
11
    {
12
        bl.dmg = dmg;
13
        bl.off = off;
14
    }
15
}
16
alarm[0] = 6;
gml_Object_obj_vertplanebullet_Alarm_0.gml

if (y > (obj_uborder.y - 10)) { if (off == 0) off = 1; else off = 0; if (green == 1) off = 2; bl = instance_create(x + 20, y + 10, obj_exhaustbullet); if (instance_exists(bl)) { bl.dmg = dmg; bl.off = off; } } alarm[0] = 6; if (green == 1) alarm[0] = 10; if (pop > 1) alarm[0] *= 1.5;
17
if (green == 1)
18
    alarm[0] = 10;
gml_Object_obj_vertplanebullet_Alarm_0.gml

if (y > (obj_uborder.y - 10)) { if (off == 0) off = 1; else off = 0; if (green == 1) off = 2; bl = instance_create(x + 20, y + 10, obj_exhaustbullet); if (instance_exists(bl)) { bl.dmg = dmg; bl.off = off; } } alarm[0] = 6; if (green == 1) alarm[0] = 10; if (pop > 1) alarm[0] *= 1.5;
19
if (pop > 1)
20
    alarm[0] *= 1.5;
gml_Object_obj_vertplanebullet_Alarm_0.gml

if (y > (obj_uborder.y - 10)) { if (off == 0) off = 1; else off = 0; if (green == 1) off = 2; bl = instance_create(x + 20, y + 10, obj_exhaustbullet); if (instance_exists(bl)) { bl.dmg = dmg; bl.off = off; } } alarm[0] = 6; if (green == 1) alarm[0] = 10; if (pop > 1) alarm[0] *= 1.5;