Deltarune script viewer

← back to main script listing

gml_Object_obj_ch2_tutorialViroMaker_Step_0

(view raw script w/o annotations or w/e)
1
if (global.flag[438 tutor_viro_location] == 0 && other.havenoelle == true)
2
{
3
    if (instance_exists(obj_battleback))
4
    {
5
        if (room == room_dw_city_big_1)
6
            global.flag[438 tutor_viro_location] = 1;
7
        if (room == room_dw_city_roadblock)
8
            global.flag[438 tutor_viro_location] = 2;
9
        debug_message("global.flag[438 tutor_viro_location]=" + string(global.flag[438 tutor_viro_location]));
10
        scr_tempsave
scr_tempsave

function scr_tempsave() { filechoicebk2 = global.filechoice; global.filechoice = 9; var is_valid = scr_saveprocess(global.filechoice); global.filechoice = filechoicebk2; if (!is_valid) { var error_message = instance_create(0, 0, obj_savedata_error); error_message.error_type = "temp_save_failed"; if (room != PLACE_MENU) error_message.type = "auto"; } return is_valid; }
();
11
    }
12
}