Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_pulley_elevator_bottom_Step_2

(view raw script w/o annotations or w/e)
1
if instance_exists(obj_pulley_elevator_1)
2
{
3
    x = obj_pulley_elevator_1.x
4
    y = obj_pulley_elevator_1.y + 2
5
}
6
else
7
{
8
    x = obj_pulley_elevator_2.x
9
    y = obj_pulley_elevator_2.y + 2
10
}