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