Undertale script viewer

← back to main script listing

gml_Object_obj_gameover_Step_0

(view raw script w/o annotations or w/e)
1
if (unpersist == 1)
2
{
3
    if (global.screen_border_activate_on_game_over)
4
    {
5
        global.screen_border_activate_on_game_over = 0;
6
        global.screen_border_active = 1;
7
    }
8
    room_goto(global.currentroom);
9
}
10
if (room == global.currentroom)
11
{
12
    room_persistent = false;
13
    script_execute(scr_tempload);
14
    instance_destroy();
15
}