Undertale script viewer

← back to main script listing

gml_Object_obj_ruinsdoor1_Step_1

(view raw script w/o annotations or w/e)
1
if (room == room_ruins2)
2
{
3
    if (instance_exists(obj_wallswitchcut1))
4
    {
5
        if (obj_wallswitchcut1.on == 2 || global.plot > 2)
6
            instance_destroy();
7
    }
8
}