Undertale script viewer

← back to main script listing

gml_Object_obj_stairstep_Collision_1576

(view raw script w/o annotations or w/e)
1
if (global.facing != stepped)
2
{
3
    if (global.facing == 3)
4
    {
5
        other.y += 1;
6
        stepped = 3;
7
    }
8
    if (global.facing == 1)
9
    {
10
        other.y -= 1;
11
        stepped = 1;
12
    }
13
}