|
1
|
if (mcon == 2)
|
|
2
|
mcon = 3;
|
|
3
|
if (mcon == 1)
|
|
4
|
{
|
|
5
|
global.currentsong[0] = snd_init("lancer_susie.ogg");
|
|
6
|
mcon = 2;
|
|
7
|
}
|
|
8
|
if (con == 1)
|
|
9
|
{
|
|
10
|
snd_free_all();
|
|
11
|
mm = 0.5;
|
|
12
|
image_blend = merge_color(c_white, c_black, mm);
|
|
13
|
global.interact = 1;
|
|
14
|
sus = scr_dark_markerscr_dark_marker
function 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 - 100, global.cinstance[1].y, spr_susier_dark);
|
|
15
|
ral = scr_dark_markerscr_dark_marker
function 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 - 50, global.cinstance[0].y, spr_ralseir);
|
|
16
|
k = scr_dark_markerscr_dark_marker
function 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_krisr_dark);
|
|
17
|
r = ral;
|
|
18
|
s = sus;
|
|
19
|
with (obj_caterpillarchara)
|
|
20
|
visible = 0;
|
|
21
|
with (obj_mainchara)
|
|
22
|
visible = 0;
|
|
23
|
with (obj_marker)
|
|
24
|
{
|
|
25
|
hspeed = 6;
|
|
26
|
image_speed = 0.2;
|
|
27
|
}
|
|
28
|
con = 2;
|
|
29
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
30
|
mcon = 1;
|
|
31
|
}
|
|
32
|
if (con == 2)
|
|
33
|
global.interact = 1;
|
|
34
|
if (con == 3)
|
|
35
|
{
|
|
36
|
global.facing = 1;
|
|
37
|
con = 4;
|
|
38
|
with (obj_marker)
|
|
39
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
40
|
obj_mainchara.x = k.x;
|
|
41
|
obj_mainchara.visible = 1;
|
|
42
|
with (k)
|
|
43
|
instance_destroy();
|
|
44
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
45
|
}
|
|
46
|
if (con == 5)
|
|
47
|
{
|
|
48
|
global.currentsong[1] = mus_loop(global.currentsong[0]);
|
|
49
|
global.fc = 5;
|
|
50
|
global.fe = 1;
|
|
51
|
global.typer = 32;
|
|
52
|
global.msg[0] = * Ha ha ha...Delay 11 * So you've begun to cross the GREAT BOARD...Wait for input ;
|
|
53
|
global.msg[1] = * The halfway point to our castle.Delay 11 * Hmm...Delay 11 impressive.Wait for input ;
|
|
54
|
global.msg[2] = * So,Delay 11 it's a shame...Wait for inputClose Message ;
|
|
55
|
con = 6;
|
|
56
|
instance_create(0, 0, obj_dialoguer);
|
|
57
|
}
|
|
58
|
if (con == 6 && d_ex() == 0)
|
|
59
|
{
|
|
60
|
sprite_index = spr_lancer_dt;
|
|
61
|
con = 7;
|
|
62
|
alarm[4] = 25; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
63
|
}
|
|
64
|
if (con == 8)
|
|
65
|
{
|
|
66
|
sprite_index = spr_lancer_lt;
|
|
67
|
con = 9;
|
|
68
|
alarm[4] = 25; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
69
|
}
|
|
70
|
if (con == 10)
|
|
71
|
{
|
|
72
|
global.fe = 1;
|
|
73
|
global.msg[0] = * You won't make it a step further!!!Wait for input ;
|
|
74
|
global.msg[1] = * 'Cause my GUYS are about to smash you into blood!Wait for input ;
|
|
75
|
global.msg[2] = * Lots of blood!Delay 11 * Splooshing blood! * Very gross and bad!Wait for inputClose Message ;
|
|
76
|
instance_create(0, 0, obj_dialoguer);
|
|
77
|
con = 11;
|
|
78
|
}
|
|
79
|
if (con == 11 && d_ex() == 0)
|
|
80
|
{
|
|
81
|
sprite_index = spr_lancer_lt_laugh;
|
|
82
|
image_speed = 0.5;
|
|
83
|
bucket = scr_dark_markerscr_dark_marker
function 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;
} (x + 20, y, spr_lancer_bucket);
|
|
84
|
bucket.hspeed = -4;
|
|
85
|
bucket.depth = depth + 10;
|
|
86
|
snd_free_all();
|
|
87
|
snd_play(snd_lancerlaugh);
|
|
88
|
snd_play(snd_locker);
|
|
89
|
lightning = scr_dark_markerscr_dark_marker
function 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;
} (200, 0, spr_crappylightning);
|
|
90
|
lightning.image_alpha = 3;
|
|
91
|
con = 12;
|
|
92
|
ctimer = 0;
|
|
93
|
}
|
|
94
|
if (con == 12)
|
|
95
|
{
|
|
96
|
if (mm > 0)
|
|
97
|
mm -= 0.05;
|
|
98
|
else
|
|
99
|
mm = 0;
|
|
100
|
image_blend = merge_color(c_white, c_black, mm);
|
|
101
|
with (lightning)
|
|
102
|
image_alpha -= 0.1;
|
|
103
|
ctimer += 1;
|
|
104
|
if (ctimer >= 20)
|
|
105
|
bucket.hspeed = 0;
|
|
106
|
if (ctimer >= 60 && d_ex() == 0)
|
|
107
|
{
|
|
108
|
sprite_index = spr_lancer_lt;
|
|
109
|
image_speed = 0;
|
|
110
|
image_index = 0;
|
|
111
|
con = 13;
|
|
112
|
alarm[4] = 60; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
113
|
}
|
|
114
|
}
|
|
115
|
if (con == 15)
|
|
116
|
{
|
|
117
|
global.currentsong[1] = mus_loop(global.currentsong[0]);
|
|
118
|
global.fe = 3;
|
|
119
|
global.msg[0] = * Hey,Delay 11 purple girl,Delay 11 was that scarier?Wait for input ;
|
|
120
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (1, 7);
|
|
121
|
global.msg[2] = * Why are you asking ME!?Wait for input ;
|
|
122
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char L Sound L Close Message , string(arg1));
} (3, 2);
|
|
123
|
global.msg[4] = * Because you're really cool at being terrifying!Wait for input ;
|
|
124
|
global.msg[5] = Face 3* I wanna be as scary as you!Wait for inputClose Message ;
|
|
125
|
instance_create(0, 0, obj_dialoguer);
|
|
126
|
con = 16;
|
|
127
|
}
|
|
128
|
if (con == 14)
|
|
129
|
{
|
|
130
|
con = 15;
|
|
131
|
global.currentsong[0] = snd_init("lancer.ogg");
|
|
132
|
}
|
|
133
|
if (con == 16 && d_ex() == 0)
|
|
134
|
{
|
|
135
|
with (sus)
|
|
136
|
sprite_index = spr_susiel_dark;
|
|
137
|
con = 17;
|
|
138
|
alarm[4] = 40; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
139
|
}
|
|
140
|
if (con == 18)
|
|
141
|
{
|
|
142
|
with (sus)
|
|
143
|
{
|
|
144
|
sprite_index = spr_susier_dark;
|
|
145
|
hspeed = 6;
|
|
146
|
image_speed = 0.25;
|
|
147
|
}
|
|
148
|
con = 19;
|
|
149
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
150
|
}
|
|
151
|
if (con == 20)
|
|
152
|
{
|
|
153
|
with (sus)
|
|
154
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
155
|
global.fc = 1;
|
|
156
|
global.typer = 30;
|
|
157
|
global.fe = 6;
|
|
158
|
global.msg[0] = * You...Delay 11 * Want to be like ME?Wait for input ;
|
|
159
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char L Sound L Close Message , string(arg1));
} (1, 2);
|
|
160
|
global.msg[2] = ;
|
|
161
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (3, 2);
|
|
162
|
global.msg[4] = * Well,Delay 11 that's stupid.Wait for input ;
|
|
163
|
global.msg[5] = Face 2* ...Wait for input ;
|
|
164
|
global.msg[6] = Face 0* But,Delay 11 umm,Delay 11 the new laugh isn't as awful.Wait for input ;
|
|
165
|
global.msg[7] = Face 2* And saying you'd turn us into blood is,Delay 11 uh,Delay 11 cool.Wait for input ;
|
|
166
|
global.msg[8] = Face 0* ... what the hell is up with the bucket,Delay 11 though?Wait for input ;
|
|
167
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char L Sound L Close Message , string(arg1));
} (9, 2);
|
|
168
|
global.msg[10] = * It's to put the blood in.Wait for input ;
|
|
169
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (11, 0);
|
|
170
|
global.msg[12] = ;
|
|
171
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char L Sound L Close Message , string(arg1));
} (13, 6);
|
|
172
|
global.msg[14] = * Yeah,Delay 11 I'm not,Delay 11 uh,Delay 11 supposed to make a mess.Wait for input ;
|
|
173
|
global.msg[15] = Face 3* Anyway,Delay 11 thanks for your feedback! I'm really feeling scary!Wait for input ;
|
|
174
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (16, 2);
|
|
175
|
global.msg[17] = * ... ummm,Delay 11 no problem,Delay 11 I guess.Delay 11 * Haha.Wait for inputClose Message ;
|
|
176
|
con = 25;
|
|
177
|
instance_create(0, 0, obj_dialoguer);
|
|
178
|
}
|
|
179
|
if (con == 25)
|
|
180
|
{
|
|
181
|
if (instance_exists(obj_writer))
|
|
182
|
{
|
|
183
|
if (obj_writer.msgno == 4)
|
|
184
|
{
|
|
185
|
with (sus)
|
|
186
|
sprite_index = spr_susied_dark;
|
|
187
|
}
|
|
188
|
if (obj_writer.msgno == 5)
|
|
189
|
{
|
|
190
|
with (sus)
|
|
191
|
sprite_index = spr_susier_dark;
|
|
192
|
}
|
|
193
|
if (obj_writer.msgno == 6)
|
|
194
|
{
|
|
195
|
with (sus)
|
|
196
|
sprite_index = spr_susied_dark;
|
|
197
|
}
|
|
198
|
if (obj_writer.msgno == 8)
|
|
199
|
{
|
|
200
|
with (sus)
|
|
201
|
sprite_index = spr_susier_dark;
|
|
202
|
}
|
|
203
|
}
|
|
204
|
}
|
|
205
|
if (con == 25 && d_ex() == 0)
|
|
206
|
{
|
|
207
|
with (sus)
|
|
208
|
sprite_index = spr_susied_dark;
|
|
209
|
con = 26;
|
|
210
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
211
|
}
|
|
212
|
if (con == 27)
|
|
213
|
{
|
|
214
|
with (sus)
|
|
215
|
sprite_index = spr_susier_dark;
|
|
216
|
global.fe = 0;
|
|
217
|
global.msg[0] = * ... so are your guys gonna attack us,Delay 11 or...Wait for input ;
|
|
218
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char L Sound L Close Message , string(arg1));
} (1, 2);
|
|
219
|
global.msg[2] = Face 2* ... Oh!Delay 11 * Yeah!Wait for input ;
|
|
220
|
global.msg[3] = Face 6* ... I was so excited I forgot to bring any guys.Wait for input ;
|
|
221
|
global.msg[4] = Face 1* But NEXT TIME,Delay 11 it'll be the END for--Wait for inputClose Message ;
|
|
222
|
con = 60;
|
|
223
|
instance_create(0, 0, obj_dialoguer);
|
|
224
|
}
|
|
225
|
if (con == 60 && d_ex() == 0)
|
|
226
|
{
|
|
227
|
con = 61;
|
|
228
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
229
|
}
|
|
230
|
if (con == 62)
|
|
231
|
{
|
|
232
|
global.fe = 6;
|
|
233
|
global.msg[0] = * Hey,Delay 11 I've just been calling you guys CLOWNs...Wait for input ;
|
|
234
|
global.msg[1] = Face 0* Does your team have an OFFICIAL NAME or something?Wait for input ;
|
|
235
|
scr_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char R Sound R Close Message , string(arg1));
} (2, 8);
|
|
236
|
global.msg[3] = * Oh,Delay 11 Kris,Delay 11 we should come up with a name!Wait for input ;
|
|
237
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char S Sound S Close Message , string(arg1));
} (4, 0);
|
|
238
|
global.msg[5] = * No,Delay 11 we shouldn't.Wait for input ;
|
|
239
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = scr_84_get_subst_string(Sound X Char 0 Face ~1 Char L Sound L Close Message , string(arg1));
} (6, 1);
|
|
240
|
global.msg[7] = * Then it's decided!Delay 11 * Everyone puts a name in the bucket!Wait for inputClose Message ;
|
|
241
|
con = 63;
|
|
242
|
instance_create(0, 0, obj_dialoguer);
|
|
243
|
}
|
|
244
|
if (con == 63 && d_ex() == 0)
|
|
245
|
{
|
|
246
|
fd = instance_create(0, 0, obj_fadeout);
|
|
247
|
con = 64;
|
|
248
|
alarm[4] = 40; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
249
|
}
|
|
250
|
if (con == 65)
|
|
251
|
{
|
|
252
|
snd_play(snd_noise);
|
|
253
|
obj_mainchara.x = bucket.x - 50;
|
|
254
|
r.x = bucket.x - 100;
|
|
255
|
s.x = bucket.x - 150;
|
|
256
|
con = 66;
|
|
257
|
alarm[4] = 20; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
258
|
}
|
|
259
|
if (con == 66)
|
|
260
|
{
|
|
261
|
with (fd)
|
|
262
|
instance_destroy();
|
|
263
|
fi = instance_create(0, 0, obj_fadein);
|
|
264
|
con = 67;
|
|
265
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
266
|
}
|
|
267
|
if (con == 68)
|
|
268
|
{
|
|
269
|
global.fe = 0;
|
|
270
|
global.msc = 175;
|
|
271
|
scr_textscr_text
function scr_text(arg0)
{
switch (arg0)
{
case 0:
break;
case 10:
global.choicemsg[1] = ;
global.choicemsg[0] = ;
global.choicemsg[2] = " ";
global.choicemsg[3] = " ";
global.msg[0] = * You really didn't want to throw it away.Wait for input ;
global.msg[1] = * Throw it away anyway?Wait for input ;
global.msg[2] = ;
break;
case 11:
if (global.choice == 0)
{
global.msg[0] = * You felt a feeling of relief.Wait for inputClose Message ;
}
else
{
global.msg[0] = * Hand shaking,Delay 11 you dropped the ball of junk on the ground.Wait for input ;
global.msg[1] = * It broke into pieces.Wait for input ;
global.msg[2] = * You felt bitter.Wait for inputClose Message ;
script_execute(scr_litemshift, global.menucoord[1], 0);
for (i = 0; i < 12; i += 1)
{
global.item[i] = 0;
global.weapon[i] = 0;
global.armor[i] = 0;
}
}
break;
case 100:
global.msg[0] = * Hey, Kris!Delay 11 What's up?Delay 11 * Didja lose your pencil again?Wait for input ;
global.msg[1] = Face 4* Here,Delay 11 you want the candy-cane one or the one with lights on it?Wait for input ;
global.msg[2] = Face 1* Huh?Delay 11 * You want to be partners?Wait for input ;
global.msg[3] = Face 4* Ummm...Delay 11 Sorry...Delay 11 * Berdly already asked me...Wait for input ;
global.msg[4] = Face 0* But I could ask Ms. Alphys if we could make a group of 3!Wait for input ;
global.msg[5] = Face 4* I'll ask if you're sure!
Not yet Yes. Ask.Choice type 1 ;
global.msg[6] = " ";
break;
case 101:
if (global.choice == 1)
{
global.msg[0] = Face 0* OK,Delay 11 I'll ask!Wait for input ;
global.msg[1] = * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message ;
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = Face 4* Yeah,Delay 11 I'm sure there's someone else you can ask!Wait for inputClose Message ;
break;
case 102:
global.msg[0] = Face 0* Do you wanna be partners? Not yet YesChoice type 1 ;
global.msg[1] = " ";
break;
case 103:
if (global.choice == 1)
{
global.msg[0] = Face 0* OK,Delay 11 I'll ask!Wait for input ;
global.msg[1] = * Miss Alphys!Delay 11 * Umm,Delay 11 is it OK if we have a group of 3?Wait for inputClose Message ;
with (obj_classscene)
con = 20;
}
if (global.choice == 0)
global.msg[0] = Face 4* Umm,Delay 11 OK.Delay 11 * You just keep doing your thing,Delay 11 Kris.Wait for inputClose Message ;
break;
case 104:
global.msg[0] = Face 0* Alright.Delay 11 * Let's get this over with.Wait for input ;
global.msg[1] = * We'll get more chalk.Delay 11 * Mosey back to class.Delay 11 * And then,Delay 11 Kris...Wait for input ;
global.msg[2] = Face 2* YOU'LL do our project.Wait for input ;
global.msg[3] = * How's that sound?
Good BadChoice type 1 ;
global.msg[4] = " ";
break;
case 105:
global.msg[0] = " %%";
break;
case 110:
global.choicemsg[0] = ;
global.choicemsg[1] = ;
global.choicemsg[2] = " ";
global.choicemsg[3] = " ";
if (global.flag[100 got_glowshard] == 0)
{
global.msg[0] = * (There's something glowing inside.)Wait for input ;
global.msg[1] = * (Take it?)Wait for input ;
global.msg[2] = ;
}
else
{
global.msg[0] = * (It's dark inside.)Wait for inputClose Message ;
}
break;
case 111:
if (global.choice == 0)
{
global.msg[0] = * (You got the Glowshard.)Wait for inputClose Message ;
global.flag[100 got_glowshard] = 1;
scr_itemget(3);
... (global.msc);
|
|
272
|
instance_create(0, 0, obj_dialoguer);
|
|
273
|
con = 28;
|
|
274
|
}
|
|
275
|
if (con == 28 && d_ex() == 0)
|
|
276
|
{
|
|
277
|
mus_volume(global.currentsong[1], 0, 30);
|
|
278
|
hspeed = 16;
|
|
279
|
image_speed = 0.5;
|
|
280
|
with (bucket)
|
|
281
|
hspeed = 16;
|
|
282
|
snd_play(snd_lancerlaugh);
|
|
283
|
sprite_index = spr_lancer_lt_laugh;
|
|
284
|
con = 36;
|
|
285
|
alarm[4] = 60; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
286
|
}
|
|
287
|
if (con == 30)
|
|
288
|
{
|
|
289
|
snd_free(global.currentsong[1]);
|
|
290
|
global.fe = 0;
|
|
291
|
global.fc = 1;
|
|
292
|
global.typer = 30;
|
|
293
|
global.msg[0] = * ...Wait for inputClose Message ;
|
|
294
|
con = 31;
|
|
295
|
instance_create(0, 0, obj_dialoguer);
|
|
296
|
}
|
|
297
|
if (con == 31 && !d_ex())
|
|
298
|
{
|
|
299
|
with (sus)
|
|
300
|
{
|
|
301
|
sprite_index = spr_susiel_dark;
|
|
302
|
hspeed = -6;
|
|
303
|
image_speed = 0.25;
|
|
304
|
}
|
|
305
|
con = 32;
|
|
306
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
307
|
}
|
|
308
|
if (con == 33)
|
|
309
|
{
|
|
310
|
with (sus)
|
|
311
|
{
|
|
312
|
sprite_index = spr_susier_dark;
|
|
313
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
314
|
}
|
|
315
|
con = 34;
|
|
316
|
alarm[4] = 30; gml_Object_obj_lancerscare2_Alarm_4.gml
con += 1;
|
|
317
|
}
|
|
318
|
if (con == 35)
|
|
319
|
{
|
|
320
|
global.fe = 1;
|
|
321
|
global.msg[0] = * Well,Delay 11 that was weird.Wait for inputClose Message ;
|
|
322
|
instance_create(0, 0, obj_dialoguer);
|
|
323
|
con = 37;
|
|
324
|
}
|
|
325
|
if (con == 37 && !d_ex())
|
|
326
|
{
|
|
327
|
with (obj_savepoint)
|
|
328
|
visible = 1;
|
|
329
|
s = sus;
|
|
330
|
r = ral;
|
|
331
|
snd_free_all();
|
|
332
|
scr_unmarkify_caterpillarscr_unmarkify_caterpillar
function 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();
}
}
}
} ();
|
|
333
|
scr_caterpillar_facingscr_caterpillar_facing
function scr_caterpillar_facing(arg0)
{
with (obj_caterpillarchara)
{
for (i = 0; i < 25; i += 1)
facing[i] = arg0;
}
} (1);
|
|
334
|
global.facing = 1;
|
|
335
|
con = 38;
|
|
336
|
global.interact = 0;
|
|
337
|
instance_destroy();
|
|
338
|
if (global.plot <= 55)
|
|
339
|
global.plot = 55;
|
|
340
|
scr_tempsavescr_tempsave
function scr_tempsave()
{
filechoicebk2 = global.filechoice;
global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2;
} ();
|
|
341
|
}
|