Undertale script viewer

← back to main script listing

gml_Object_obj_asgore_spearswipe_Alarm_1

(view raw script w/o annotations or w/e)
1
curamt += 1;
2
if (curamt < amt)
3
{
4
    image_index = 0;
5
    image_speed = 1;
6
    alarm[1] = swipewait;
gml_Object_obj_asgore_spearswipe_Alarm_1.gml

curamt += 1; if (curamt < amt) { image_index = 0; image_speed = 1; alarm[1] = swipewait; if (curamt > 1 && curamt < amt) { if (image_xscale == 2) image_xscale = -2; else image_xscale = 2; } } else { image_speed = 0; alarm[2] = 15; }
7
    if (curamt > 1 && curamt < amt)
8
    {
9
        if (image_xscale == 2)
10
            image_xscale = -2;
11
        else
12
            image_xscale = 2;
13
    }
14
}
15
else
16
{
17
    image_speed = 0;
18
    alarm[2] = 15;
19
}