Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript___background_get_colour

(view raw script w/o annotations or w/e)
1
function __background_get_colour() //gml_Script___background_get_colour
2
{
3
    var __colinfo = __background_get_colour_element()
4
    if (__colinfo[0] == -1)
5
        return 0;
6
    var __col = layer_background_get_blend(__colinfo[0])
7
    return __col;
8
}