Undertale script viewer

← back to main script listing

gml_Object_obj_wizardbody_Alarm_0

(view raw script w/o annotations or w/e)
1
if (exist < 10)
2
{
3
    alarm[0] = 5;
gml_Object_obj_wizardbody_Alarm_0.gml

if (exist < 10) { alarm[0] = 5; instance_create(offx + x + 46 + random(18), ((y - 10) + (som * 4)) - random(6), obj_orbsprinkle); instance_create(((offx + x) - 66) + random(18), (y + (som * 4)) - random(6), obj_orbsprinkle); } if (exist >= 10) { alarm[0] = 5; if (parent.stare2 == 0) instance_create(offx + x + 46 + random(18), ((y - 10) + (som * 4)) - random(6), obj_orbsprinkle); if (parent.stare1 == 0) instance_create(((offx + x) - 66) + random(18), (y + (som * 4)) - random(6), obj_orbsprinkle); }
4
    instance_create(offx + x + 46 + random(18), ((y - 10) + (som * 4)) - random(6), obj_orbsprinkle);
5
    instance_create(((offx + x) - 66) + random(18), (y + (som * 4)) - random(6), obj_orbsprinkle);
6
}
7
if (exist >= 10)
8
{
9
    alarm[0] = 5;
gml_Object_obj_wizardbody_Alarm_0.gml

if (exist < 10) { alarm[0] = 5; instance_create(offx + x + 46 + random(18), ((y - 10) + (som * 4)) - random(6), obj_orbsprinkle); instance_create(((offx + x) - 66) + random(18), (y + (som * 4)) - random(6), obj_orbsprinkle); } if (exist >= 10) { alarm[0] = 5; if (parent.stare2 == 0) instance_create(offx + x + 46 + random(18), ((y - 10) + (som * 4)) - random(6), obj_orbsprinkle); if (parent.stare1 == 0) instance_create(((offx + x) - 66) + random(18), (y + (som * 4)) - random(6), obj_orbsprinkle); }
10
    if (parent.stare2 == 0)
11
        instance_create(offx + x + 46 + random(18), ((y - 10) + (som * 4)) - random(6), obj_orbsprinkle);
12
    if (parent.stare1 == 0)
13
        instance_create(((offx + x) - 66) + random(18), (y + (som * 4)) - random(6), obj_orbsprinkle);
14
}