Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_cutscene_end

(view raw script w/o annotations or w/e)
1
function cutscene_end()
2
{
3
    if (instance_exists(obj_player_npc))
4
        instance_destroy(obj_player_npc);
5
    scr_cutscene_end
scr_cutscene_end

function scr_cutscene_end() { global.cutscene = false; obj_pl.alarm[0] = 1; }
();
6
    instance_destroy();
7
}