Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_core_directory_flavor_text_check

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

function scr_battle_core_directory_flavor_text_check() //gml_Script_scr_battle_core_directory_flavor_text_check { var battle_enemy_name = global.battle_enemy_name var game_mode = global.game_mode if (game_mode == "customs") { } else if (game_mode == "yellow") { if (battle_enemy_name == "flier solo") message[0] = "* Flier feels nothing." } }
() //gml_Script_scr_battle_core_directory_flavor_text_check
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    var game_mode = global.game_mode
5
    if (game_mode == "customs")
6
    {
7
    }
8
    else if (game_mode == "yellow")
9
    {
10
        if (battle_enemy_name == "flier solo")
11
            message[0] = "* Flier feels nothing."
12
    }
13
}