1 | function 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 | } |