Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript___background_set_showcolour

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