Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_determine_world_yellow

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

function scr_determine_world_yellow() //gml_Script_scr_determine_world_yellow { var current_world_value = global.player_world_value switch current_world_value { case 0: return "Ruins"; case 1: return "Dark Ruins"; case 2: return "Lower Snowdin"; default: return "Ruins"; } }
() //gml_Script_scr_determine_world_yellow
2
{
3
    var current_world_value = global.player_world_value
4
    switch current_world_value
5
    {
6
        case 0:
7
            return "Ruins";
8
        case 1:
9
            return "Dark Ruins";
10
        case 2:
11
            return "Lower Snowdin";
12
        default:
13
            return "Ruins";
14
    }
15
16
}