Undertale script viewer

← back to main script listing

gml_Object_obj_notify_room_Step_0

(view raw script w/o annotations or w/e)
1
if (t == 1 && instance_exists(OBJ_WRITER) == 0)
2
{
3
    instance_destroy();
4
    global.interact = 0;
5
    if (donotcall == 0)
6
    {
7
        if (instance_exists(mb))
8
        {
9
            with (mb)
10
                instance_destroy();
11
        }
12
    }
13
}