Undertale script viewer

← back to main script listing

gml_Object_obj_gyftrotmouth_Alarm_2

(view raw script w/o annotations or w/e)
1
if (image_index > 0)
2
{
3
    image_index -= 1;
4
    alarm[2] = 3;
gml_Object_obj_gyftrotmouth_Alarm_2.gml

if (image_index > 0) { image_index -= 1; alarm[2] = 3; } else { alarm[0] = 45 + random(60); }
5
}
6
else
7
{
8
    alarm[0] = 45 + random(60);
gml_Object_obj_gyftrotmouth_Alarm_0.gml

if (image_index < 4) { image_index += 1; alarm[0] = 3; } else { alarm[1] = 25; }
9
}