1 |
event_inherited() |
2 |
if (interact && waiter == 0) |
3 |
waiter = 1 |
4 |
if (waiter == 1) |
5 |
{ |
6 |
scr_textscr_textfunction scr_text() //gml_Script_scr_text
{
if (!instance_exists(obj_dialogue))
msg = instance_create(x, y, obj_dialogue)
} () |
7 |
switch npc_flag |
8 |
{ |
9 |
case 0: |
10 |
with (msg) |
11 |
{ |
12 |
portrait = false |
13 |
sndfnt = 434 |
14 |
talker[0] = other |
15 |
ch_msg = 4 |
16 |
ch[1] = "Housing" |
17 |
ch[2] = "Future" |
18 |
message[0] = "* Clover!" |
19 |
message[1] = "* Hello!" |
20 |
message[2] = "* You sort of caught me# in the middle of moving," |
21 |
message[3] = "* But I don't mind taking# a break to chat!" |
22 |
message[4] = "* What's on your mind?" |
23 |
prt[0] = 1761 |
24 |
prt[1] = 1773 |
25 |
prt[2] = 1769 |
26 |
prt[3] = 1773 |
27 |
prt[4] = 1769 |
28 |
if (outcome == 1) |
29 |
{ |
30 |
message[5] = "* Oh, see this structure# here?" |
31 |
message[6] = "* I have claimed it as my# new residency!" |
32 |
message[7] = "* Of course, it's in no# state for living at the# moment." |
33 |
message[8] = "* I will definitely need# help on the construction# end of things." |
34 |
message[9] = "* Not sure if Pops will# like the close quarters# but..." |
35 |
message[10] = "* I'm sure he'll get over# it." |
36 |
message[11] = "* He has a tendency to# get a big head from time# to time." |
37 |
message[12] = "* We're working on it..." |
38 |
prt[5] = 1769 |
39 |
prt[6] = 1761 |
40 |
prt[7] = 1765 |
41 |
prt[8] = 1769 |
42 |
prt[9] = 1780 |
43 |
prt[10] = 1769 |
44 |
prt[11] = 1776 |
45 |
prt[12] = 1755 |
46 |
other.waiter = 0 |
47 |
other.npc_flag += 1 |
48 |
} |
49 |
if (outcome == 2) |
50 |
{ |
51 |
message[5] = "* Um, well, I haven't# made a concrete plan# yet." |
52 |
message[6] = "* Taking things one step# at a time." |
53 |
message[7] = "* If you remember, I# tossed some ideas around# before you left my home." |
54 |
message[8] = "* Gotta say, the concert# idea in particular is# temping!" |
55 |
message[9] = "* ...If I can work up the# courage to go through# with such a thing." |
56 |
message[10] = "* Maybe I'll brush up on# my organ skills in the# meantime?" |
57 |
message[11] = "* Practice makes perfect!" |
58 |
prt[5] = 1765 |
59 |
prt[6] = 1773 |
60 |
prt[7] = 1769 |
61 |
prt[8] = 1761 |
62 |
prt[9] = 1780 |
63 |
prt[10] = 1769 |
64 |
prt[11] = 1773 |
65 |
other.waiter = 0 |
66 |
other.npc_flag += 1 |
67 |
} |
68 |
} |
69 |
break |
70 |
case 1: |
71 |
with (msg) |
72 |
{ |
73 |
portrait = false |
74 |
sndfnt = 434 |
75 |
talker[0] = other |
76 |
message[0] = "* I hadn't thought of it# until now but..." |
77 |
message[1] = "* We might have a crisis# on our hands." |
78 |
message[2] = "* Half of my luggage here# is stocked with corn." |
79 |
message[3] = "* Enough to last a week# at most, but what then?" |
80 |
message[4] = "* I suppose I could trek# back to my field..." |
81 |
message[5] = "* But still, that will# only get me so far." |
82 |
message[6] = "* I don't want to deal# with corn withdrawals!" |
83 |
message[7] = "* Hmm... " |
84 |
message[8] = "* I will be mulling over# this for some time." |
85 |
message[9] = "* Don't mind me." |
86 |
prt[0] = 1763 |
87 |
prt[1] = 1780 |
88 |
prt[2] = 1759 |
89 |
prt[3] = 1759 |
90 |
prt[4] = 1780 |
91 |
prt[5] = 1776 |
92 |
prt[6] = 1755 |
93 |
prt[7] = 1780 |
94 |
prt[8] = 1755 |
95 |
prt[9] = 1776 |
96 |
} |
97 |
waiter = 0 |
98 |
npc_flag = 2 |
99 |
break |
100 |
case 2: |
101 |
with (msg) |
102 |
{ |
103 |
portrait = false |
104 |
sndfnt = 434 |
105 |
talker[0] = other |
106 |
message[0] = "* So, have you been# journeying through the# Underground?" |
107 |
message[1] = "* Your bravery is# inspiring!" |
108 |
message[2] = "* The Ruins were only the# beginning of your# obstacles, I'm sure." |
109 |
message[3] = "* I... do regret troubling# you. Very much so." |
110 |
message[4] = "* But, with a# glass-half-full# mindset..." |
111 |
message[5] = "* Fighting a low-level# monster first was good# training, right?" |
112 |
message[6] = "* There are some pretty# scary encounters to be# had out there." |
113 |
message[7] = "* I'm nothing compared to# them..." |
114 |
message[8] = "* So please stay safe!" |
115 |
prt[0] = 1773 |
116 |
prt[1] = 1769 |
117 |
prt[2] = 1769 |
118 |
prt[3] = 1780 |
119 |
prt[4] = 1776 |
120 |
prt[5] = 1773 |
121 |
prt[6] = 1776 |
122 |
prt[7] = 1780 |
123 |
prt[8] = 1773 |
124 |
} |
125 |
waiter = 0 |
126 |
npc_flag = 3 |
127 |
break |
128 |
case 3: |
129 |
with (msg) |
130 |
{ |
131 |
portrait = false |
132 |
sndfnt = 434 |
133 |
talker[0] = other |
134 |
message[0] = "* You know, I find it# strange." |
135 |
message[1] = "* We only met mere hours# ago but for some# reason..." |
136 |
message[2] = "* It feels like I've# known you for years." |
137 |
message[3] = "* Time is truly the# puzzle we will never# solve." |
138 |
prt[0] = 1765 |
139 |
prt[1] = 1776 |
140 |
prt[2] = 1769 |
141 |
prt[3] = 1773 |
142 |
} |
143 |
waiter = 0 |
144 |
npc_flag = 4 |
145 |
break |
146 |
case 4: |
147 |
with (msg) |
148 |
{ |
149 |
portrait = false |
150 |
sndfnt = 434 |
151 |
talker[0] = other |
152 |
message[0] = "* Well, I better get back# to it." |
153 |
message[1] = "* I wish you all the luck# in the world, Clover!" |
154 |
message[2] = "* Go do for others what# you did for me!" |
155 |
prt[0] = 1769 |
156 |
prt[1] = 1773 |
157 |
prt[2] = 1769 |
158 |
} |
159 |
waiter = 0 |
160 |
break |
161 |
} |
162 |
|
163 |
} |