Undertale script viewer

← back to main script listing

gml_Object_obj_menubone_bottom_Alarm_0

(view raw script w/o annotations or w/e)
1
idealy = 440;
2
if (spot == 0)
3
{
4
    idealx = 140;
5
    idealx2 = 10;
6
}
7
if (spot == 1)
8
{
9
    idealx = 300;
10
    idealx2 = 170;
11
}
12
if (spot == 2)
13
{
14
    idealx = 450;
15
    idealx2 = 320;
16
}
17
if (spot == 3)
18
{
19
    idealx2 = 490;
20
    idealx = 620;
21
}
22
active = 1;