Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_talking_axis

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

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