Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_intro_portrait_disjoints

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

function scr_intro_portrait_disjoints() //gml_Script_scr_intro_portrait_disjoints { var game_mode = global.game_mode if (game_mode == "customs") { } else if (game_mode == "yellow") { global.portrait_disjoint_x_dalv = 36 global.portrait_disjoint_y_dalv = 57 global.portrait_disjoint_x_starlo = 36 global.portrait_disjoint_y_starlo = 68 global.portrait_b_disjoint_x_starlo = 72 global.portrait_b_disjoint_y_starlo = 132 } global.portrait_disjoint_x_toriel = 35 global.portrait_disjoint_y_toriel = 32 global.portrait_disjoint_x_flowey = 37 global.portrait_disjoint_y_flowey = 37 }
() //gml_Script_scr_intro_portrait_disjoints
2
{
3
    var game_mode = global.game_mode
4
    if (game_mode == "customs")
5
    {
6
    }
7
    else if (game_mode == "yellow")
8
    {
9
        global.portrait_disjoint_x_dalv = 36
10
        global.portrait_disjoint_y_dalv = 57
11
        global.portrait_disjoint_x_starlo = 36
12
        global.portrait_disjoint_y_starlo = 68
13
        global.portrait_b_disjoint_x_starlo = 72
14
        global.portrait_b_disjoint_y_starlo = 132
15
    }
16
    global.portrait_disjoint_x_toriel = 35
17
    global.portrait_disjoint_y_toriel = 32
18
    global.portrait_disjoint_x_flowey = 37
19
    global.portrait_disjoint_y_flowey = 37
20
}