Undertale script viewer

← back to main script listing

gml_Object_obj_forcedright_Alarm_2

(view raw script w/o annotations or w/e)
1
if (t < 13)
2
{
3
    dog1.speed = 0;
4
    dog2.speed = 0;
5
}
6
if (t == 7)
7
    t = 8;
8
if (t == 3)
9
    t = 4;
10
if (t == 2)
11
{
12
    t = 3;
13
    alarm[2] = 20;
gml_Object_obj_forcedright_Alarm_2.gml

if (t < 13) { dog1.speed = 0; dog2.speed = 0; } if (t == 7) t = 8; if (t == 3) t = 4; if (t == 2) { t = 3; alarm[2] = 20; } if (t == 11) t = 12; if (t == 15) t = 16;
14
}
15
if (t == 11)
16
    t = 12;
17
if (t == 15)
18
    t = 16;