1 |
execute_normal = false |
2 |
execute_random = false |
3 |
text_effect = "twitchy" |
4 |
text_effect_2 = "twitchy" |
5 |
color_count = 0 |
6 |
var enemy_mode = global.enemy_mode |
7 |
if (enemy_mode == 0) |
8 |
{ |
9 |
if (global.battle_enemy_name == "frostermit know cone duo") |
10 |
{ |
11 |
if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1) |
12 |
{ |
13 |
message[0] = "H-he wasn't#that annoying..." |
14 |
message_end = 0 |
15 |
} |
16 |
else |
17 |
execute_normal = true |
18 |
} |
19 |
else |
20 |
execute_normal = true |
21 |
if (execute_normal == true) |
22 |
{ |
23 |
if (global.last_action_selected == "Action 1 Low HP") |
24 |
{ |
25 |
text_effect = "circle" |
26 |
message[0] = "I-Igloo." |
27 |
message_end = 0 |
28 |
} |
29 |
else if (global.last_action_selected == "Action 1 Message 0") |
30 |
{ |
31 |
random_number = irandom_range(0, 1) |
32 |
if (random_number == 0) |
33 |
{ |
34 |
message[0] = "It's just an#igloo! Wait,#did you say#that already?" |
35 |
message_end = 0 |
36 |
} |
37 |
else if (random_number == 1) |
38 |
{ |
39 |
message[0] = "Yep, nothing to#see here!" |
40 |
message_end = 0 |
41 |
} |
42 |
} |
43 |
else if (global.last_action_selected == "Action 2 Low HP") |
44 |
{ |
45 |
text_effect_2 = "circle" |
46 |
message[0] = "What even is#that? I mean- " |
47 |
message_2[0] = " IGLOO ! !" |
48 |
message_end = 0 |
49 |
color_count = 1 |
50 |
} |
51 |
else if (global.last_action_selected == "Action 2 Message 0" || global.last_action_selected == "Action 2 Out") |
52 |
{ |
53 |
message[0] = "Um, hi... Can I#join?" |
54 |
message_end = 0 |
55 |
} |
56 |
else if (global.last_action_selected == "Action 3 Low HP") |
57 |
{ |
58 |
text_effect_2 = "circle" |
59 |
message[0] = "You don't mean#tha- " |
60 |
message_2[0] = " IGLOO IGLOO ! !" |
61 |
message_end = 0 |
62 |
color_count = 1 |
63 |
} |
64 |
else if (global.last_action_selected == "Action 3 Message 0") |
65 |
{ |
66 |
random_number = irandom_range(0, 1) |
67 |
if (random_number == 0) |
68 |
{ |
69 |
text_effect = "circle" |
70 |
message[0] = "Appreciative#igloo noise!" |
71 |
message_end = 0 |
72 |
} |
73 |
else if (random_number == 1) |
74 |
{ |
75 |
text_effect_2 = "circle" |
76 |
message[0] = "Thanks- I mean# " |
77 |
message_2[0] = " #igloO !" |
78 |
message_end = 0 |
79 |
color_count = 1 |
80 |
} |
81 |
} |
82 |
else if (global.enemy_low_hp == true) |
83 |
{ |
84 |
random_number = irandom_range(0, 1) |
85 |
if (random_number == 0) |
86 |
{ |
87 |
text_effect = "circle" |
88 |
message[0] = "IGLOO IGLOO ! !" |
89 |
message_end = 0 |
90 |
} |
91 |
else if (random_number == 1) |
92 |
{ |
93 |
text_effect_2 = "circle" |
94 |
message[0] = "Ow... I mean- " |
95 |
message_2[0] = " #IGLOO NOISES ! !" |
96 |
message_end = 0 |
97 |
color_count = 1 |
98 |
} |
99 |
} |
100 |
else |
101 |
{ |
102 |
if (global.battle_enemy_name == "frostermit know cone duo") |
103 |
{ |
104 |
if ((global.enemy_dead_2 + global.enemy_spared_2) < 1) |
105 |
{ |
106 |
random_number = irandom_range(0, 1) |
107 |
if (random_number == 0) |
108 |
{ |
109 |
text_effect = "circle" |
110 |
message[0] = "I-Igloo?" |
111 |
message_end = 0 |
112 |
} |
113 |
else if (random_number == 1) |
114 |
{ |
115 |
text_effect = "circle" |
116 |
message[0] = "Repelling#igloo sounds!" |
117 |
message_end = 0 |
118 |
} |
119 |
} |
120 |
else |
121 |
execute_random = true |
122 |
} |
123 |
else |
124 |
execute_random = true |
125 |
if (execute_random == true) |
126 |
{ |
127 |
random_number = irandom_range(0, 1) |
128 |
if (random_number == 0) |
129 |
{ |
130 |
text_effect = "circle" |
131 |
message[0] = "Igloo igloo." |
132 |
message_end = 0 |
133 |
} |
134 |
else if (random_number == 1) |
135 |
{ |
136 |
text_effect = "circle" |
137 |
message[0] = "Igloo noises." |
138 |
message_end = 0 |
139 |
} |
140 |
} |
141 |
} |
142 |
} |
143 |
} |
144 |
if (enemy_mode == 1) |
145 |
{ |
146 |
if (global.battle_enemy_name == "frostermit know cone duo") |
147 |
{ |
148 |
if (global.enemy_dead_2 == true && global.fight_number == 2 && global.battle_menu_number == 1) |
149 |
{ |
150 |
message[0] = "H-he wasn't#that annoying..." |
151 |
message_end = 0 |
152 |
} |
153 |
else |
154 |
execute_normal = true |
155 |
} |
156 |
else |
157 |
execute_normal = true |
158 |
if (execute_normal == true) |
159 |
{ |
160 |
if (global.last_action_selected == "Action 1 Low HP") |
161 |
{ |
162 |
message[0] = "You better watch#out. My pinchers#are fierce." |
163 |
message_end = 0 |
164 |
} |
165 |
else if (global.last_action_selected == "Action 1 Message 0") |
166 |
{ |
167 |
random_number = irandom_range(0, 1) |
168 |
if (random_number == 0) |
169 |
{ |
170 |
message[0] = "There's nothing#to stare at...#is there?" |
171 |
message_end = 0 |
172 |
} |
173 |
else if (random_number == 1) |
174 |
{ |
175 |
message[0] = "That's a little#rude ya know..." |
176 |
message_end = 0 |
177 |
} |
178 |
} |
179 |
else if (global.last_action_selected == "Action 2 Low HP") |
180 |
{ |
181 |
message[0] = "Wannabe." |
182 |
message_end = 0 |
183 |
} |
184 |
else if (global.last_action_selected == "Action 2 Message 0") |
185 |
{ |
186 |
random_number = irandom_range(0, 1) |
187 |
if (random_number == 0) |
188 |
{ |
189 |
message[0] = "Next time I'll#lead!" |
190 |
message_end = 0 |
191 |
} |
192 |
else if (random_number == 1) |
193 |
{ |
194 |
message[0] = "Can you come#dance with me#more often?" |
195 |
message_end = 0 |
196 |
} |
197 |
} |
198 |
else if (global.last_action_selected == "Action 2 Out") |
199 |
{ |
200 |
message[0] = "Um, hi... Can I#join?" |
201 |
message_end = 0 |
202 |
} |
203 |
else if (global.last_action_selected == "Action 3 Low HP") |
204 |
{ |
205 |
message[0] = "..." |
206 |
message_end = 0 |
207 |
} |
208 |
else if (global.last_action_selected == "Action 3 Message 0") |
209 |
{ |
210 |
message[0] = "Really?!#Ninja-like?!" |
211 |
message_end = 0 |
212 |
} |
213 |
else if (global.enemy_low_hp == true) |
214 |
{ |
215 |
random_number = irandom_range(0, 1) |
216 |
if (random_number == 0) |
217 |
{ |
218 |
message[0] = "Looks like I'm#in a bit of a#pinch..." |
219 |
message_end = 0 |
220 |
} |
221 |
else if (random_number == 1) |
222 |
{ |
223 |
message[0] = "My home..." |
224 |
message_end = 0 |
225 |
} |
226 |
} |
227 |
else |
228 |
{ |
229 |
if (global.battle_enemy_name == "frostermit know cone duo") |
230 |
{ |
231 |
if ((global.enemy_dead_2 + global.enemy_spared_2) < 1) |
232 |
{ |
233 |
random_number = irandom_range(0, 1) |
234 |
if (random_number == 0) |
235 |
{ |
236 |
text_effect = "circle" |
237 |
message[0] = "*shudder shudder*" |
238 |
message_end = 0 |
239 |
} |
240 |
else if (random_number == 1) |
241 |
{ |
242 |
message[0] = "I was not#prepared for this." |
243 |
message_end = 0 |
244 |
} |
245 |
} |
246 |
else |
247 |
execute_random = true |
248 |
} |
249 |
else |
250 |
execute_random = true |
251 |
if (execute_random == true) |
252 |
{ |
253 |
random_number = irandom_range(0, 4) |
254 |
if (random_number == 0) |
255 |
{ |
256 |
text_effect = "circle" |
257 |
message[0] = "*tap tap*" |
258 |
message_end = 0 |
259 |
} |
260 |
else if (random_number == 1) |
261 |
{ |
262 |
text_effect = "circle" |
263 |
message[0] = "*pinch pinch*" |
264 |
message_end = 0 |
265 |
} |
266 |
else if (random_number == 2) |
267 |
{ |
268 |
text_effect = "circle" |
269 |
message[0] = "*snap snap*" |
270 |
message_end = 0 |
271 |
} |
272 |
else if (random_number == 3) |
273 |
{ |
274 |
message[0] = "You like to#groove?" |
275 |
message_end = 0 |
276 |
} |
277 |
else if (random_number == 4) |
278 |
{ |
279 |
message[0] = "I know some#sick scuttles." |
280 |
message_end = 0 |
281 |
} |
282 |
} |
283 |
} |
284 |
} |
285 |
} |
286 |
message_current = 0 |
287 |
message_draw = "" |
288 |
increase = global.text_speed |
289 |
characters = 0 |
290 |
hold = 0 |
291 |
message_length = string_length(message[message_current]) |
292 |
script_execute(gml_Script_scr_generate_text_counters) |
293 |
circle_text_angle = global.circle_text_angle_default |
294 |
circle_text_angle_direction = 1 |