Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_determine_yellow_text_flags_yellow

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

function scr_determine_yellow_text_flags_yellow() //gml_Script_scr_determine_yellow_text_flags_yellow { if (global.battling_boss == true) var battle_enemy_name = global.battle_enemy_name else { var act_number = global.act_number switch act_number { case 1: battle_enemy_name = global.battle_enemy_name_1 break case 2: battle_enemy_name = global.battle_enemy_name_2 break case 3: battle_enemy_name = global.battle_enemy_name_3 break default: battle_enemy_name = global.battle_enemy_name_1 } } if (battle_enemy_name == "froggit intro") { } else if (battle_enemy_name == "flowey intro") { } else if (battle_enemy_name == "flier a") { } else if (battle_enemy_name == "penilla a") { } else if (battle_enemy_name == "sweet corn a") { } else if (battle_enemy_name == "crispy scroll a") { } else if (battle_enemy_name == "rorrim a") { } else if (battle_enemy_name == "decibat") { } else if (battle_enemy_name == "dalv") { } else if (battle_enemy_name == "micro froggit") { } else if (battle_enemy_name == "frostermit a") { } else if (battle_enemy_name == "insomnitot a") { } else if (battle_enemy_name == "know cone a") { } else if (battle_enemy_name == "trihecta" || battle_enemy_name == "tri") { } else if (battle_enemy_name == "martlet pacifist") { } else if (battle_enemy_name == "martlet genocide") { } else if (battle_enemy_name == "shufflers") { } }
() //gml_Script_scr_determine_yellow_text_flags_yellow
2
{
3
    if (global.battling_boss == true)
4
        var battle_enemy_name = global.battle_enemy_name
5
    else
6
    {
7
        var act_number = global.act_number
8
        switch act_number
9
        {
10
            case 1:
11
                battle_enemy_name = global.battle_enemy_name_1
12
                break
13
            case 2:
14
                battle_enemy_name = global.battle_enemy_name_2
15
                break
16
            case 3:
17
                battle_enemy_name = global.battle_enemy_name_3
18
                break
19
            default:
20
                battle_enemy_name = global.battle_enemy_name_1
21
        }
22
23
    }
24
    if (battle_enemy_name == "froggit intro")
25
    {
26
    }
27
    else if (battle_enemy_name == "flowey intro")
28
    {
29
    }
30
    else if (battle_enemy_name == "flier a")
31
    {
32
    }
33
    else if (battle_enemy_name == "penilla a")
34
    {
35
    }
36
    else if (battle_enemy_name == "sweet corn a")
37
    {
38
    }
39
    else if (battle_enemy_name == "crispy scroll a")
40
    {
41
    }
42
    else if (battle_enemy_name == "rorrim a")
43
    {
44
    }
45
    else if (battle_enemy_name == "decibat")
46
    {
47
    }
48
    else if (battle_enemy_name == "dalv")
49
    {
50
    }
51
    else if (battle_enemy_name == "micro froggit")
52
    {
53
    }
54
    else if (battle_enemy_name == "frostermit a")
55
    {
56
    }
57
    else if (battle_enemy_name == "insomnitot a")
58
    {
59
    }
60
    else if (battle_enemy_name == "know cone a")
61
    {
62
    }
63
    else if (battle_enemy_name == "trihecta" || battle_enemy_name == "tri")
64
    {
65
    }
66
    else if (battle_enemy_name == "martlet pacifist")
67
    {
68
    }
69
    else if (battle_enemy_name == "martlet genocide")
70
    {
71
    }
72
    else if (battle_enemy_name == "shufflers")
73
    {
74
    }
75
}