Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_route_determination_darkruins_yellow

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

function scr_route_determination_darkruins_yellow() //gml_Script_scr_route_determination_darkruins_yellow { if (global.dark_ruins_genocide_counter_total == 0 && global.dark_ruins_boss_status[1] != 2 && global.dark_ruins_boss_status[3] != 2) global.route = 2 else if (global.dark_ruins_genocide_complete == 1 && global.dark_ruins_boss_status[1] != 1 && global.dark_ruins_boss_status[3] != 1) global.route = 3 else global.route = 1 if (global.dark_ruins_genocide_complete == 1 && global.dark_ruins_boss_status[1] == 1 && global.dark_ruins_boss_status[3] != 1) global.flag[22 Unused] = 1 }
() //gml_Script_scr_route_determination_darkruins_yellow
2
{
3
    if (global.dark_ruins_genocide_counter_total == 0 && global.dark_ruins_boss_status[1] != 2 && global.dark_ruins_boss_status[3] != 2)
4
        global.route = 2
5
    else if (global.dark_ruins_genocide_complete == 1 && global.dark_ruins_boss_status[1] != 1 && global.dark_ruins_boss_status[3] != 1)
6
        global.route = 3
7
    else
8
        global.route = 1
9
    if (global.dark_ruins_genocide_complete == 1 && global.dark_ruins_boss_status[1] == 1 && global.dark_ruins_boss_status[3] != 1)
10
        global.flag[22 Unused] = 1
11
}