Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_cliff_crater_Other_17

(view raw script w/o annotations or w/e)
1
if (is_real(doorEntrance))
2
{
3
    if (doorEntrance != -1)
4
        global.entrance = doorEntrance;
5
}
6
else if (is_string(doorEntrance))
7
{
8
    global.entrance = (ord(string_upper(doorEntrance)) - 65) + 1;
9
}
10
global.flag[21 door_freeze_timer] = -10;