Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_factory_02_numpad_overlay_Step_0

(view raw script w/o annotations or w/e)
1
if (entry_number == global.factory_code)
2
{
3
    var door = instance_create_depth(100, 160, -100, obj_doorway)
4
    with (door)
5
    {
6
        image_xscale = 2.5
7
        image_yscale = 1.25
8
        nextroom = 238
9
        xx = 740
10
        yy = 760
11
    }
12
    layer_set_visible("door_open", true)
13
    instance_destroy()
14
}