Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_lockedDoor_mansion_east_2f_transformed_new_Create_0

(view raw script w/o annotations or w/e)
1
if (global.flag[362 mauswheel_defeated] == 1 && global.flag[382 dining_hall_complete] == 0)
2
{
3
    layer_set_visible("TILES_LOCKED_DOOR", 0);
4
    instance_destroy();
5
}
6
if (instance_exists(obj_npc_sign))
7
{
8
    with (obj_npc_sign)
9
    {
10
        if (global.flag[362 mauswheel_defeated] == 1 && global.flag[382 dining_hall_complete] == 0)
11
            instance_destroy();
12
    }
13
}