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() //gml_Script_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. " |
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() //gml_Script_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 |
} |
69 |
else |
70 |
{ |
71 |
if (npc_flag >= 3) |
72 |
npc_flag = 0 |
73 |
switch npc_flag |
74 |
{ |
75 |
case 0: |
76 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
77 |
with (msg) |
78 |
{ |
79 |
talker[0] = 1711 |
80 |
message[0] = "* I figured out where# those boulders were# coming from. " |
81 |
message[1] = "* Turns out North Star# set the machines up for# \"Feisty Missions.\" " |
82 |
message[2] = "* Had a friendly chat# with him about it all. " |
83 |
message[3] = "* He immediately# apologized so... I# forgave him. " |
84 |
message[4] = "* How could I say no to# his overwhelming charm? " |
85 |
message[5] = "* I'm only monster." |
86 |
prt[0] = 359 |
87 |
prt[1] = 361 |
88 |
prt[2] = 359 |
89 |
prt[3] = 362 |
90 |
prt[4] = 361 |
91 |
prt[5] = 359 |
92 |
} |
93 |
npc_flag += 1 |
94 |
break |
95 |
case 1: |
96 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
97 |
with (msg) |
98 |
{ |
99 |
talker[0] = 1711 |
100 |
message[0] = "* Things were already# running well earlier but# now they're even better! " |
101 |
message[1] = "* Glad my legacy in this# place will be nothing# but positive memories!" |
102 |
prt[0] = 362 |
103 |
prt[1] = 362 |
104 |
} |
105 |
npc_flag += 1 |
106 |
break |
107 |
case 2: |
108 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
109 |
with (msg) |
110 |
{ |
111 |
talker[0] = 1711 |
112 |
message[0] = "* As my old man used to# say: mine on, kid! " |
113 |
message[1] = "* ... " |
114 |
message[2] = "* Okay, he uh... he never# said that. I said that.# Just now." |
115 |
prt[0] = 359 |
116 |
prt[1] = 361 |
117 |
prt[2] = 359 |
118 |
} |
119 |
break |
120 |
} |
121 |
|
122 |
} |
123 |
} |