Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript___background_set_colour

(view raw script w/o annotations or w/e)
1
function __background_set_colour(argument0) //gml_Script___background_set_colour
2
{
3
    var __newcol = argument0
4
    var __colinfo = __background_get_colour_element()
5
    if (__colinfo[0] == -1)
6
        return 0;
7
    layer_background_blend(__colinfo[0], __newcol)
8
    return __newcol;
9
}