| 1 |
event_inherited(); |
| 2 |
if (interact) |
| 3 |
{ |
| 4 |
scr_textscr_textfunction 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.\t"; |
| 12 |
message[1] = "* Dina said it was against Wild# East policy.\t"; |
| 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.\t"; |
| 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?\t"; |
| 29 |
message[1] = "* This one has a few too many# feathers lyin' around for my# likin'.\t"; |
| 30 |
message[2] = "* And the wall... There's a# patch of moss with a bite out# of it.\t"; |
| 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.\t"; |
| 39 |
message[1] = "* I'm gonna sell my bank account# for bail.\t"; |
| 40 |
message[2] = "* Wish me luck!"; |
| 41 |
} |
| 42 |
break; |
| 43 |
} |
| 44 |
} |