Undertale script viewer

← back to main script listing

gml_Object_obj_tinybgman_Step_0

(view raw script w/o annotations or w/e)
1
if (c == 1)
2
{
3
    vspeed = 0;
4
    image_speed = 0;
5
    alarm[0] = 30;
6
    c = 2;
7
}
8
if (c == 3)
9
{
10
    hspeed = 0.2;
11
    image_speed = 0.25;
12
    alarm[0] = 30;
13
    c = 4;
14
}
15
if (c == 5)
16
{
17
    hspeed = 0;
18
    image_speed = 0;
19
    alarm[0] = 30;
20
    c = 6;
21
}
22
if (c == 7)
23
{
24
    hspeed = -0.2;
25
    image_speed = 0.25;
26
    alarm[0] = 60;
27
    c = 8;
28
}
29
if (c == 9)
30
{
31
    hspeed = 0;
32
    image_speed = 0;
33
    alarm[0] = 30;
34
    c = 10;
35
}
36
if (c == 11)
37
{
38
    hspeed = 0.2;
39
    image_speed = 0.2;
40
    alarm[0] = 30;
41
    c = 12;
42
}
43
if (c == 13)
44
{
45
    hspeed = 0;
46
    vspeed = -0.2;
47
    image_speed = 0.2;
48
    alarm[0] = 40;
49
    c = 14;
50
}
51
if (c == 15)
52
{
53
    vspeed = 0;
54
    c = 16;
55
    alarm[0] = 30;
56
}
57
if (c == 17)
58
{
59
    with (obj_tinybghouse)
60
        man = 0;
61
    with (obj_tinybghouse)
62
        image_index = 0;
63
    instance_destroy();
64
}