Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_newhome_03_cutscene_Other_76

(view raw script w/o annotations or w/e)
1
if (ds_map_find_value(event_data, "event_type") == "sprite event")
2
{
3
    switch ds_map_find_value(event_data, "message")
4
    {
5
        case "starlo_overlay_white":
6
            starlo_overlay = 1
7
            break
8
        case "starlo_overlay_black":
9
            starlo_overlay = 2
10
            break
11
        case "starlo_overlay_off":
12
            starlo_overlay = 0
13
            break
14
    }
15
16
}