Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_cutscene_animation_end

(view raw script w/o annotations or w/e)
1
function cutscene_animation_end() //gml_Script_cutscene_animation_end
2
{
3
    if (argument[0].image_index > (argument[0].image_number - 1))
4
    {
5
        if (argument[1] == true)
6
            argument[0].image_speed = 0
7
        cutscene_advance()
8
        return true;
9
    }
10
}