Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_timer

(view raw script w/o annotations or w/e)
1
function scr_timer
scr_timer

function scr_timer() //gml_Script_scr_timer { if (timer > 0) { timer-- return false; } else return true; }
() //gml_Script_scr_timer
2
{
3
    if (timer > 0)
4
    {
5
        timer--
6
        return false;
7
    }
8
    else
9
        return true;
10
}