Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_barrier_Alarm_0

(view raw script w/o annotations or w/e)
1
if (index < max_index)
2
{
3
    with (instance_create_depth((room_width / 2 - room_width / (index + 1)), (room_height / 2 - room_height / (index + 1)), (-index), obj_barrier))
4
        y -= (2000 / index)
5
}