1 |
event_inherited() |
2 |
if (interact == 1) |
3 |
{ |
4 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
5 |
is_talking = 1 |
6 |
switch npc_flag |
7 |
{ |
8 |
case 0: |
9 |
with (msg) |
10 |
{ |
11 |
message[0] = "* Uh ! Uh ! What a s-s-sound !" |
12 |
message[1] = "* You hearing this, human ?" |
13 |
message[2] = "* Odd, a bit short, but# endearing ." |
14 |
message[3] = "* Kinda like you !" |
15 |
} |
16 |
npc_flag += 1 |
17 |
break |
18 |
case 1: |
19 |
with (msg) |
20 |
{ |
21 |
message[0] = "* Life wouldn't be the same# without m-m-music !" |
22 |
message[1] = "* What's your favorite kind of# music, huh ?" |
23 |
message[2] = "* Our listeners would love to# kn-o-o-ow !" |
24 |
message[3] = "* [ANSWER HERE]" |
25 |
message[4] = "* Oh ! That's one of my# favorites t-t-too !" |
26 |
} |
27 |
npc_flag += 1 |
28 |
break |
29 |
case 2: |
30 |
with (msg) |
31 |
{ |
32 |
message[0] = "* Oh, yes, I forgot to mention# that we are L-I-V-E live right# now !" |
33 |
message[1] = "* We have a lovely audience# tonight !" |
34 |
message[2] = "* Say \"hi\", audience ! !" |
35 |
message[3] = "* . . ." |
36 |
message[4] = "* Must be a w-w-weak signal ? ?" |
37 |
} |
38 |
npc_flag += 1 |
39 |
break |
40 |
case 3: |
41 |
with (msg) |
42 |
message[0] = "* You're listening to G-G-GOOSIC# RADIO 108.1 - spinning 24/7 ! !" |
43 |
break |
44 |
} |
45 |
|
46 |
} |