Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_cliff_crater_Other_17

related scripts: Alarm_3 • CleanUp_0 • Create_0 • Draw_0 • Other_10 • Other_17 • Other_18 • PreCreate_0 • Step_0

(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;