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() //gml_Script_scr_talking_axis { switch current_char { case " ": case "*": break default: var axis_talknoise = snd_talk_axis audio_stop_sound(axis_talknoise) audio_play_sound(axis_talknoise, 20, false) } switch current_char { case ".": case ",": case "?": case "!": break default: can_talk = true } }
() //gml_Script_scr_talking_axis
2
{
3
    switch current_char
4
    {
5
        case " ":
6
        case "*":
7
            break
8
        default:
9
            var axis_talknoise = snd_talk_axis
10
            audio_stop_sound(axis_talknoise)
11
            audio_play_sound(axis_talknoise, 20, false)
12
    }
13
14
    switch current_char
15
    {
16
        case ".":
17
        case ",":
18
        case "?":
19
        case "!":
20
            break
21
        default:
22
            can_talk = true
23
    }
24
25
}