Undertale script viewer

← back to main script listing

gml_Object_obj_glowparticlegen_1_Alarm_0

(view raw script w/o annotations or w/e)
1
if (x > (view_xview[0] - 100) && x < (view_xview[0] + view_wview[0] + 100))
2
{
3
    if (y > (view_yview[0] - 100) && y < (view_yview[0] + view_hview[0] + 100))
4
        instance_create((x + random(60)) - 20, y - 15, obj_glowparticle_1);
5
}
6
alarm[0] = 10;
gml_Object_obj_glowparticlegen_1_Alarm_0.gml

if (x > (view_xview[0] - 100) && x < (view_xview[0] + view_wview[0] + 100)) { if (y > (view_yview[0] - 100) && y < (view_yview[0] + view_hview[0] + 100)) instance_create((x + random(60)) - 20, y - 15, obj_glowparticle_1); } alarm[0] = 10;