Undertale script viewer

← back to main script listing

gml_Object_obj_handlightning_Alarm_0

(view raw script w/o annotations or w/e)
1
if (type == 0)
2
{
3
    sprite_index = spr_regstar;
4
    image_xscale = 0.1;
5
    image_yscale = 0.1;
6
    image_angle = random(360);
7
}
8
if (type == 1)
9
{
10
    sprite_index = spr_handlightning;
11
    image_xscale = 0.1;
12
    image_yscale = 1;
13
    image_angle = direction;
14
}
15
visible = true;
16
image_alpha = 0;