Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_talking_toriel_2

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

function scr_talking_toriel_2() //gml_Script_scr_talking_toriel_2 { switch current_char { case " ": case "*": break default: audio_stop_sound(snd_talk_toriel_2) audio_play_sound(snd_talk_toriel_2, 20, false) } switch current_char { case ".": case ",": case "?": case "!": break default: can_talk = true } }
() //gml_Script_scr_talking_toriel_2
2
{
3
    switch current_char
4
    {
5
        case " ":
6
        case "*":
7
            break
8
        default:
9
            audio_stop_sound(snd_talk_toriel_2)
10
            audio_play_sound(snd_talk_toriel_2, 20, false)
11
    }
12
13
    switch current_char
14
    {
15
        case ".":
16
        case ",":
17
        case "?":
18
        case "!":
19
            break
20
        default:
21
            can_talk = true
22
    }
23
24
}