1 |
event_inherited() |
2 |
if interact |
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] = "* I was locked up for usin' my# cell phone in the saloon. " |
12 |
message[1] = "* Dina said it was against Wild# East policy. " |
13 |
message[2] = "* Fair enough, but North Star# has a freakin' TV in his# house!!!" |
14 |
} |
15 |
npc_flag += 1 |
16 |
break |
17 |
case 1: |
18 |
with (msg) |
19 |
{ |
20 |
message[0] = "* Oh, the gun? They let me keep# it. " |
21 |
message[1] = "* It's only a model after all...# mmhmm..." |
22 |
} |
23 |
npc_flag += 1 |
24 |
break |
25 |
case 2: |
26 |
with (msg) |
27 |
{ |
28 |
message[0] = "* How often do you think they# clean these cells? " |
29 |
message[1] = "* This one has a few too many# feathers lyin' around for my# likin'. " |
30 |
message[2] = "* And the wall... There's a# patch of moss with a bite out# of it. " |
31 |
message[3] = "* Weird..." |
32 |
} |
33 |
npc_flag += 1 |
34 |
break |
35 |
case 3: |
36 |
with (msg) |
37 |
{ |
38 |
message[0] = "* Don't worry about me. " |
39 |
message[1] = "* I'm gonna sell my bank account# for bail. " |
40 |
message[2] = "* Wish me luck!" |
41 |
} |
42 |
break |
43 |
} |
44 |
|
45 |
} |