Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_cliff_petalwarp_Other_17

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