1 |
event_inherited(); |
2 |
if (interact) |
3 |
{ |
4 |
if (global.party_member != -4) |
5 |
{ |
6 |
if (npc_flag < 3) |
7 |
npc_flag = 3; |
8 |
switch (npc_flag) |
9 |
{ |
10 |
case 3: |
11 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
12 |
with (msg) |
13 |
{ |
14 |
message[0] = "* Hello, sir!"; |
15 |
message[1] = "* I'm guessing you're the# boss of this# mine."; |
16 |
message[2] = "* Well, not for much# longer."; |
17 |
message[3] = "* Oh? Why's that?"; |
18 |
message[4] = "* I'm preparing for# retirement!"; |
19 |
message[5] = "* It'll be sad to leave# this place behind but I# feel it's time."; |
20 |
message[6] = "* Hey, that's not all# bad! I WISH I could# retire."; |
21 |
message[7] = "* Yeah, it'll be nice.# Just gotta find someone# to replace me."; |
22 |
message[8] = "* I have a few# ideas.\t"; |
23 |
message[9] = "* Well, good luck with# everything!"; |
24 |
message[10] = "* Thank you!"; |
25 |
prt[0] = 312; |
26 |
prt[1] = 328; |
27 |
prt[2] = 361; |
28 |
prt[3] = 311; |
29 |
prt[4] = 362; |
30 |
prt[5] = 359; |
31 |
prt[6] = 328; |
32 |
prt[7] = 359; |
33 |
prt[8] = 359; |
34 |
prt[9] = 312; |
35 |
prt[10] = 362; |
36 |
talker[0] = 1170; |
37 |
talker[2] = 1711; |
38 |
talker[3] = 1170; |
39 |
talker[4] = 1711; |
40 |
talker[6] = 1170; |
41 |
talker[7] = 1711; |
42 |
talker[9] = 1170; |
43 |
talker[10] = 1711; |
44 |
sndfnt_array[0] = 102; |
45 |
sndfnt_array[2] = 391; |
46 |
sndfnt_array[3] = 102; |
47 |
sndfnt_array[4] = 391; |
48 |
sndfnt_array[6] = 102; |
49 |
sndfnt_array[7] = 391; |
50 |
sndfnt_array[9] = 102; |
51 |
sndfnt_array[10] = 391; |
52 |
} |
53 |
npc_flag += 1; |
54 |
break; |
55 |
case 4: |
56 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
57 |
with (msg) |
58 |
{ |
59 |
message[0] = "* Finally figured out how# to turn these machines# off."; |
60 |
message[1] = "* Me and North Star need# to have a chat."; |
61 |
prt[0] = 359; |
62 |
prt[1] = 359; |
63 |
talker[0] = 1711; |
64 |
} |
65 |
break; |
66 |
} |
67 |
} |
68 |
else |
69 |
{ |
70 |
if (npc_flag >= 3) |
71 |
npc_flag = 0; |
72 |
switch (npc_flag) |
73 |
{ |
74 |
case 0: |
75 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
76 |
with (msg) |
77 |
{ |
78 |
talker[0] = 1711; |
79 |
message[0] = "* I figured out where# those boulders were# coming from.\t"; |
80 |
message[1] = "* Turns out North Star# set the machines up for# \"Feisty Missions.\"\t"; |
81 |
message[2] = "* Had a friendly chat# with him about it all.\t"; |
82 |
message[3] = "* He immediately# apologized so... I# forgave him.\t"; |
83 |
message[4] = "* How could I say no to# his overwhelming charm?\t"; |
84 |
message[5] = "* I'm only monster."; |
85 |
prt[0] = 359; |
86 |
prt[1] = 361; |
87 |
prt[2] = 359; |
88 |
prt[3] = 362; |
89 |
prt[4] = 361; |
90 |
prt[5] = 359; |
91 |
} |
92 |
npc_flag += 1; |
93 |
break; |
94 |
case 1: |
95 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
96 |
with (msg) |
97 |
{ |
98 |
talker[0] = 1711; |
99 |
message[0] = "* Things were already# running well earlier but# now they're even better!\t"; |
100 |
message[1] = "* Glad my legacy in this# place will be nothing# but positive memories!"; |
101 |
prt[0] = 362; |
102 |
prt[1] = 362; |
103 |
} |
104 |
npc_flag += 1; |
105 |
break; |
106 |
case 2: |
107 |
scr_textscr_textfunction scr_text()
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue);
} (); |
108 |
with (msg) |
109 |
{ |
110 |
talker[0] = 1711; |
111 |
message[0] = "* As my old man used to# say: mine on, kid!\t"; |
112 |
message[1] = "* ...\t"; |
113 |
message[2] = "* Okay, he uh... he never# said that. I said that.# Just now."; |
114 |
prt[0] = 359; |
115 |
prt[1] = 361; |
116 |
prt[2] = 359; |
117 |
} |
118 |
break; |
119 |
} |
120 |
} |
121 |
} |