1 |
if (type == 0) |
2 |
{ |
3 |
if (con == 1) |
4 |
{ |
5 |
x = __view_get(e__VW.XView, 0) + 800; |
6 |
image_speed = 0.2; |
7 |
sprite_index = spr_smallchecker_front; |
8 |
global.interact = 1; |
9 |
s = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-100, global.cinstance[1].y, spr_susier_dark); |
10 |
r = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-50, global.cinstance[0].y, spr_ralseir); |
11 |
k = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (0, obj_mainchara.y, spr_krisr_dark); |
12 |
with (obj_caterpillarchara) |
13 |
visible = 0; |
14 |
with (obj_mainchara) |
15 |
visible = 0; |
16 |
with (obj_marker) |
17 |
{ |
18 |
hspeed = 5; |
19 |
image_speed = 0.2; |
20 |
} |
21 |
l = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (500, obj_mainchara.y, spr_lancer_rt); |
22 |
con = -50; |
23 |
alarm[4] = 28; |
24 |
} |
25 |
if (con == -49) |
26 |
{ |
27 |
snd_free_all(); |
28 |
with (obj_marker) |
29 |
scr_halt(); |
30 |
con = -48; |
31 |
alarm[4] = 15; |
32 |
} |
33 |
if (con == -47) |
34 |
{ |
35 |
global.typer = 32; |
36 |
global.fc = 5; |
37 |
global.fe = 0; |
38 |
name = ; |
39 |
if (global.flag[214 team_name] == 1) |
40 |
name = (name I'm not allowed to say). ; |
41 |
if (global.flag[214 team_name] == 2) |
42 |
name = ; |
43 |
if (global.flag[214 team_name] == 3) |
44 |
name = ; |
45 |
global.msg[0] = * Hohoho...Delay 11 * Well STEP on my BOOTS.Wait for input ; |
46 |
global.msg[1] = + name + "/"; |
47 |
global.msg[2] = * You boys or girls had better turn back while you can.Wait for input ; |
48 |
scr_ralface(3, 3); |
49 |
global.msg[4] = * Lancer!!! * What is it this time!?Wait for input ; |
50 |
scr_lanface(5, 1); |
51 |
global.msg[6] = * Hohoho...Delay 11 * I'm simply warning you...!Wait for inputClose Message ; |
52 |
instance_create(0, 0, obj_dialoguer); |
53 |
con = -46; |
54 |
warnpitch = 0; |
55 |
} |
56 |
if (con == -46 && !d_ex()) |
57 |
{ |
58 |
hitnoise = snd_play(snd_orchhit); |
59 |
snd_pitch(hitnoise, 1 + (warnpitch / 16)); |
60 |
with (l) |
61 |
{ |
62 |
sprite_index = spr_lancer_lt; |
63 |
hspeed = -10; |
64 |
} |
65 |
con = -45; |
66 |
alarm[4] = 3; |
67 |
} |
68 |
if (con == -44) |
69 |
{ |
70 |
with (l) |
71 |
scr_halt(); |
72 |
con = -43; |
73 |
alarm[4] = 15; |
74 |
} |
75 |
if (con == -42) |
76 |
{ |
77 |
global.fe = 2; |
78 |
global.msg[0] = * Something EXTREMELY dangerous is lying ahead!Wait for inputClose Message ; |
79 |
if (warnpitch == 1) |
80 |
{ |
81 |
global.fe = 1; |
82 |
global.msg[0] = * Hohoho!Delay 11 It's actually really inconvenient!Wait for inputClose Message ; |
83 |
} |
84 |
if (warnpitch == 2) |
85 |
{ |
86 |
global.fe = 3; |
87 |
global.msg[0] = * Ha!Delay 11 I can't go home at all because I'm so scared!Wait for input ; |
88 |
scr_susface(1, 9); |
89 |
global.msg[2] = * Wh...Delay 11 What is it!?Wait for inputClose Message ; |
90 |
} |
91 |
instance_create(0, 0, obj_dialoguer); |
92 |
if (warnpitch < 2) |
93 |
{ |
94 |
con = -46; |
95 |
warnpitch += 1; |
96 |
} |
97 |
else |
98 |
{ |
99 |
con = -40; |
100 |
} |
101 |
} |
102 |
if (con == -40 && !d_ex()) |
103 |
{ |
104 |
ltimer = 0; |
105 |
with (obj_marker) |
106 |
{ |
107 |
if (sprite_index != spr_lancer_lt) |
108 |
{ |
109 |
hspeed = 5; |
110 |
image_speed = 0.25; |
111 |
} |
112 |
else |
113 |
{ |
114 |
sprite_index = spr_lancer_dt; |
115 |
vspeed = -2; |
116 |
depth = 100000; |
117 |
} |
118 |
} |
119 |
con = -10; |
120 |
alarm[4] = 96; |
121 |
} |
122 |
if (con == -10) |
123 |
{ |
124 |
ltimer += 1; |
125 |
if (ltimer >= 20) |
126 |
{ |
127 |
with (l) |
128 |
scr_halt(); |
129 |
} |
130 |
if (k.x >= 140) |
131 |
obj_mainchara.x = k.x; |
132 |
global.interact = 1; |
133 |
} |
134 |
if (con == -9) |
135 |
{ |
136 |
snd_free_all(); |
137 |
global.facing = 1; |
138 |
con = -8; |
139 |
with (obj_marker) |
140 |
scr_halt(); |
141 |
obj_mainchara.x = k.x; |
142 |
obj_mainchara.visible = 1; |
143 |
obj_mainchara.cutscene = 1; |
144 |
with (l) |
145 |
sprite_index = spr_lancer_rt; |
146 |
with (k) |
147 |
instance_destroy(); |
148 |
alarm[4] = 16; |
149 |
scr_panscr_panfunction scr_pan(arg0, arg1, arg2)
{
panner = instance_create(0, 0, obj_panner);
panner.panmax = arg2;
panner.panx = arg0;
panner.pany = arg1;
} (5, 0, 16); |
150 |
} |
151 |
if (con == -7) |
152 |
{ |
153 |
global.fc = 2; |
154 |
global.fe = 8; |
155 |
global.typer = 31; |
156 |
global.msg[0] = * Oh,Delay 11 hey,Delay 11 little guy...Wait for input ; |
157 |
scr_susface(1, 6); |
158 |
global.msg[2] = * THAT???Delay 11 THAT'S what you're afraid of???Wait for input ; |
159 |
scr_lanface(3, 3); |
160 |
global.msg[4] = * W...Delay 11 Wow,Delay 11 purple girl!Delay 11 * You aren't scared!?Wait for input ; |
161 |
scr_susface(5, 2); |
162 |
global.msg[6] = * Heh,Delay 11 why would I be?Delay 11 What's it gonna do?Wait for input ; |
163 |
scr_lanface(7, 6); |
164 |
global.msg[8] = * Hmm,Delay 11 well,Delay 11 normally...Wait for inputClose Message ; |
165 |
con = -5.2; |
166 |
instance_create(0, 0, obj_dialoguer); |
167 |
} |
168 |
if (con == -5.2 && d_ex() == 0) |
169 |
{ |
170 |
sprite_index = spr_smallchecker_idle; |
171 |
image_index = 0; |
172 |
x += 40; |
173 |
image_xscale = -2; |
174 |
hspeed = 2; |
175 |
con = 2; |
176 |
} |
177 |
if (con == 2) |
178 |
{ |
179 |
if (x > (__view_get(e__VW.XView, 0) + 520)) |
180 |
{ |
181 |
image_index = 0; |
182 |
image_xscale = 2; |
183 |
sprite_index = spr_smallchecker_front; |
184 |
hspeed = 0; |
185 |
x = __view_get(e__VW.XView, 0) + 480; |
186 |
con = 1.1; |
187 |
alarm[4] = 30; |
188 |
} |
189 |
} |
190 |
if (con == 2.1) |
191 |
{ |
192 |
snd_play(snd_boost); |
193 |
for (j = 0; j < 3; j += 1) |
194 |
{ |
195 |
tile[j] = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} ((480 - (j * 40)) + 400, 240 + (j * 40), spr_checkertile_bullet); |
196 |
tile[j].image_alpha = 0; |
197 |
tile[j].depth = 700000; |
198 |
} |
199 |
ttimer = 0; |
200 |
con = 2.2; |
201 |
} |
202 |
if (con == 2.2) |
203 |
{ |
204 |
for (j = 0; j < 3; j += 1) |
205 |
tile[j].image_alpha += 0.1; |
206 |
ttimer += 1; |
207 |
if (ttimer >= 10) |
208 |
con = 2.3; |
209 |
} |
210 |
if (con == 2.3) |
211 |
{ |
212 |
for (j = 0; j < 3; j += 1) |
213 |
tile[j].image_alpha -= 0.1; |
214 |
ttimer += 1; |
215 |
if (ttimer >= 30) |
216 |
con = 3.1; |
217 |
} |
218 |
if (con == 3.1) |
219 |
con = 4; |
220 |
if (con == 4) |
221 |
{ |
222 |
sprite_index = spr_smallchecker_front; |
223 |
image_speed = 0; |
224 |
image_index = 0; |
225 |
crown = instance_create(x + 8, __view_get(e__VW.YView, 0) - 40, obj_marker); |
226 |
crown.image_xscale = 2; |
227 |
crown.image_yscale = 2; |
228 |
crown.sprite_index = spr_smallchecker_crown; |
229 |
crown.vspeed = 4; |
230 |
crown.depth = depth - 1; |
231 |
con = 5; |
232 |
} |
233 |
if (con == 5) |
234 |
{ |
235 |
if (crown.y >= (y - 10)) |
236 |
{ |
237 |
sprite_index = spr_smallchecker_transform; |
238 |
y += 2; |
239 |
snd_play(snd_shineselect); |
240 |
with (crown) |
241 |
instance_destroy(); |
242 |
con = 6; |
243 |
alarm[4] = 50; |
244 |
} |
245 |
} |
246 |
if (con == 7) |
247 |
{ |
248 |
snd_play(snd_crowngrowth); |
249 |
image_speed = 0.25; |
250 |
con = 8; |
251 |
} |
252 |
if (con == 8) |
253 |
{ |
254 |
image_speed += 0.01; |
255 |
if (image_speed >= 0.4) |
256 |
{ |
257 |
image_index = 1; |
258 |
image_speed = 0; |
259 |
con = 9; |
260 |
alarm[4] = 60; |
261 |
} |
262 |
} |
263 |
if (con == 10) |
264 |
{ |
265 |
image_index = 0; |
266 |
sprite_index = spr_smallchecker_transform2; |
267 |
image_speed = 0.334; |
268 |
con = 11; |
269 |
} |
270 |
if (con == 11) |
271 |
{ |
272 |
if (image_index >= 4) |
273 |
{ |
274 |
image_index = 4; |
275 |
image_speed = 0; |
276 |
con = 12; |
277 |
alarm[4] = 40; |
278 |
} |
279 |
} |
280 |
if (con == 13) |
281 |
{ |
282 |
x -= 18; |
283 |
y -= 90; |
284 |
snd_play(snd_impact); |
285 |
with (s) |
286 |
sprite_index = spr_susie_shock_r; |
287 |
with (r) |
288 |
sprite_index = spr_ralsei_shock_overworld; |
289 |
instance_create(0, 0, obj_shake); |
290 |
sprite_index = spr_checkers_idle; |
291 |
image_speed = 0; |
292 |
image_index = 0; |
293 |
con = 16; |
294 |
alarm[4] = 30; |
295 |
} |
296 |
if (con == 17) |
297 |
{ |
298 |
with (r) |
299 |
sprite_index = spr_ralseir; |
300 |
with (s) |
301 |
sprite_index = spr_susier_dark; |
302 |
global.fe = 6; |
303 |
global.msg[0] = * It crushes people to death,Delay 11 I think.Wait for inputClose Message ; |
304 |
con = 18; |
305 |
instance_create(0, 0, obj_dialoguer); |
306 |
} |
307 |
if (con == 18 && !d_ex()) |
308 |
{ |
309 |
scr_unmarkify_caterpillarscr_unmarkify_caterpillarfunction scr_unmarkify_caterpillar()
{
for (i = 0; i < 2; i += 1)
{
if (instance_exists(global.cinstance[i]))
{
if (global.char[i + 1] == 2)
{
if (global.cinstance[i].x != s.x || global.cinstance[i].y != s.x)
{
global.cinstance[i].x = s.x;
global.cinstance[i].y = s.y + 10;
with (global.cinstance[i])
scr_caterpillar_interpolate();
global.cinstance[i].y -= 10;
}
with (global.cinstance[i])
{
if (global.facing == 0)
sprite_index = dsprite;
if (global.facing == 1)
sprite_index = rsprite;
if (global.facing == 2)
sprite_index = usprite;
if (global.facing == 3)
sprite_index = lsprite;
visible = 1;
}
with (s)
instance_destroy();
}
if (global.char[i + 1] == 3)
{
if (global.cinstance[i].x != r.x || global.cinstance[i].y != r.x)
{
global.cinstance[i].x = r.x;
global.cinstance[i].y = r.y + 10;
with (global.cinstance[i])
scr_caterpillar_interpolate();
global.cinstance[i].y -= 10;
}
with (global.cinstance[i])
{
if (global.facing == 0)
sprite_index = dsprite;
if (global.facing == 1)
sprite_index = rsprite;
if (global.facing == 2)
sprite_index = usprite;
if (global.facing == 3)
sprite_index = lsprite;
visible = 1;
}
with (r)
instance_destroy();
}
}
}
} (); |
310 |
global.facing = 1; |
311 |
scr_caterpillar_facing(global.facing); |
312 |
global.encounterno = 12; |
313 |
scr_encountersetupscr_encountersetupfunction scr_encountersetup(arg0)
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
for (i = 0; i < 3; i += 1)
{
global.heromakex[i] = xx + 80;
global.heromakey[i] = yy + 50 + (80 * i);
global.monsterinstancetype[i] = obj_lancerboss;
global.monstertype[i] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[i] = xx + 540;
global.monstermakey[i] = yy + 160 + (80 * i);
}
if (global.char[0] != 0 && global.char[1] == 0 && global.char[2] == 0)
global.heromakey[0] = yy + 140;
if (global.char[0] != 0 && global.char[1] != 0 && global.char[2] == 0)
{
global.heromakey[0] = yy + 100;
global.heromakey[1] = yy + 180;
}
switch (arg0)
{
case 0:
break;
case 1:
global.monsterinstancetype[0] = obj_placeholderenemy;
global.monstertype[0] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_placeholderenemy;
global.monstertype[1] = 1 Enemy (placeholder/G-BODY);
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
break;
case 2:
global.monsterinstancetype[0] = obj_lancerboss;
global.monstertype[0] = 2 Lancer;
global.monstermakex[0] = xx + 540;
global.monstermakey[0] = yy + 200;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 3:
global.monsterinstancetype[0] = obj_dummyenemy;
global.monstertype[0] = 3 Dummy;
global.monstermakex[0] = xx + 500;
global.monstermakey[0] = yy + 160;
if (instance_exists(obj_npc_room))
{
global.monstermakex[0] = obj_npc_room.xstart;
global.monstermakey[0] = obj_npc_room.ystart;
}
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
break;
case 4:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 140;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
global.battlemsg[0] = ;
if ( global.flag[500 times_rudinn_fought] >= 1)
global.battlemsg[0] = * A different Rudinn from last time drew near! ;
if ( global.flag[500 times_rudinn_fought] == 2)
global.battlemsg[0] = * Assumedly another different Rudinn appeared! ;
break;
case 5:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_diamondenemy;
global.monstertype[1] = 5 Rudinn;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = * A necklace of Rudinns blocks your path. ;
break;
case 6:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5 Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_heartenemy;
global.monstertype[1] = 6 Hathy;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0 (None);
global.battlemsg[0] = * Rudinn and Hathy blocked the way! ;
break;
case 7:
global.monsterinstancetype[0] = obj_smallcheckers_enemy;
global.monstertype[0] = 9 C.Round;
global.monstermakex[0] = xx + 440;
global.monstermakey[0] = yy + 150;
global.monstertype[1] = 0 (None);
global.monstertype[2] = 0 (None);
global.battlemsg[0] = * C. Round attacked violently! * (You recall Ralsei's advice to include Susie in an ACT.) ;
... (global.encounterno); |
314 |
global.flag[9 battle_music] = 1; |
315 |
global.batmusic[0] = snd_init("checkers.ogg"); |
316 |
global.specialbattle = 3; |
317 |
instance_create(0, 0, obj_encounterbasic); |
318 |
instance_create(0, 0, obj_battleback); |
319 |
depth = 4000; |
320 |
scr_move_to_point_over_time(global.monstermakex[0], global.monstermakey[0], 20); |
321 |
con = 19; |
322 |
alarm[4] = 20; |
323 |
} |
324 |
if (con == 20) |
325 |
{ |
326 |
speed = 0; |
327 |
con = 21; |
328 |
alarm[4] = 10; |
329 |
} |
330 |
if (con == 22) |
331 |
{ |
332 |
visible = 0; |
333 |
type = 2; |
334 |
con = 0; |
335 |
victimer = 0; |
336 |
} |
337 |
} |
338 |
if (type == 1) |
339 |
{ |
340 |
if (con == 1) |
341 |
{ |
342 |
image_speed = 0; |
343 |
image_index = 0; |
344 |
crown = instance_create(x + 24, y + 10, obj_marker); |
345 |
crown.image_xscale = 2; |
346 |
crown.image_yscale = 2; |
347 |
crown.sprite_index = spr_smallchecker_crown; |
348 |
crown.depth = depth - 1; |
349 |
sprite_index = spr_smallchecker_transform3; |
350 |
con = 0.4; |
351 |
windsound = 0; |
352 |
alarm[4] = 30; |
353 |
} |
354 |
if (con == 1.4) |
355 |
{ |
356 |
if (windsound == 0) |
357 |
{ |
358 |
snd_play(snd_whistlebreath); |
359 |
windsound = 1; |
360 |
} |
361 |
if (secondtime == 0) |
362 |
crown.hspeed += 0.2; |
363 |
else |
364 |
crown.hspeed += 0.4; |
365 |
if (crown.hspeed >= 3) |
366 |
con = 1.5; |
367 |
} |
368 |
if (con == 1.5) |
369 |
{ |
370 |
with (crown) |
371 |
{ |
372 |
maxy = obj_checker_animtest.y + obj_checker_animtest.sprite_height; |
373 |
image_angle = -45; |
374 |
y -= 10; |
375 |
gravity = 0.5; |
376 |
hspeed = 5; |
377 |
friction = 0.2; |
378 |
} |
379 |
con = 1.6; |
380 |
} |
381 |
if (con == 1.6) |
382 |
{ |
383 |
if (crown.y >= (crown.maxy - crown.sprite_height - 10)) |
384 |
{ |
385 |
crown.y += 10; |
386 |
crown.image_angle = 0; |
387 |
crown.gravity = 0; |
388 |
crown.vspeed = 0; |
389 |
crown.friction = 0; |
390 |
crown.hspeed = 1; |
391 |
con = 0.9; |
392 |
alarm[4] = 30; |
393 |
if (secondtime == 1) |
394 |
{ |
395 |
alarm[4] = 10; |
396 |
interactcrown = instance_create(crown.x, crown.y, obj_readable_room1); |
397 |
interactcrown.hspeed = 1; |
398 |
interactcrown.image_xscale = 1.6; |
399 |
interactcrown.image_yscale = 1; |
400 |
} |
401 |
} |
402 |
} |
403 |
if (con == 1.9) |
404 |
{ |
405 |
image_speed = 0.25; |
406 |
snd_play(snd_crownshrink); |
407 |
con = 2.1; |
408 |
} |
409 |
if (con == 2.1) |
410 |
{ |
411 |
image_speed += 0.01; |
412 |
if (secondtime == 1) |
413 |
image_speed += 0.01; |
414 |
if (image_speed >= 0.4) |
415 |
{ |
416 |
image_index = 1; |
417 |
image_speed = 0; |
418 |
con = 3; |
419 |
maxy = (y + sprite_height) - 30; |
420 |
alarm[4] = 30; |
421 |
if (secondtime == 1) |
422 |
alarm[4] = 10; |
423 |
} |
424 |
} |
425 |
if (con == 4) |
426 |
{ |
427 |
x += 40; |
428 |
y += 46; |
429 |
sprite_index = spr_smallchecker_legtuck; |
430 |
image_index = 0; |
431 |
image_speed = 0.25; |
432 |
vspeed = -3; |
433 |
gravity = 1; |
434 |
if (secondtime == 1) |
435 |
{ |
436 |
vspeed = -6; |
437 |
gravity = 2; |
438 |
image_speed = 0.5; |
439 |
} |
440 |
con = 5; |
441 |
} |
442 |
if (con == 5) |
443 |
{ |
444 |
if (image_index >= 2) |
445 |
image_speed = 0; |
446 |
if (y >= (maxy - 4)) |
447 |
{ |
448 |
y = maxy; |
449 |
gravity = 0; |
450 |
vspeed = 0; |
451 |
con = 6; |
452 |
alarm[4] = 30; |
453 |
if (secondtime == 1) |
454 |
alarm[4] = 10; |
455 |
} |
456 |
} |
457 |
if (con == 7) |
458 |
{ |
459 |
image_angle -= 5; |
460 |
hspeed = 3; |
461 |
if (secondtime == 1) |
462 |
{ |
463 |
hspeed = 6; |
464 |
image_angle -= 5; |
465 |
} |
466 |
if (x >= (__view_get(e__VW.XView, 0) + 720)) |
467 |
{ |
468 |
con = 8; |
469 |
global.monster[0] = 0; |
470 |
global.monster[1] = 0; |
471 |
global.monster[2] = 0; |
472 |
scr_attackphasescr_attackphasefunction scr_attackphase()
{
with (obj_battlecontroller)
{
techwon = 0;
if ( scr_monsterpop() == 0)
techwon = 1;
if (techwon == 0)
{
fightphase = 1;
global.charturn = 3;
if (global.charaction[0] == 4 || global.charaction[0] == 2)
fightphase = 0;
if (global.charaction[1] == 4 || global.charaction[1] == 2)
fightphase = 0;
if (global.charaction[2] == 4 || global.charaction[2] == 2)
fightphase = 0;
if (global.myfight == 4)
fightphase = 1;
if (fightphase == 1)
{
global.myfight = 1;
instance_create(xx + 2, yy + 365, obj_attackpress);
}
else
{
global.myfight = 4;
instance_create(0, 0, obj_spellphase);
}
}
else
{
scr_wincombat();
}
}
} (); |
473 |
with (obj_monsterparent) |
474 |
instance_destroy(); |
475 |
instance_destroy(); |
476 |
} |
477 |
} |
478 |
} |
479 |
if (type == 2) |
480 |
{ |
481 |
if (con == 0) |
482 |
{ |
483 |
victimer += 1; |
484 |
if (victimer >= 60) |
485 |
con = 1; |
486 |
} |
487 |
if (con == 1) |
488 |
{ |
489 |
if (global.fighting == 0) |
490 |
{ |
491 |
victimer = 0; |
492 |
con = 2; |
493 |
} |
494 |
} |
495 |
if (con == 2) |
496 |
{ |
497 |
victimer += 1; |
498 |
if (victimer >= 15) |
499 |
{ |
500 |
global.typer = 30; |
501 |
global.fe = 6; |
502 |
global.fc = 1; |
503 |
global.msg[0] = * We...Delay 11 We did it!?Wait for inputClose Message ; |
504 |
instance_create(0, 0, obj_dialoguer); |
505 |
con = 3; |
506 |
} |
507 |
} |
508 |
if (con == 3 && !d_ex()) |
509 |
{ |
510 |
with (l) |
511 |
hspeed = 18; |
512 |
con = 4; |
513 |
alarm[4] = 20; |
514 |
} |
515 |
if (con == 5) |
516 |
{ |
517 |
with (l) |
518 |
{ |
519 |
scr_halt(); |
520 |
sprite_index = spr_lancer_lt; |
521 |
} |
522 |
con = 6; |
523 |
alarm[4] = 15; |
524 |
} |
525 |
if (con == 7) |
526 |
{ |
527 |
global.typer = 32; |
528 |
global.fc = 5; |
529 |
global.fe = 3; |
530 |
global.msg[0] = * Wow!!Delay 11 You clowns really ARE heroes!!Wait for input ; |
531 |
global.msg[1] = * You saved the next twenty minutes of my life!!Wait for input ; |
532 |
scr_susface(2, 2); |
533 |
global.msg[3] = * Yeah,Delay 11 yeah,Delay 11 I am pretty great,Delay 11 huh...?Wait for inputClose Message ; |
534 |
instance_create(0, 0, obj_dialoguer); |
535 |
con = 7.2; |
536 |
} |
537 |
if (con == 7.1 && !d_ex()) |
538 |
{ |
539 |
snd_play(snd_suslaugh); |
540 |
with (s) |
541 |
image_speed = 0.2; |
542 |
con = 6.2; |
543 |
alarm[4] = 60; |
544 |
} |
545 |
if (con == 7.2 && !d_ex()) |
546 |
{ |
547 |
with (global.cinstance[0]) |
548 |
visible = 0; |
549 |
with (global.cinstance[1]) |
550 |
visible = 0; |
551 |
with (obj_mainchara) |
552 |
visible = 0; |
553 |
r = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (global.cinstance[0].x, global.cinstance[0].y, spr_ralseil); |
554 |
s = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (global.cinstance[1].x, global.cinstance[1].y, spr_susier_dark); |
555 |
k = scr_dark_markerscr_dark_markerfunction scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (obj_mainchara.x, obj_mainchara.y, spr_krisl_dark); |
556 |
global.typer = 31; |
557 |
global.fc = 2; |
558 |
global.fe = 1; |
559 |
global.msg[0] = \E8* Ummm,Delay 11 Susie...?Wait for input ; |
560 |
global.msg[1] = \E8* Not to downplay your contributions,Delay 11 but...Wait for input ; |
561 |
global.msg[2] = \E1* You...Delay 11 didn't actually help at all.Wait for input ; |
562 |
global.msg[3] = \EB* You only made everything WORSE by attacking it.Wait for input ; |
563 |
global.msg[4] = \E1* If you had just acted nice to it in the first place...Wait for input ; |
564 |
global.msg[5] = \E6* We could have avoided that entire battle.Wait for input ; |
565 |
scr_susface(6, 6); |
566 |
global.msg[7] = * Huh?Delay 11 * Are you FOR REAL?Wait for input ; |
567 |
global.msg[8] = \E7* That thing was BLOODTHIRSTY!!!Wait for input ; |
568 |
global.msg[9] = \E2* The only thing keeping it at bay was MY AX!Wait for inputClose Message ; |
569 |
con = 50; |
570 |
instance_create(0, 0, obj_dialoguer); |
571 |
} |
572 |
if (con == 50 && !d_ex()) |
573 |
{ |
574 |
with (r) |
575 |
sprite_index = spr_ralseid; |
576 |
con = 51; |
577 |
alarm[4] = 30; |
578 |
} |
579 |
if (con == 52) |
580 |
{ |
581 |
with (r) |
582 |
sprite_index = spr_ralseil; |
583 |
global.fc = 2; |
584 |
global.fe = 6; |
585 |
global.typer = 31; |
586 |
global.msg[0] = * And,Delay 11 earlier,Delay 11 you terrorized those troops...Wait for input ; |
587 |
scr_susface(1, 0); |
588 |
global.msg[2] = * Those guys were ENEMIES.Delay 11 They're FOR terrorizing.Wait for input ; |
589 |
scr_lanface(3, 3); |
590 |
global.msg[4] = * Yeah!Delay 11 She's right!!Wait for input ; |
591 |
scr_ralface(5, 1); |
592 |
global.msg[6] = * And before that,Delay 11 you ate an innocent person's cake...Wait for inputClose Message ; |
593 |
con = 53; |
594 |
instance_create(0, 0, obj_dialoguer); |
595 |
} |
596 |
if (con == 53 && !d_ex()) |
597 |
{ |
598 |
with (s) |
599 |
sprite_index = spr_susied_dark; |
600 |
con = 54; |
601 |
alarm[4] = 30; |
602 |
} |
603 |
if (con == 55) |
604 |
{ |
605 |
with (s) |
606 |
sprite_index = spr_susier_dark; |
607 |
global.fc = 1; |
608 |
global.fe = 2; |
609 |
global.typer = 30; |
610 |
global.msg[0] = * Cakes...Delay 11 are also my enemy.Wait for input ; |
611 |
scr_ralface(1, "C"); |
612 |
global.msg[2] = ; |
613 |
global.msg[3] = \E1* Susie...Delay 11 Whether you like it or not...Wait for input ; |
614 |
global.msg[4] = \E6* You're a hero.Wait for input ; |
615 |
global.msg[5] = \E0* One with the power to bring peace to the future.Wait for input ; |
616 |
global.msg[6] = \E5* Could you please start...Delay 11 acting like one?Wait for inputClose Message ; |
617 |
con = 56; |
618 |
instance_create(0, 0, obj_dialoguer); |
619 |
} |
620 |
if (con == 56 && !d_ex()) |
621 |
{ |
622 |
with (s) |
623 |
sprite_index = spr_susiel_dark_unhappy; |
624 |
con = 57; |
625 |
alarm[4] = 60; |
626 |
} |
627 |
if (con == 58) |
628 |
{ |
629 |
global.fc = 1; |
630 |
global.fe = 0; |
631 |
global.typer = 30; |
632 |
global.msg[0] = * Yeah,Delay 11 when you lay it out like that...Wait for input ; |
633 |
global.msg[1] = * I've been a pretty bad hero,Delay 11 haven't I?Wait for input ; |
634 |
global.msg[2] = * ...Wait for inputClose Message ; |
635 |
instance_create(0, 0, obj_dialoguer); |
636 |
con = 59; |
637 |
} |
638 |
if (con == 59 && !d_ex()) |
639 |
{ |
640 |
with (s) |
641 |
{ |
642 |
vspeed = 2; |
643 |
image_speed = 0.2; |
644 |
sprite_index = spr_susied_dark_unhappy; |
645 |
} |
646 |
con = 60; |
647 |
alarm[4] = 10; |
648 |
} |
649 |
if (con == 61) |
650 |
{ |
651 |
with (k) |
652 |
scr_depth(); |
653 |
with (r) |
654 |
scr_depth(); |
655 |
with (s) |
656 |
{ |
657 |
scr_halt(); |
658 |
scr_depth(); |
659 |
} |
660 |
con = 62; |
661 |
alarm[4] = 30; |
662 |
} |
663 |
if (con == 63) |
664 |
{ |
665 |
global.msg[0] = * Alright,Delay 11 Ralsei.Delay 11 * You got it.Delay 11 * I'll change my ways.Wait for input ; |
666 |
global.msg[1] = * From now on,Delay 11 I won't be such a rotten hero anymore.Wait for inputClose Message ; |
667 |
con = 64; |
668 |
instance_create(0, 0, obj_dialoguer); |
669 |
} |
670 |
if (con == 64 && !d_ex()) |
671 |
{ |
672 |
with (s) |
673 |
{ |
674 |
hspeed = 12; |
675 |
sprite_index = spr_susier_dark; |
676 |
image_speed = 0.5; |
677 |
} |
678 |
con = 65; |
679 |
} |
680 |
if (con == 65) |
681 |
{ |
682 |
if (s.x >= (__view_get(e__VW.XView, 0) + 460)) |
683 |
{ |
684 |
with (s) |
685 |
scr_halt(); |
686 |
with (s) |
687 |
sprite_index = spr_susiel_dark; |
688 |
with (k) |
689 |
sprite_index = spr_krisr_dark; |
690 |
with (r) |
691 |
sprite_index = spr_ralseir; |
692 |
con = 66; |
693 |
} |
694 |
} |
695 |
if (con == 66) |
696 |
{ |
697 |
con = 67; |
698 |
global.fc = 1; |
699 |
global.fe = 3; |
700 |
global.typer = 30; |
701 |
global.msg[0] = * I'll just be one of the BAD GUYS instead!Wait for inputClose Message ; |
702 |
instance_create(0, 0, obj_dialoguer); |
703 |
} |
704 |
if (con == 67 && !d_ex()) |
705 |
{ |
706 |
with (r) |
707 |
sprite_index = spr_ralsei_shock_overworld; |
708 |
con = 68; |
709 |
alarm[4] = 20; |
710 |
} |
711 |
if (con == 69) |
712 |
{ |
713 |
global.currentsong[0] = snd_init("lancer.ogg"); |
714 |
global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.6, 1); |
715 |
with (r) |
716 |
sprite_index = spr_ralseir; |
717 |
global.fc = 5; |
718 |
global.typer = 32; |
719 |
global.fe = 2; |
720 |
global.msg[0] = * R... Really!?Wait for input ; |
721 |
global.msg[1] = \E3* You're going to be on MY team?Wait for input ; |
722 |
scr_susface(2, 2); |
723 |
global.msg[3] = * Yeah,Delay 11 sounds way easier,Delay 11 honestly.Wait for input ; |
724 |
scr_ralface(4, 3); |
725 |
global.msg[5] = * Susie,Delay 11 you can't just -Wait for input ; |
726 |
scr_lanface(6, 1); |
727 |
global.msg[7] = * Quiet,Delay 11 Toothpaste Boy!Delay 11 Susie is MY comrade now!Wait for input ; |
728 |
scr_susface(8, 2); |
729 |
global.msg[9] = * Hahaha,Delay 11 yeah,Delay 11 Toothpaste Boy!Wait for input ; |
730 |
scr_lanface(10, 3); |
731 |
global.msg[11] = * We're going to have monogrammed track jackets!Wait for input ; |
732 |
scr_susface(12, 2); |
733 |
global.msg[13] = ; |
734 |
scr_lanface(14, 1); |
735 |
global.msg[15] = * And sleepovers!Delay 11 Where we tell each other secrets!Wait for input ; |
736 |
scr_susface(16, 6); |
737 |
global.msg[17] = * Ummm,Delay 11 yeah?Wait for input ; |
738 |
global.msg[18] = \E2* Anyway,Delay 11 uhh,Delay 11 see you guys never.Wait for input ; |
739 |
scr_lanface(19, 3); |
740 |
global.msg[20] = * Haha!!Delay 11 If you can even last that long!Wait for inputClose Message ; |
741 |
instance_create(0, 0, obj_dialoguer); |
742 |
con = 70; |
743 |
} |
744 |
if (con == 70 && !d_ex()) |
745 |
{ |
746 |
snd_volume(global.currentsong[1], 0, 50); |
747 |
snd_play(snd_lancerlaugh); |
748 |
with (l) |
749 |
{ |
750 |
sprite_index = spr_lancer_lt_laugh; |
751 |
image_speed = 0.2; |
752 |
hspeed = 12; |
753 |
} |
754 |
with (s) |
755 |
{ |
756 |
sprite_index = spr_susier_dark; |
757 |
image_speed = 0.5; |
758 |
hspeed = 12; |
759 |
} |
760 |
con = 71; |
761 |
alarm[4] = 70; |
762 |
} |
763 |
if (con == 72) |
764 |
con = 22; |
765 |
if (con == 22 && !d_ex()) |
766 |
{ |
767 |
with (r) |
768 |
{ |
769 |
hspeed = 6; |
770 |
image_speed = 0.25; |
771 |
} |
772 |
con = 23; |
773 |
alarm[4] = 20; |
774 |
} |
775 |
if (con == 24) |
776 |
{ |
777 |
snd_free_all(); |
778 |
global.facing = 2; |
779 |
with (r) |
780 |
scr_halt(); |
781 |
global.fc = 2; |
782 |
global.typer = 31; |
783 |
global.fe = 1; |
784 |
global.msg[0] = ; |
785 |
global.msg[1] = \E6* Perhaps I shouldn't have been so hard on her.Wait for input ; |
786 |
global.msg[2] = ; |
787 |
global.msg[3] = * But,Delay 11 I just worry that if Susie is too eager to fight...Wait for input ; |
788 |
global.msg[4] = \E4* Then...Wait for input ; |
789 |
global.msg[5] = \E6* Well,Delay 11 let's just be kind to her,Delay 11 OK,Delay 11 Kris?Wait for input ; |
790 |
global.msg[6] = \E8* I'm sure Susie'll come around soon!Wait for inputClose Message ; |
791 |
con = 28; |
792 |
instance_create(0, 0, obj_dialoguer); |
793 |
} |
794 |
if (con == 28 && !d_ex()) |
795 |
{ |
796 |
with (k) |
797 |
{ |
798 |
hspeed = 8; |
799 |
image_speed = 0.25; |
800 |
} |
801 |
with (r) |
802 |
{ |
803 |
hspeed = 8; |
804 |
image_speed = 0.25; |
805 |
sprite_index = spr_ralseir; |
806 |
} |
807 |
con = 29; |
808 |
alarm[4] = 10; |
809 |
} |
810 |
if (con == 30) |
811 |
{ |
812 |
instance_create(0, 0, obj_fadeout); |
813 |
con = 31; |
814 |
alarm[4] = 30; |
815 |
} |
816 |
if (con == 32) |
817 |
{ |
818 |
if (global.plot < 60) |
819 |
{ |
820 |
global.plot = 60; |
821 |
if (global.flag[215 talked_joe] == 1) |
822 |
global.flag[251 shortcut_door_help] = 1; |
823 |
} |
824 |
scr_losecharscr_losecharfunction scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} (); |
825 |
scr_getcharscr_getcharfunction scr_getchar(arg0)
{
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = arg0;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = arg0;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = arg0;
getchar = 1;
}
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
}
}
} (3); |
826 |
instance_create(0, 0, obj_persistentfadein); |
827 |
global.interact = 3; |
828 |
global.entrance = 1; |
829 |
room_goto_next(); |
830 |
} |
831 |
} |
832 |
|
833 |
enum e__VW |
834 |
{ |
835 |
XView, |
836 |
YView, |
837 |
WView, |
838 |
HView, |
839 |
Angle, |
840 |
HBorder, |
841 |
VBorder, |
842 |
HSpeed, |
843 |
VSpeed, |
844 |
Object, |
845 |
Visible, |
846 |
XPort, |
847 |
YPort, |
848 |
WPort, |
849 |
HPort, |
850 |
Camera, |
851 |
SurfaceID |
852 |
} |