Undertale script viewer

← back to main script listing

gml_Object_obj_6shoe_act_Step_0

(view raw script w/o annotations or w/e)
1
hspeed = -4;
2
siner += 1;
3
if (counter > 0 && counter < 14)
4
    vspeed = -6;
5
if (counter == 14)
6
    vspeed = 0;
7
if (counter > 20 && counter < 30)
8
    vspeed = 8;
9
if (counter == 30)
10
    vspeed = 0;
11
if (counter > 40)
12
    counter = 1;
13
counter += 1;
14
if (x < 0 && hspeed < 0)
15
    hspeed = -hspeed;
16
if (x > room_width && hspeed > 0)
17
    hspeed = -hspeed;