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 |
portrait = false; |
12 |
sndfnt = 99; |
13 |
message[0] = "* This town is quite the# spectacle, is it not?"; |
14 |
message[1] = "* Ah ha! I would bury myself in# its sand if I could, yep yep!"; |
15 |
} |
16 |
npc_flag++; |
17 |
break; |
18 |
case 1: |
19 |
with (msg) |
20 |
{ |
21 |
portrait = false; |
22 |
sndfnt = 99; |
23 |
message[0] = "* Have you met my cousin over by# the Oasis?"; |
24 |
message[1] = "* What a sad sight, boo hoo."; |
25 |
message[2] = "* What he needs is a visit to the# Wild East, he does!"; |
26 |
message[3] = "* Lifts the spirit right up, oh# yes!"; |
27 |
} |
28 |
npc_flag++; |
29 |
break; |
30 |
case 2: |
31 |
with (msg) |
32 |
{ |
33 |
portrait = false; |
34 |
sndfnt = 99; |
35 |
message[0] = "* That other fellow near the# well? Oh ho! I do not know them."; |
36 |
message[1] = "* Lying around in this heat will# dry you out, I say!"; |
37 |
} |
38 |
npc_flag++; |
39 |
break; |
40 |
case 3: |
41 |
with (msg) |
42 |
{ |
43 |
portrait = false; |
44 |
sndfnt = 99; |
45 |
message[0] = "* I hope you have a# wonderfully-happy-go time here!"; |
46 |
message[1] = "* Ah ha! Oh yes! I'm sure you# will!"; |
47 |
} |
48 |
break; |
49 |
} |
50 |
} |