1 |
event_inherited(); |
2 |
if (interact) |
3 |
waiter = 1; |
4 |
if (waiter == 1) |
5 |
{ |
6 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
7 |
is_talking = 1; |
8 |
if (global.dunes_flag[24] == 1) |
9 |
{ |
10 |
switch (npc_flag) |
11 |
{ |
12 |
case 0: |
13 |
with (msg) |
14 |
{ |
15 |
portrait = false; |
16 |
sndfnt = 99; |
17 |
message[0] = "* Oh ho! Why if it isn't the# Deputy!"; |
18 |
message[1] = "* Will you sign my needle? "; |
19 |
message[2] = "* Please do!"; |
20 |
ch_msg = 2; |
21 |
ch[1] = "Yes"; |
22 |
ch[2] = "No"; |
23 |
if (outcome == 1) |
24 |
{ |
25 |
message[3] = "* How exciting! Here's a pen!"; |
26 |
message[4] = "* (You make a few scribbles on# one of the fellow's needles.)"; |
27 |
message[5] = "* Oh boy!"; |
28 |
message[6] = "* Hope you don't mind if I sell# that needle online!"; |
29 |
message[7] = "* Ta-ta!"; |
30 |
} |
31 |
if (outcome == 2) |
32 |
message[3] = "* Boo-hoo."; |
33 |
if (outcome != 0) |
34 |
{ |
35 |
waiter = 0; |
36 |
other.npc_flag++; |
37 |
} |
38 |
} |
39 |
break; |
40 |
case 1: |
41 |
waiter = 0; |
42 |
with (msg) |
43 |
{ |
44 |
portrait = false; |
45 |
sndfnt = 99; |
46 |
message[0] = "* Good luck with the new job! Ah# ha!!"; |
47 |
} |
48 |
break; |
49 |
} |
50 |
} |
51 |
else if (global.dunes_flag[24] == 2) |
52 |
{ |
53 |
waiter = 0; |
54 |
switch (npc_flag) |
55 |
{ |
56 |
case 0: |
57 |
with (msg) |
58 |
{ |
59 |
portrait = false; |
60 |
sndfnt = 99; |
61 |
message[0] = "* Why if it isn't the Deputy!\t"; |
62 |
message[1] = "* Do you think the Feisty Five# will ever get back together!\t"; |
63 |
message[2] = "* I hope-hope-hope they do!\t"; |
64 |
message[3] = "* It isn't any fun being apart,# no ho!"; |
65 |
} |
66 |
npc_flag += 1; |
67 |
break; |
68 |
case 1: |
69 |
with (msg) |
70 |
{ |
71 |
portrait = false; |
72 |
sndfnt = 99; |
73 |
message[0] = "* You're Star's right-hand man,# correct?\t"; |
74 |
message[1] = "* If you see him, tell him we# all miss his leadership!\t"; |
75 |
message[2] = "* That we do!"; |
76 |
} |
77 |
break; |
78 |
} |
79 |
} |
80 |
} |