Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_cutscene_camera_reset

(view raw script w/o annotations or w/e)
1
function cutscene_camera_reset() //gml_Script_cutscene_camera_reset
2
{
3
    if instance_exists(obj_camera)
4
        instance_destroy(obj_camera)
5
    camera_set_view_target(view_camera[0], 1031)
6
    if (argument_count > 0 && argument[0] == true)
7
        return true;
8
    else
9
        cutscene_advance()
10
    return true;
11
}