Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_talking_game_over

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

function scr_talking_game_over() //gml_Script_scr_talking_game_over { var battle_enemy_name = global.battle_enemy_name var game_mode = global.game_mode switch current_char { case " ": case "*": break default: if (!instance_exists(obj_death_screen_fade_out_screen)) { audio_stop_sound(sndfnt) audio_play_sound(sndfnt, 20, false) } } }
() //gml_Script_scr_talking_game_over
2
{
3
    var battle_enemy_name = global.battle_enemy_name
4
    var game_mode = global.game_mode
5
    switch current_char
6
    {
7
        case " ":
8
        case "*":
9
            break
10
        default:
11
            if (!instance_exists(obj_death_screen_fade_out_screen))
12
            {
13
                audio_stop_sound(sndfnt)
14
                audio_play_sound(sndfnt, 20, false)
15
            }
16
    }
17
18
}