Undertale script viewer

← back to main script listing

gml_Object_obj_rotspeargen_gen_Alarm_0

(view raw script w/o annotations or w/e)
1
if (type == 0)
2
{
3
    g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen);
4
    g.type = t;
5
    if (t == 0)
6
        t = 1;
7
    else
8
        t = 0;
9
    alarm[0] = 27;
gml_Object_obj_rotspeargen_gen_Alarm_0.gml

if (type == 0) { g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen); g.type = t; if (t == 0) t = 1; else t = 0; alarm[0] = 27; } if (type == 1) { t = choose(2, 3); g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen); g.type = t; alarm[0] = 24; }
10
}
11
if (type == 1)
12
{
13
    t = choose(2, 3);
14
    g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen);
15
    g.type = t;
16
    alarm[0] = 24;
gml_Object_obj_rotspeargen_gen_Alarm_0.gml

if (type == 0) { g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen); g.type = t; if (t == 0) t = 1; else t = 0; alarm[0] = 27; } if (type == 1) { t = choose(2, 3); g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen); g.type = t; alarm[0] = 24; }
17
}