Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dw_church_pushableshelf_Other_10

(view raw script w/o annotations or w/e)
1
var __check = 0;
2
with (object_index)
3
{
4
    if (con != 0)
5
        __check++;
6
}
7
if (__check == 0 && con == 0 && global.interact == 0)
8
{
9
    global.interact = 1;
10
    con = 1;
11
    timer = 0;
12
    mydir = global.facing;
13
}