Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_determine_display_text_battle_boss_genocide

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

function scr_determine_display_text_battle_boss_genocide() //gml_Script_scr_determine_display_text_battle_boss_genocide { var game_mode = global.game_mode var battle_enemy_name = global.battle_enemy_name if (global.game_mode == "customs") { } else if (global.game_mode == "yellow") { switch battle_enemy_name { case "decibat": if (!instance_exists(obj_piece)) return true; else return false; break default: return true; } } }
() //gml_Script_scr_determine_display_text_battle_boss_genocide
2
{
3
    var game_mode = global.game_mode
4
    var battle_enemy_name = global.battle_enemy_name
5
    if (global.game_mode == "customs")
6
    {
7
    }
8
    else if (global.game_mode == "yellow")
9
    {
10
        switch battle_enemy_name
11
        {
12
            case "decibat":
13
                if (!instance_exists(obj_piece))
14
                    return true;
15
                else
16
                    return false;
17
                break
18
            default:
19
                return true;
20
        }
21
22
    }
23
}