|
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_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;
} (-100, global.cinstance[1].y, spr_susier_dark);
|
|
10
|
r = 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;
} (-50, global.cinstance[0].y, spr_ralseir);
|
|
11
|
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;
} (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_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;
} (500, obj_mainchara.y, spr_lancer_rt);
|
|
22
|
con = -50;
|
|
23
|
alarm[4] = 28; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
24
|
}
|
|
25
|
if (con == -49)
|
|
26
|
{
|
|
27
|
snd_free_all();
|
|
28
|
with (obj_marker)
|
|
29
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
30
|
con = -48;
|
|
31
|
alarm[4] = 15; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
32
|
}
|
|
33
|
if (con == -47)
|
|
34
|
{
|
|
35
|
global.typer = 32;
|
|
36
|
global.fc = 5;
|
|
37
|
global.fe = 0;
|
|
38
|
name = "Guys";
|
|
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 = "Lancer Fan Club.";
|
|
43
|
if (global.flag[214 team_name] == 3)
|
|
44
|
name = "Friendly Fun Gang.";
|
|
45
|
global.msg[0] = stringsetloc(* Hohoho...Delay 11 * Well STEP on my BOOTS.Wait for input"* Hohoho..^1.&* Well STEP on my BOOTS./", "obj_checker_animtest_slash_Step_0_gml_47_0" );
|
|
46
|
global.msg[1] = stringsetsubloc("* If it isn't the ~1/", name, "obj_checker_animtest_slash_Step_0_gml_48_0");
|
|
47
|
global.msg[2] = stringsetloc(* You boys or girls had better turn back while you can.Wait for input"* You boys or girls had better turn back while you can./", "obj_checker_animtest_slash_Step_0_gml_49_0" );
|
|
48
|
scr_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(arg1), "scr_ralface_slash_scr_ralface_gml_1_0");
} (3, 3);
|
|
49
|
global.msg[4] = stringsetloc(* Lancer!!! * What is it this time!?Wait for input"* Lancer!!!&* What is it this time!?/", "obj_checker_animtest_slash_Step_0_gml_51_0" );
|
|
50
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (5, 1);
|
|
51
|
global.msg[6] = stringsetloc(* Hohoho...Delay 11 * I'm simply warning you...!Wait for inputClose Message"* Hohoho..^1.&* I'm simply warning you...!/%", "obj_checker_animtest_slash_Step_0_gml_53_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
67
|
}
|
|
68
|
if (con == -44)
|
|
69
|
{
|
|
70
|
with (l)
|
|
71
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
72
|
con = -43;
|
|
73
|
alarm[4] = 15; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
74
|
}
|
|
75
|
if (con == -42)
|
|
76
|
{
|
|
77
|
global.fe = 2;
|
|
78
|
global.msg[0] = stringsetloc(* Something EXTREMELY dangerous is lying ahead!Wait for inputClose Message"* Something EXTREMELY dangerous is lying ahead!/%", "obj_checker_animtest_slash_Step_0_gml_82_0" );
|
|
79
|
if (warnpitch == 1)
|
|
80
|
{
|
|
81
|
global.fe = 1;
|
|
82
|
global.msg[0] = stringsetloc(* Hohoho!Delay 11 It's actually really inconvenient!Wait for inputClose Message"* Hohoho^1! It's actually really inconvenient!/%", "obj_checker_animtest_slash_Step_0_gml_87_0" );
|
|
83
|
}
|
|
84
|
if (warnpitch == 2)
|
|
85
|
{
|
|
86
|
global.fe = 3;
|
|
87
|
global.msg[0] = stringsetloc(* Ha!Delay 11 I can't go home at all because I'm so scared!Wait for input"* Ha^1! I can't go home at all because I'm so scared!/", "obj_checker_animtest_slash_Step_0_gml_92_0" );
|
|
88
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (1, 9);
|
|
89
|
global.msg[2] = stringsetloc(* Wh...Delay 11 What is it!?Wait for inputClose Message"* Wh..^1. What is it!?/%", "obj_checker_animtest_slash_Step_0_gml_94_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
121
|
}
|
|
122
|
if (con == -10)
|
|
123
|
{
|
|
124
|
ltimer += 1;
|
|
125
|
if (ltimer >= 20)
|
|
126
|
{
|
|
127
|
with (l)
|
|
128
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
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_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
149
|
scr_panscr_pan
function 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] = stringsetloc(* Oh,Delay 11 hey,Delay 11 little guy...Wait for input"* Oh^1, hey^1, little guy.../", "obj_checker_animtest_slash_Step_0_gml_178_0" );
|
|
157
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (1, 6);
|
|
158
|
global.msg[2] = stringsetloc(* THAT???Delay 11 THAT'S what you're afraid of???Wait for input"* THAT??^1? THAT'S what you're afraid of???/", "obj_checker_animtest_slash_Step_0_gml_180_0" );
|
|
159
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (3, 3);
|
|
160
|
global.msg[4] = stringsetloc(* W...Delay 11 Wow,Delay 11 purple girl!Delay 11 * You aren't scared!?Wait for input"* W..^1. Wow^1, purple girl^1!&* You aren't scared!?/", "obj_checker_animtest_slash_Step_0_gml_182_0" );
|
|
161
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (5, 2);
|
|
162
|
global.msg[6] = stringsetloc(* Heh,Delay 11 why would I be?Delay 11 What's it gonna do?Wait for input"* Heh^1, why would I be^1? What's it gonna do?/", "obj_checker_animtest_slash_Step_0_gml_184_0" );
|
|
163
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (7, 6);
|
|
164
|
global.msg[8] = stringsetloc(* Hmm,Delay 11 well,Delay 11 normally...Wait for inputClose Message"* Hmm^1, well^1, normally.../%", "obj_checker_animtest_slash_Step_0_gml_186_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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_marker
function 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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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.5)
|
|
256
|
{
|
|
257
|
image_index = 1;
|
|
258
|
image_speed = 0;
|
|
259
|
con = 9;
|
|
260
|
alarm[4] = 60; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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] = stringsetloc(* It crushes people to death,Delay 11 I think.Wait for inputClose Message"* It crushes people to death^1, I think./%", "obj_checker_animtest_slash_Step_0_gml_356_0" );
|
|
304
|
con = 18;
|
|
305
|
instance_create(0, 0, obj_dialoguer);
|
|
306
|
}
|
|
307
|
if (con == 18 && !d_ex())
|
|
308
|
{
|
|
309
|
scr_unmarkify_caterpillarscr_unmarkify_caterpillar
function scr_unmarkify_caterpillar()
{
for (i = 0; i < 2; i += 1)
{
if (i_ex(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_facingscr_caterpillar_facing
function scr_caterpillar_facing(arg0)
{
with (obj_caterpillarchara)
{
for (i = 0; i < 25; i += 1)
facing[i] = arg0;
}
} (global.facing);
|
|
312
|
global.encounterno = 12;
|
|
313
|
scr_encountersetupscr_encountersetup
function 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_baseenemy;
global.monstertype[i] = 1Enemy (placeholder/G-BODY);
global.monstermakex[i] = xx + 500 + (20 * i);
global.monstermakey[i] = yy + 40 + (90 * i);
}
global.monstertype[1] = 0(None);
global.monstertype[2] = 0(None);
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;
}
global.battlemsg[0] = stringsetloc(* It is known."* It is known.", "scr_encountersetup_slash_scr_encountersetup_gml_34_0" );
if (global.chapter == 3)
{
global.rank1time = 30;
global.rank1turns = 4;
global.rank1tp = 200;
global.rank1hurtcount = 0;
}
var board4battleintrostring = "";
var rr = choose(0, 1, 2, 3);
if (rr == 0)
board4battleintrostring = stringsetloc(* Wanna be an ACT-er...? Here's my CARD!"* Wanna be an ACT-er...? Here's my CARD!", "scr_encountersetup_slash_scr_encountersetup_gml_52_0" );
if (rr == 1)
board4battleintrostring = stringsetloc(* Now where the heck is my debit card?"* Now where the heck is my debit card?", "scr_encountersetup_slash_scr_encountersetup_gml_53_0" );
if (rr == 2)
board4battleintrostring = stringsetloc(* If you're gonna be so dramatic... then ACT!"* If you're gonna be so dramatic... then ACT!", "scr_encountersetup_slash_scr_encountersetup_gml_54_0" );
if (rr == 3)
board4battleintrostring = stringsetloc(* I Love TV. That's all you gotta say."* I Love TV. That's all you gotta say.", "scr_encountersetup_slash_scr_encountersetup_gml_55_0" );
switch (arg0)
{
case 0:
break;
case 1:
global.monsterinstancetype[0] = obj_baseenemy;
global.monstertype[0] = 1Enemy (placeholder/G-BODY);
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_baseenemy;
global.monstertype[1] = 1Enemy (placeholder/G-BODY);
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0(None);
global.battlemsg[0] = stringsetloc(* Test enemies showed up."* Test enemies showed up.", "scr_encountersetup_slash_scr_encountersetup_gml_72_0" );
break;
case 2:
global.monsterinstancetype[0] = obj_lancerboss;
global.monstertype[0] = 2Lancer;
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] = 3Dummy;
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] = 5Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 140;
global.monstertype[1] = 0(None);
global.monstertype[2] = 0(None);
global.battlemsg[0] = stringsetloc(* Rudinn drew near!"* Rudinn drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_98_0" );
if (global.flag[500 times_rudinn_fought] >= 1)
global.battlemsg[0] = stringsetloc(* A different Rudinn from last time drew near!"* A different Rudinn from last time drew near!", "scr_encountersetup_slash_scr_encountersetup_gml_99_0" );
if (global.flag[500 times_rudinn_fought] == 2)
global.battlemsg[0] = stringsetloc(* Assumedly another different Rudinn appeared!"* Assumedly another different Rudinn appeared!", "scr_encountersetup_slash_scr_encountersetup_gml_100_0" );
break;
case 5:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_diamondenemy;
global.monstertype[1] = 5Rudinn;
global.monstermakex[1] = xx + 500;
global.monstermakey[1] = yy + 200;
global.monstertype[2] = 0(None);
global.battlemsg[0] = stringsetloc(* A necklace of Rudinns blocks your path."* A necklace of Rudinns blocks your path.", "scr_encountersetup_slash_scr_encountersetup_gml_116_0" );
... (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_timescr_move_to_point_over_time
function scr_move_to_point_over_time(arg0, arg1, arg2)
{
_mmm = instance_create(x, y, obj_move_to_point);
_mmm.target = id;
_mmm.movex = arg0;
_mmm.movey = arg1;
_mmm.movemax = arg2;
return _mmm;
} (global.monstermakex[0], global.monstermakey[0], 20);
|
|
321
|
con = 19;
|
|
322
|
alarm[4] = 20; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
323
|
}
|
|
324
|
if (con == 20)
|
|
325
|
{
|
|
326
|
speed = 0;
|
|
327
|
con = 21;
|
|
328
|
alarm[4] = 10; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
393
|
if (secondtime == 1)
|
|
394
|
{
|
|
395
|
alarm[4] = 10; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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.5)
|
|
415
|
{
|
|
416
|
image_index = 1;
|
|
417
|
image_speed = 0;
|
|
418
|
con = 3;
|
|
419
|
maxy = (y + sprite_height) - 30;
|
|
420
|
alarm[4] = 30; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
421
|
if (secondtime == 1)
|
|
422
|
alarm[4] = 10; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
453
|
if (secondtime == 1)
|
|
454
|
alarm[4] = 10; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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_attackphase
function scr_attackphase()
{
with (obj_battlecontroller)
{
techwon = 0;
if (scr_monsterpop() == 0)
techwon = 1;
if (techwon == 1)
scr_wincombat();
if (techwon == 0)
{
for (__hiti = 0; __hiti < 3; __hiti++)
global.hittarget[__hiti] = 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);
}
}
}
} ();
|
|
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] = stringsetloc(* We...Delay 11 We did it!?Wait for inputClose Message"* We..^1. We did it!?/%", "obj_checker_animtest_slash_Step_0_gml_589_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
514
|
}
|
|
515
|
if (con == 5)
|
|
516
|
{
|
|
517
|
with (l)
|
|
518
|
{
|
|
519
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
520
|
sprite_index = spr_lancer_lt;
|
|
521
|
}
|
|
522
|
con = 6;
|
|
523
|
alarm[4] = 15; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
524
|
}
|
|
525
|
if (con == 7)
|
|
526
|
{
|
|
527
|
global.typer = 32;
|
|
528
|
global.fc = 5;
|
|
529
|
global.fe = 3;
|
|
530
|
global.msg[0] = stringsetloc(* Wow!!Delay 11 You clowns really ARE heroes!!Wait for input"* Wow!^1! You clowns really ARE heroes!!/", "obj_checker_animtest_slash_Step_0_gml_624_0" );
|
|
531
|
global.msg[1] = stringsetloc(* You saved the next twenty minutes of my life!!Wait for input"* You saved the next twenty minutes of my life!!/", "obj_checker_animtest_slash_Step_0_gml_625_0" );
|
|
532
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (2, 2);
|
|
533
|
global.msg[3] = stringsetloc(* Yeah,Delay 11 yeah,Delay 11 I am pretty great,Delay 11 huh...?Wait for inputClose Message"* Yeah^1, yeah^1, I am pretty great^1, huh...?/%", "obj_checker_animtest_slash_Step_0_gml_627_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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_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;
} (global.cinstance[0].x, global.cinstance[0].y, spr_ralseil);
|
|
554
|
s = 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;
} (global.cinstance[1].x, global.cinstance[1].y, spr_susier_dark);
|
|
555
|
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_krisl_dark);
|
|
556
|
global.typer = 31;
|
|
557
|
global.fc = 2;
|
|
558
|
global.fe = 1;
|
|
559
|
global.msg[0] = stringsetloc(Face 8* Ummm,Delay 11 Susie...?Wait for input"\\E8* Ummm^1, Susie...?/", "obj_checker_animtest_slash_Step_0_gml_657_0" );
|
|
560
|
global.msg[1] = stringsetloc(Face 8* Not to downplay your contributions,Delay 11 but...Wait for input"\\E8* Not to downplay your contributions^1, but.../", "obj_checker_animtest_slash_Step_0_gml_658_0" );
|
|
561
|
global.msg[2] = stringsetloc(Face 1* You...Delay 11 didn't actually help at all.Wait for input"\\E1* You..^1. didn't actually help at all./", "obj_checker_animtest_slash_Step_0_gml_659_0" );
|
|
562
|
global.msg[3] = stringsetloc(Face B* You only made everything WORSE by attacking it.Wait for input"\\EB* You only made everything WORSE by attacking it./", "obj_checker_animtest_slash_Step_0_gml_660_0" );
|
|
563
|
global.msg[4] = stringsetloc(Face 1* If you had just acted nice to it in the first place...Wait for input"\\E1* If you had just acted nice to it in the first place.../", "obj_checker_animtest_slash_Step_0_gml_661_0" );
|
|
564
|
global.msg[5] = stringsetloc(Face 6* We could have avoided that entire battle.Wait for input"\\E6* We could have avoided that entire battle./", "obj_checker_animtest_slash_Step_0_gml_662_0" );
|
|
565
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (6, 6);
|
|
566
|
global.msg[7] = stringsetloc(* Huh?Delay 11 * Are you FOR REAL?Wait for input"* Huh^1?&* Are you FOR REAL?/", "obj_checker_animtest_slash_Step_0_gml_664_0" );
|
|
567
|
global.msg[8] = stringsetloc(Face 7* That thing was BLOODTHIRSTY!!!Wait for input"\\E7* That thing was BLOODTHIRSTY!!!/", "obj_checker_animtest_slash_Step_0_gml_665_0" );
|
|
568
|
global.msg[9] = stringsetloc(Face 2* The only thing keeping it at bay was MY AX!Wait for inputClose Message"\\E2* The only thing keeping it at bay was MY AX!/%", "obj_checker_animtest_slash_Step_0_gml_666_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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] = stringsetloc(* And,Delay 11 earlier,Delay 11 you terrorized those troops...Wait for input"* And^1, earlier^1, you terrorized those troops.../", "obj_checker_animtest_slash_Step_0_gml_685_0" );
|
|
587
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (1, 0);
|
|
588
|
global.msg[2] = stringsetloc(* Those guys were ENEMIES.Delay 11 They're FOR terrorizing.Wait for input"* Those guys were ENEMIES^1. They're FOR terrorizing./", "obj_checker_animtest_slash_Step_0_gml_687_0" );
|
|
589
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (3, 3);
|
|
590
|
global.msg[4] = stringsetloc(* Yeah!Delay 11 She's right!!Wait for input"* Yeah^1! She's right!!/", "obj_checker_animtest_slash_Step_0_gml_689_0" );
|
|
591
|
scr_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(arg1), "scr_ralface_slash_scr_ralface_gml_1_0");
} (5, 1);
|
|
592
|
global.msg[6] = stringsetloc(* And before that,Delay 11 you ate an innocent person's cake...Wait for inputClose Message"* And before that^1, you ate an innocent person's cake.../%", "obj_checker_animtest_slash_Step_0_gml_691_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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] = stringsetloc(* Cakes...Delay 11 are also my enemy.Wait for input"* Cakes..^1. are also my enemy./", "obj_checker_animtest_slash_Step_0_gml_709_0" );
|
|
611
|
scr_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(arg1), "scr_ralface_slash_scr_ralface_gml_1_0");
} (1, "C");
|
|
612
|
global.msg[2] = stringsetloc(* ...Wait for input"* .../", "obj_checker_animtest_slash_Step_0_gml_711_0" );
|
|
613
|
global.msg[3] = stringsetloc(Face 1* Susie...Delay 11 Whether you like it or not...Wait for input"\\E1* Susie..^1. Whether you like it or not.../", "obj_checker_animtest_slash_Step_0_gml_712_0" );
|
|
614
|
global.msg[4] = stringsetloc(Face 6* You're a hero.Wait for input"\\E6* You're a hero./", "obj_checker_animtest_slash_Step_0_gml_713_0" );
|
|
615
|
global.msg[5] = stringsetloc(Face 0* One with the power to bring peace to the future.Wait for input"\\E0* One with the power to bring peace to the future./", "obj_checker_animtest_slash_Step_0_gml_714_0" );
|
|
616
|
global.msg[6] = stringsetloc(Face 5* Could you please start...Delay 11 acting like one?Wait for inputClose Message"\\E5* Could you please start..^1. acting like one?/%", "obj_checker_animtest_slash_Step_0_gml_715_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
626
|
}
|
|
627
|
if (con == 58)
|
|
628
|
{
|
|
629
|
global.fc = 1;
|
|
630
|
global.fe = 0;
|
|
631
|
global.typer = 30;
|
|
632
|
global.msg[0] = stringsetloc(* Yeah,Delay 11 when you lay it out like that...Wait for input"* Yeah^1, when you lay it out like that.../", "obj_checker_animtest_slash_Step_0_gml_732_0" );
|
|
633
|
global.msg[1] = stringsetloc(* I've been a pretty bad hero,Delay 11 haven't I?Wait for input"* I've been a pretty bad hero^1, haven't I?/", "obj_checker_animtest_slash_Step_0_gml_733_0" );
|
|
634
|
global.msg[2] = stringsetloc(* ...Wait for inputClose Message"* .../%", "obj_checker_animtest_slash_Step_0_gml_734_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
648
|
}
|
|
649
|
if (con == 61)
|
|
650
|
{
|
|
651
|
with (k)
|
|
652
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
653
|
with (r)
|
|
654
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
655
|
with (s)
|
|
656
|
{
|
|
657
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
658
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
659
|
}
|
|
660
|
con = 62;
|
|
661
|
alarm[4] = 30; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
662
|
}
|
|
663
|
if (con == 63)
|
|
664
|
{
|
|
665
|
global.msg[0] = stringsetloc(* Alright,Delay 11 Ralsei.Delay 11 * You got it.Delay 11 * I'll change my ways.Wait for input"* Alright^1, Ralsei^1.&* You got it^1.&* I'll change my ways./", "obj_checker_animtest_slash_Step_0_gml_762_0" );
|
|
666
|
global.msg[1] = stringsetloc(* From now on,Delay 11 I won't be such a rotten hero anymore.Wait for inputClose Message"* From now on^1, I won't be such a rotten hero anymore./%", "obj_checker_animtest_slash_Step_0_gml_763_0" );
|
|
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_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
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] = stringsetloc(* I'll just be one of the BAD GUYS instead!Wait for inputClose Message"* I'll just be one of the BAD GUYS instead!/%", "obj_checker_animtest_slash_Step_0_gml_799_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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] = stringsetloc(* R... Really!?Wait for input"* R... Really!?/", "obj_checker_animtest_slash_Step_0_gml_820_0" );
|
|
721
|
global.msg[1] = stringsetloc(Face 3* You're going to be on MY team?Wait for input"\\E3* You're going to be on MY team?/", "obj_checker_animtest_slash_Step_0_gml_821_0" );
|
|
722
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (2, 2);
|
|
723
|
global.msg[3] = stringsetloc(* Yeah,Delay 11 sounds way easier,Delay 11 honestly.Wait for input"* Yeah^1, sounds way easier^1, honestly./", "obj_checker_animtest_slash_Step_0_gml_823_0" );
|
|
724
|
scr_ralfacescr_ralface
function scr_ralface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FR \\TR %", string(arg1), "scr_ralface_slash_scr_ralface_gml_1_0");
} (4, 3);
|
|
725
|
global.msg[5] = stringsetloc(* Susie,Delay 11 you can't just -Wait for input"* Susie^1, you can't just -/", "obj_checker_animtest_slash_Step_0_gml_825_0" );
|
|
726
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (6, 1);
|
|
727
|
global.msg[7] = stringsetloc(* Quiet,Delay 11 Toothpaste Boy!Delay 11 Susie is MY comrade now!Wait for input"* Quiet^1, Toothpaste Boy^1! Susie is MY comrade now!/", "obj_checker_animtest_slash_Step_0_gml_827_0" );
|
|
728
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (8, 2);
|
|
729
|
global.msg[9] = stringsetloc(* Hahaha,Delay 11 yeah,Delay 11 Toothpaste Boy!Wait for input"* Hahaha^1, yeah^1, Toothpaste Boy!/", "obj_checker_animtest_slash_Step_0_gml_829_0" );
|
|
730
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (10, 3);
|
|
731
|
global.msg[11] = stringsetloc(* We're going to have monogrammed track jackets!Wait for input"* We're going to have monogrammed track jackets!/", "obj_checker_animtest_slash_Step_0_gml_831_0" );
|
|
732
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (12, 2);
|
|
733
|
global.msg[13] = stringsetloc(* Yeah!Wait for input"* Yeah!/", "obj_checker_animtest_slash_Step_0_gml_833_0" );
|
|
734
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (14, 1);
|
|
735
|
global.msg[15] = stringsetloc(* And sleepovers!Delay 11 Where we tell each other secrets!Wait for input"* And sleepovers^1! Where we tell each other secrets!/", "obj_checker_animtest_slash_Step_0_gml_835_0" );
|
|
736
|
scr_susfacescr_susface
function scr_susface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FS \\TS %", string(arg1), "scr_susface_slash_scr_susface_gml_1_0");
} (16, 6);
|
|
737
|
global.msg[17] = stringsetloc(* Ummm,Delay 11 yeah?Wait for input"* Ummm^1, yeah?/", "obj_checker_animtest_slash_Step_0_gml_837_0" );
|
|
738
|
global.msg[18] = stringsetloc(Face 2* Anyway,Delay 11 uhh,Delay 11 see you guys never.Wait for input"\\E2* Anyway^1, uhh^1, see you guys never./", "obj_checker_animtest_slash_Step_0_gml_838_0" );
|
|
739
|
scr_lanfacescr_lanface
function scr_lanface(arg0, arg1)
{
global.msg[arg0] = stringsetsubloc("\\TX \\F0 \\E~1 \\FL \\TL %", string(arg1), "scr_lanface_slash_scr_lanface_gml_1_0");
} (19, 3);
|
|
740
|
global.msg[20] = stringsetloc(* Haha!!Delay 11 If you can even last that long!Wait for inputClose Message"* Haha!^1! If you can even last that long!/%", "obj_checker_animtest_slash_Step_0_gml_840_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
774
|
}
|
|
775
|
if (con == 24)
|
|
776
|
{
|
|
777
|
snd_free_all();
|
|
778
|
global.facing = 2;
|
|
779
|
with (r)
|
|
780
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
781
|
global.fc = 2;
|
|
782
|
global.typer = 31;
|
|
783
|
global.fe = 1;
|
|
784
|
global.msg[0] = stringsetloc(* Kris...Wait for input"* Kris.../", "obj_checker_animtest_slash_Step_0_gml_893_0" );
|
|
785
|
global.msg[1] = stringsetloc(Face 6* Perhaps I shouldn't have been so hard on her.Wait for input"\\E6* Perhaps I shouldn't have been so hard on her./", "obj_checker_animtest_slash_Step_0_gml_894_0" );
|
|
786
|
global.msg[2] = stringsetloc(Face 1* ...Wait for input"\\E1* .../", "obj_checker_animtest_slash_Step_0_gml_895_0" );
|
|
787
|
global.msg[3] = stringsetloc(* But,Delay 11 I just worry that if Susie is too eager to fight...Wait for input"* But^1, I just worry that if Susie is too eager to fight.../", "obj_checker_animtest_slash_Step_0_gml_896_0" );
|
|
788
|
global.msg[4] = stringsetloc(Face 4* Then...Wait for input"\\E4* Then.../", "obj_checker_animtest_slash_Step_0_gml_897_0" );
|
|
789
|
global.msg[5] = stringsetloc(Face 6* Well,Delay 11 let's just be kind to her,Delay 11 OK,Delay 11 Kris?Wait for input"\\E6* Well^1, let's just be kind to her^1, OK^1, Kris?/", "obj_checker_animtest_slash_Step_0_gml_898_0" );
|
|
790
|
global.msg[6] = stringsetloc(Face 8* I'm sure Susie'll come around soon!Wait for inputClose Message"\\E8* I'm sure Susie'll come around soon!/%", "obj_checker_animtest_slash_Step_0_gml_899_0" );
|
|
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; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
809
|
}
|
|
810
|
if (con == 30)
|
|
811
|
{
|
|
812
|
instance_create(0, 0, obj_fadeout);
|
|
813
|
con = 31;
|
|
814
|
alarm[4] = 30; gml_Object_obj_checker_animtest_Alarm_4.gml
con += 1;
|
|
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_losechar
function scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 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;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} ();
|
|
825
|
scr_getcharscr_getchar
function scr_getchar(arg0)
{
switch (arg0)
{
case "kr":
case "kris":
arg0 = 1;
break;
case "su":
case "susie":
arg0 = 2;
break;
case "ra":
case "ralsei":
arg0 = 3;
break;
case "no":
case "noelle":
arg0 = 4;
break;
}
var characterToGet = arg0;
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = characterToGet;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = characterToGet;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = characterToGet;
getchar = 1;
}
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 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;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = 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
|
}
|