Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_talking_mettaton

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

function scr_talking_mettaton() //gml_Script_scr_talking_mettaton { switch current_char { case " ": case "*": break default: script_execute(gml_Script_scr_mettaton_voice) } switch current_char { case ".": case ",": case "?": case "!": break default: can_talk = true } }
() //gml_Script_scr_talking_mettaton
2
{
3
    switch current_char
4
    {
5
        case " ":
6
        case "*":
7
            break
8
        default:
9
            script_execute(gml_Script_scr_mettaton_voice)
10
    }
11
12
    switch current_char
13
    {
14
        case ".":
15
        case ",":
16
        case "?":
17
        case "!":
18
            break
19
        default:
20
            can_talk = true
21
    }
22
23
}