| 1 | 
        script_execute(scr_depth, 0, 0, 0, 0, 0);  | 
    
    
    
        | 2 | 
        default_x_dalvshouse = 140;  | 
    
    
    
        | 3 | 
        default_y_dalvshouse = 60;  | 
    
    
    
        | 4 | 
        default_x_dalvroomhall = 130;  | 
    
    
    
        | 5 | 
        default_y_dalvroomhall = 120;  | 
    
    
    
        | 6 | 
        script_execute(scr_dalv_determine_destination);  | 
    
    
    
        | 7 | 
        upsprite = 85;  | 
    
    
    
        | 8 | 
        downsprite = 82;  | 
    
    
    
        | 9 | 
        leftsprite = 83;  | 
    
    
    
        | 10 | 
        rightsprite = 84;  | 
    
    
    
        | 11 | 
        image_speed = 0;  | 
    
    
    
        | 12 | 
        waiter = 0;  | 
    
    
    
        | 13 | 
        dalv_talk_waiter = 0;  | 
    
    
    
        | 14 | 
        fadeout = false;  | 
    
    
    
        | 15 | 
        fadein = false;  | 
    
    
    
        | 16 | 
        spritelock = true;  | 
    
    
    
        | 17 | 
        npc_walking = false;  | 
    
    
    
        | 18 | 
        going_through_door = false;  | 
    
    
    
        | 19 | 
        no_loop_room_specific_walking = false;  | 
    
    
    
        | 20 | 
        no_loop_dalv_hallway = false;  | 
    
    
    
        | 21 | 
        no_loop_autowalk = false;  | 
    
    
    
        | 22 | 
        if (global.flag[17 Dalv fate] == 2 || global.flag[17 Dalv fate] == 4)  | 
    
    
    
        | 23 | 
            instance_destroy();  | 
    
    
    
        | 24 | 
        if (room == rm_dalvhallway && obj_pl.player_mode != "DalvExit")  | 
    
    
    
        | 25 | 
            instance_destroy();  |