Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_create_quote_bubble_battle_defeat

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

function scr_create_quote_bubble_battle_defeat() //gml_Script_scr_create_quote_bubble_battle_defeat { var battle_enemy_name = global.battle_enemy_name var game_mode = global.game_mode if (game_mode == "customs") { if (battle_enemy_name == "craniex") instance_create(392, 85, obj_quote_bubble_battle) else if (battle_enemy_name == "ms mettaton") instance_create(392, 85, obj_quote_bubble_battle) } else if (game_mode == "yellow") { if (battle_enemy_name == "dalv") instance_create(380, 74, obj_quote_bubble_battle_yellow_3) else if (battle_enemy_name == "martlet genocide") instance_create(380, 74, obj_quote_bubble_battle_yellow_3) else if (battle_enemy_name == "el bailador") instance_create(390, 74, obj_quote_bubble_battle_yellow_3) else if (battle_enemy_name == "axis") instance_create(390, 74, obj_quote_bubble_battle_yellow_3) } }
() //gml_Script_scr_create_quote_bubble_battle_defeat
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    var game_mode = global.game_mode
5
    if (game_mode == "customs")
6
    {
7
        if (battle_enemy_name == "craniex")
8
            instance_create(392, 85, obj_quote_bubble_battle)
9
        else if (battle_enemy_name == "ms mettaton")
10
            instance_create(392, 85, obj_quote_bubble_battle)
11
    }
12
    else if (game_mode == "yellow")
13
    {
14
        if (battle_enemy_name == "dalv")
15
            instance_create(380, 74, obj_quote_bubble_battle_yellow_3)
16
        else if (battle_enemy_name == "martlet genocide")
17
            instance_create(380, 74, obj_quote_bubble_battle_yellow_3)
18
        else if (battle_enemy_name == "el bailador")
19
            instance_create(390, 74, obj_quote_bubble_battle_yellow_3)
20
        else if (battle_enemy_name == "axis")
21
            instance_create(390, 74, obj_quote_bubble_battle_yellow_3)
22
    }
23
}