Undertale script viewer

← back to main script listing

gml_Object_obj_blackbulletgen1_Alarm_0

(view raw script w/o annotations or w/e)
1
alarm[0] = global.firingrate;
gml_Object_obj_blackbulletgen1_Alarm_0.gml

alarm[0] = global.firingrate; bx = instance_create(x, y, obj_blackboxtest); bx.vspeed = 8; obj_blackboxtest.dmg = floor(global.hp / 2); if (global.hp < 2) { global.turntimer = -1; with (obj_blackboxtest) instance_destroy(); }
2
bx = instance_create(x, y, obj_blackboxtest);
3
bx.vspeed = 8;
4
obj_blackboxtest.dmg = floor(global.hp / 2);
5
if (global.hp < 2)
6
{
7
    global.turntimer = -1;
8
    with (obj_blackboxtest)
9
        instance_destroy();
10
}