|
1
|
if (con == 0 && global.interact == 0)
|
|
2
|
{
|
|
3
|
xx = __view_get(e__VW.XView, 0);
|
|
4
|
yy = __view_get(e__VW.YView, 0);
|
|
5
|
if (obj_mainchara.x >= x)
|
|
6
|
{
|
|
7
|
global.interact = 1;
|
|
8
|
global.facing = 1;
|
|
9
|
with (obj_caterpillarchara)
|
|
10
|
visible = 0;
|
|
11
|
with (obj_mainchara)
|
|
12
|
visible = 0;
|
|
13
|
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;
} (obj_caterpillarchara.x, obj_caterpillarchara.y, spr_ralseir);
|
|
14
|
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);
|
|
15
|
if (global.flag[250 thrash_repeats] == 0)
|
|
16
|
{
|
|
17
|
with (obj_marker)
|
|
18
|
{
|
|
19
|
hspeed = 2;
|
|
20
|
image_speed = 0.2;
|
|
21
|
}
|
|
22
|
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;
} (4, 0, 70);
|
|
23
|
mus_volume(global.currentsong[1], 0, 90);
|
|
24
|
with (obj_mainchara)
|
|
25
|
cutscene = 1;
|
|
26
|
con = 1;
|
|
27
|
alarm[4] = 90; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
28
|
}
|
|
29
|
else
|
|
30
|
{
|
|
31
|
with (obj_marker)
|
|
32
|
{
|
|
33
|
hspeed = 4;
|
|
34
|
image_speed = 0.2;
|
|
35
|
}
|
|
36
|
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;
} (8, 0, 35);
|
|
37
|
mus_volume(global.currentsong[1], 0, 45);
|
|
38
|
with (obj_mainchara)
|
|
39
|
cutscene = 1;
|
|
40
|
con = 1;
|
|
41
|
alarm[4] = 45; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
42
|
}
|
|
43
|
thrashmachine = instance_create(xx + 740, yy + 160, obj_thrashmachine);
|
|
44
|
with (thrashmachine)
|
|
45
|
{
|
|
46
|
value = 0;
|
|
47
|
animate = 0;
|
|
48
|
bad = 1;
|
|
49
|
}
|
|
50
|
}
|
|
51
|
}
|
|
52
|
if (con == 2)
|
|
53
|
{
|
|
54
|
with (k)
|
|
55
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
56
|
with (r)
|
|
57
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
58
|
global.typer = 31;
|
|
59
|
global.fc = 2;
|
|
60
|
global.fe = 3;
|
|
61
|
global.msg[0] = * K...Delay 11 Kris!Delay 11 Isn't that the machine we designed...!?Wait for input ;
|
|
62
|
global.msg[1] = Face A* Alright!Delay 11 This will be tough,Delay 11 but let's try our best!Wait for inputClose Message ;
|
|
63
|
if (global.flag[250 thrash_repeats] == 1)
|
|
64
|
{
|
|
65
|
global.fc = 2;
|
|
66
|
global.fe = 9;
|
|
67
|
global.msg[0] = * ... is that what I think it is?Wait for inputClose Message ;
|
|
68
|
}
|
|
69
|
if (global.flag[250 thrash_repeats] >= 2)
|
|
70
|
{
|
|
71
|
global.fc = 2;
|
|
72
|
global.fe = 12;
|
|
73
|
global.msg[0] = * ...Wait for inputClose Message ;
|
|
74
|
}
|
|
75
|
instance_create(0, 0, obj_dialoguer);
|
|
76
|
con = 3;
|
|
77
|
valuetimer = 0;
|
|
78
|
}
|
|
79
|
if (con == 3 && !d_ex())
|
|
80
|
{
|
|
81
|
valuetimer += 1;
|
|
82
|
if (global.flag[250 thrash_repeats] >= 1)
|
|
83
|
valuetimer += 1;
|
|
84
|
with (thrashmachine)
|
|
85
|
{
|
|
86
|
if (value < 1)
|
|
87
|
value += 0.04;
|
|
88
|
else
|
|
89
|
value = 1;
|
|
90
|
}
|
|
91
|
if (valuetimer >= 60)
|
|
92
|
con = 4;
|
|
93
|
}
|
|
94
|
if (con == 4 && !d_ex())
|
|
95
|
{
|
|
96
|
global.typer = 31;
|
|
97
|
global.fc = 2;
|
|
98
|
global.fe = 9;
|
|
99
|
global.msg[0] = * Oh.Delay 11 * That's...Delay 11 not good,Delay 11 actually.Wait for inputClose Message ;
|
|
100
|
if (global.flag[250 thrash_repeats] == 1)
|
|
101
|
{
|
|
102
|
global.fe = 12;
|
|
103
|
global.msg[0] = * ... yes.Delay 11 It was.Wait for inputClose Message ;
|
|
104
|
}
|
|
105
|
if (global.flag[250 thrash_repeats] >= 2)
|
|
106
|
{
|
|
107
|
global.fe = 6;
|
|
108
|
global.msg[0] = * ... how many of these do they have?Wait for inputClose Message ;
|
|
109
|
}
|
|
110
|
instance_create(0, 0, obj_dialoguer);
|
|
111
|
con = 17;
|
|
112
|
}
|
|
113
|
if (con == 17 && !d_ex())
|
|
114
|
{
|
|
115
|
global.encounterno = 31;
|
|
116
|
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_lancerboss;
global.monstertype[i] = 1Enemy (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] = 1Enemy (placeholder/G-BODY);
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_placeholderenemy;
global.monstertype[1] = 1Enemy (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] = 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] = ;
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] = 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] = * A necklace of Rudinns blocks your path. ;
break;
case 6:
global.monsterinstancetype[0] = obj_diamondenemy;
global.monstertype[0] = 5Rudinn;
global.monstermakex[0] = xx + 480;
global.monstermakey[0] = yy + 110;
global.monsterinstancetype[1] = obj_heartenemy;
global.monstertype[1] = 6Hathy;
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] = 9C.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);
|
|
117
|
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;
} (global.monstermakex[1] + 200, global.monstermakey[1] - 50, spr_lancer_lt);
|
|
118
|
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.monstermakex[0] + 200, global.monstermakey[0], spr_susiel_dark);
|
|
119
|
with (l)
|
|
120
|
{
|
|
121
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
122
|
hspeed = -5;
|
|
123
|
image_speed = 0.1;
|
|
124
|
}
|
|
125
|
with (s)
|
|
126
|
{
|
|
127
|
scr_depthscr_depth
function scr_depth()
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
} ();
|
|
128
|
hspeed = -5;
|
|
129
|
image_speed = 0.1;
|
|
130
|
}
|
|
131
|
con = 18;
|
|
132
|
alarm[4] = 40; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
133
|
}
|
|
134
|
if (con == 19)
|
|
135
|
{
|
|
136
|
with (l)
|
|
137
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
138
|
with (s)
|
|
139
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
140
|
con = 20;
|
|
141
|
alarm[4] = 20; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
142
|
}
|
|
143
|
if (con == 21 && !d_ex())
|
|
144
|
{
|
|
145
|
global.typer = 32;
|
|
146
|
global.fc = 5;
|
|
147
|
global.fe = 2;
|
|
148
|
global.msg[0] = * Ho ho ho!Delay 11 You think THAT'S bad,Delay 11 just WAIT!Wait for input ;
|
|
149
|
global.msg[1] = Face 9* ... and see what happens when it STARTS!!!Wait for inputClose Message ;
|
|
150
|
con = 21.1;
|
|
151
|
if (global.flag[250 thrash_repeats] < 1)
|
|
152
|
instance_create(0, 0, obj_dialoguer);
|
|
153
|
}
|
|
154
|
if (con == 21.1 && !d_ex())
|
|
155
|
{
|
|
156
|
with (r)
|
|
157
|
sprite_index = spr_ralsei_shock_overworld;
|
|
158
|
snd_play(snd_badexplosion);
|
|
159
|
snd_play(snd_lancerlaugh);
|
|
160
|
boom = 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;
} (thrashmachine.x, thrashmachine.y + 40, spr_realisticexplosion);
|
|
161
|
with (boom)
|
|
162
|
{
|
|
163
|
depth = -400;
|
|
164
|
image_speed = 0.5;
|
|
165
|
image_xscale = 3;
|
|
166
|
image_yscale = 3;
|
|
167
|
}
|
|
168
|
with (s)
|
|
169
|
{
|
|
170
|
sprite_index = spr_susiel_dark_laugh;
|
|
171
|
image_speed = 0.25;
|
|
172
|
}
|
|
173
|
with (l)
|
|
174
|
{
|
|
175
|
sprite_index = spr_lancer_lt_laugh;
|
|
176
|
image_speed = 0.25;
|
|
177
|
}
|
|
178
|
con = 21.2;
|
|
179
|
boomtimer = 0;
|
|
180
|
}
|
|
181
|
if (con == 21.2)
|
|
182
|
{
|
|
183
|
boomtimer += 1;
|
|
184
|
if (instance_exists(boom))
|
|
185
|
{
|
|
186
|
if (boom.image_index >= 5)
|
|
187
|
{
|
|
188
|
with (thrashmachine)
|
|
189
|
instance_destroy();
|
|
190
|
}
|
|
191
|
}
|
|
192
|
with (boom)
|
|
193
|
{
|
|
194
|
if (image_index >= 16)
|
|
195
|
instance_destroy();
|
|
196
|
}
|
|
197
|
if (boomtimer >= 70)
|
|
198
|
con = 21.3;
|
|
199
|
}
|
|
200
|
if (con == 21.3)
|
|
201
|
{
|
|
202
|
with (s)
|
|
203
|
{
|
|
204
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
205
|
sprite_index = spr_susiel_dark;
|
|
206
|
}
|
|
207
|
with (l)
|
|
208
|
{
|
|
209
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
210
|
sprite_index = spr_lancer_lt;
|
|
211
|
}
|
|
212
|
with (r)
|
|
213
|
sprite_index = spr_ralseir;
|
|
214
|
global.fc = 1;
|
|
215
|
global.typer = 30;
|
|
216
|
global.fe = 2;
|
|
217
|
global.msg[0] = * Your design sucked so we blew it up.Wait for input ;
|
|
218
|
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));
} (1, 1);
|
|
219
|
global.msg[2] = * Ah.Delay 11 I see.Wait for input ;
|
|
220
|
global.msg[3] = Face 6* ... So...Delay 11 now what's your plan going to be?Wait for input ;
|
|
221
|
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, 2);
|
|
222
|
global.msg[5] = * Turns out we didn't need a plan.Delay 11 Just a rule.Wait for input ;
|
|
223
|
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);
|
|
224
|
global.msg[7] = * Anyone that gets in our way...Wait for input ;
|
|
225
|
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));
} (8, 2);
|
|
226
|
global.msg[9] = * Gets crushed into dust.Wait for input ;
|
|
227
|
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));
} (10, 1);
|
|
228
|
global.msg[11] = * But Susie,Delay 11 you need us to return home.Wait for input ;
|
|
229
|
global.msg[12] = Face 6* Doesn't crushing us seem a little counterproductive?Wait for input ;
|
|
230
|
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));
} (13, 2);
|
|
231
|
global.msg[14] = * Nah,Delay 11 see,Delay 11 that's where you're wrong.Wait for input ;
|
|
232
|
global.msg[15] = Face 0* Ya see,Delay 11 I KNOW I can't get back without you guys.Wait for input ;
|
|
233
|
global.msg[16] = Face 1* But being a - heh - "good guy" REALLY isn't my style.Wait for input ;
|
|
234
|
global.msg[17] = Face 2* So,Delay 11 I thought of a little way we can just...Delay 11 settle this.Wait for inputClose Message ;
|
|
235
|
if (global.flag[250 thrash_repeats] == 1)
|
|
236
|
{
|
|
237
|
global.fc = 2;
|
|
238
|
global.fe = 3;
|
|
239
|
global.typer = 31;
|
|
240
|
global.msg[0] = * Why did you build another one just to blow it up?Wait for input ;
|
|
241
|
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, 3);
|
|
242
|
global.msg[2] = * It's funny!Wait for input ;
|
|
243
|
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));
} (3, 1);
|
|
244
|
global.msg[4] = * Well,Delay 11 in any case,Delay 11 you defeated us...Wait for input ;
|
|
245
|
global.msg[5] = Face 6* I suppose we can become bad guys now!Wait for input ;
|
|
246
|
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));
} (6, 0);
|
|
247
|
global.msg[7] = * Hey,Delay 11 not so fast!Wait for input ;
|
|
248
|
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));
} (8, 6);
|
|
249
|
global.msg[9] = * It's really boring if you just give up!!!Wait for input ;
|
|
250
|
global.msg[10] = Face 2* The LEAST you can do is show some resistance!Wait for input ;
|
|
251
|
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, 2);
|
|
252
|
global.msg[12] = * Yeah,Delay 11 looks like we gotta teach you a lesson!Wait for inputClose Message ;
|
|
253
|
}
|
|
254
|
if (global.flag[250 thrash_repeats] >= 2)
|
|
255
|
{
|
|
256
|
global.fc = 2;
|
|
257
|
global.fe = 6;
|
|
258
|
global.typer = 31;
|
|
259
|
global.msg[0] = * Please just let us be bad guys.Wait for input ;
|
|
260
|
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);
|
|
261
|
global.msg[2] = * No!!!Delay 11 Not until you stop wanting to!!!Wait for input ;
|
|
262
|
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));
} (3, "A");
|
|
263
|
global.msg[4] = * Fine!!!Delay 11 We don't want to be bad guys!!!Wait for input ;
|
|
264
|
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));
} (5, 3);
|
|
265
|
global.msg[6] = * Hear that,Delay 11 Susie???Wait for inputClose Message ;
|
|
266
|
}
|
|
267
|
instance_create(0, 0, obj_dialoguer);
|
|
268
|
con = 26;
|
|
269
|
}
|
|
270
|
if (con == 26 && !d_ex())
|
|
271
|
{
|
|
272
|
with (s)
|
|
273
|
{
|
|
274
|
sprite_index = spr_susieb_attack;
|
|
275
|
image_xscale = -2;
|
|
276
|
x += 80;
|
|
277
|
}
|
|
278
|
snd_play(snd_laz_c);
|
|
279
|
con = 27;
|
|
280
|
}
|
|
281
|
if (con == 27)
|
|
282
|
{
|
|
283
|
with (s)
|
|
284
|
image_index += 0.2;
|
|
285
|
if (s.image_index >= 4)
|
|
286
|
{
|
|
287
|
con = 28;
|
|
288
|
alarm[4] = 20; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
289
|
}
|
|
290
|
}
|
|
291
|
if (con == 29)
|
|
292
|
{
|
|
293
|
lcon = 1;
|
|
294
|
ltimer = 0;
|
|
295
|
remlx = l.x;
|
|
296
|
with (s)
|
|
297
|
{
|
|
298
|
sprite_index = spr_susie_enemy;
|
|
299
|
image_xscale = 2;
|
|
300
|
x -= 80;
|
|
301
|
}
|
|
302
|
global.fe = 2;
|
|
303
|
global.fc = 1;
|
|
304
|
global.typer = 30;
|
|
305
|
global.msc = 450;
|
|
306
|
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);
|
|
307
|
if (global.flag[250 thrash_repeats] == 1)
|
|
308
|
{
|
|
309
|
global.fc = 2;
|
|
310
|
global.fe = 9;
|
|
311
|
global.typer = 31;
|
|
312
|
global.msg[0] = * You're going to thrash us AGAIN!?Wait for input ;
|
|
313
|
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, 2);
|
|
314
|
global.msg[2] = * Seems like it.Wait for inputClose Message ;
|
|
315
|
}
|
|
316
|
if (global.flag[250 thrash_repeats] >= 2)
|
|
317
|
{
|
|
318
|
global.fc = 1;
|
|
319
|
global.fe = 2;
|
|
320
|
global.typer = 30;
|
|
321
|
global.msg[0] = * Sounds like we'll have to MAKE you be one then.Wait for input ;
|
|
322
|
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));
} (1, 6);
|
|
323
|
global.msg[2] = * That's completely unnecessary.Wait for input ;
|
|
324
|
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);
|
|
325
|
global.msg[4] = * I like the sound of that!!!Wait for inputClose Message ;
|
|
326
|
}
|
|
327
|
d_make();
|
|
328
|
con = 30;
|
|
329
|
choosetimer = 0;
|
|
330
|
}
|
|
331
|
if (lcon == 1)
|
|
332
|
{
|
|
333
|
with (l)
|
|
334
|
x += 15;
|
|
335
|
if (l.x >= (__view_get(e__VW.XView, 0) + 700))
|
|
336
|
{
|
|
337
|
with (l)
|
|
338
|
{
|
|
339
|
sprite_index = spr_lancerbike;
|
|
340
|
image_speed = 0.1;
|
|
341
|
y += 50;
|
|
342
|
}
|
|
343
|
lcon = 2;
|
|
344
|
}
|
|
345
|
}
|
|
346
|
if (lcon == 2)
|
|
347
|
{
|
|
348
|
with (l)
|
|
349
|
x -= 15;
|
|
350
|
if (l.x <= remlx)
|
|
351
|
{
|
|
352
|
l.x = remlx;
|
|
353
|
lcon = 3;
|
|
354
|
}
|
|
355
|
}
|
|
356
|
if (con == 30)
|
|
357
|
{
|
|
358
|
if (instance_exists(obj_choicer_neo))
|
|
359
|
{
|
|
360
|
choosetimer += 1;
|
|
361
|
if (choosetimer >= 30)
|
|
362
|
{
|
|
363
|
if (obj_choicer_neo.choiced == 0)
|
|
364
|
{
|
|
365
|
with (obj_choicer_neo)
|
|
366
|
{
|
|
367
|
canchoose = 1;
|
|
368
|
mychoice = 1;
|
|
369
|
event_user(0);
|
|
370
|
}
|
|
371
|
}
|
|
372
|
con = 31;
|
|
373
|
}
|
|
374
|
}
|
|
375
|
if (!d_ex())
|
|
376
|
con = 31;
|
|
377
|
}
|
|
378
|
if (con == 31 && !d_ex() && lcon == 3)
|
|
379
|
{
|
|
380
|
global.flag[250 thrash_repeats] += 1;
|
|
381
|
obj_mainchara.x = k.x;
|
|
382
|
obj_mainchara.y = k.y;
|
|
383
|
global.cinstance[0].x = r.x;
|
|
384
|
global.cinstance[0].y = r.y;
|
|
385
|
global.facing = 1;
|
|
386
|
with (global.cinstance[0])
|
|
387
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate()
{
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = global.facing;
for (i = target; i > 0; i -= 1)
{
facing[i] = 2;
remx[i] = obj_mainchara.x + ((x - obj_mainchara.x) * (i / target));
remy[i] = obj_mainchara.y + ((y - obj_mainchara.y) * (i / target));
}
} ();
|
|
388
|
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);
|
|
389
|
with (s)
|
|
390
|
visible = 0;
|
|
391
|
s.depth = 100;
|
|
392
|
with (l)
|
|
393
|
visible = 0;
|
|
394
|
with (k)
|
|
395
|
visible = 0;
|
|
396
|
with (r)
|
|
397
|
visible = 0;
|
|
398
|
global.specialbattle = 0;
|
|
399
|
global.flag[9 battle_music] = 1;
|
|
400
|
snd_play(snd_weaponpull);
|
|
401
|
beaten = 1;
|
|
402
|
global.specialbattle = 3;
|
|
403
|
global.batmusic[0] = snd_init("lancerfight.ogg");
|
|
404
|
bc = instance_create(0, 0, obj_battlecontroller);
|
|
405
|
with (bc)
|
|
406
|
skipvictory = 1;
|
|
407
|
con = 35;
|
|
408
|
}
|
|
409
|
if (con == 35)
|
|
410
|
{
|
|
411
|
var victory = false;
|
|
412
|
with (obj_battlecontroller)
|
|
413
|
victory = victoried;
|
|
414
|
if (victory && s.visible == 0)
|
|
415
|
{
|
|
416
|
s.visible = 1;
|
|
417
|
if (instance_exists(obj_susieenemy))
|
|
418
|
{
|
|
419
|
s.sprite_index = obj_susieenemy.thissprite;
|
|
420
|
s.image_index = obj_susieenemy.siner / 6;
|
|
421
|
s.image_speed = 0.16666666666666666;
|
|
422
|
obj_susieenemy.x += room_width;
|
|
423
|
}
|
|
424
|
s.depth = l.depth + 20;
|
|
425
|
}
|
|
426
|
if (!instance_exists(obj_battlecontroller))
|
|
427
|
{
|
|
428
|
snd_free_all();
|
|
429
|
with (s)
|
|
430
|
visible = 1;
|
|
431
|
with (l)
|
|
432
|
visible = 1;
|
|
433
|
con = 45;
|
|
434
|
global.interact = 1;
|
|
435
|
}
|
|
436
|
}
|
|
437
|
if (con == 45 && !d_ex())
|
|
438
|
{
|
|
439
|
global.interact = 1;
|
|
440
|
if (global.flag[249 spared_lancer] == 0)
|
|
441
|
{
|
|
442
|
with (s)
|
|
443
|
sprite_index = spr_susie_enemy_defeat;
|
|
444
|
}
|
|
445
|
lcon = 4;
|
|
446
|
con = 46;
|
|
447
|
alarm[4] = 30; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
448
|
}
|
|
449
|
if (con == 46)
|
|
450
|
global.interact = 1;
|
|
451
|
if (lcon == 4)
|
|
452
|
{
|
|
453
|
with (l)
|
|
454
|
x += 15;
|
|
455
|
if (l.x >= (__view_get(e__VW.XView, 0) + 700))
|
|
456
|
{
|
|
457
|
with (l)
|
|
458
|
{
|
|
459
|
sprite_index = spr_lancer_lt;
|
|
460
|
image_speed = 0;
|
|
461
|
y -= 50;
|
|
462
|
}
|
|
463
|
lcon = 5;
|
|
464
|
}
|
|
465
|
}
|
|
466
|
if (lcon == 5)
|
|
467
|
{
|
|
468
|
with (l)
|
|
469
|
x -= 15;
|
|
470
|
if (l.x <= remlx)
|
|
471
|
{
|
|
472
|
l.x = remlx;
|
|
473
|
lcon = 6;
|
|
474
|
}
|
|
475
|
}
|
|
476
|
if (con == 47 && lcon == 6)
|
|
477
|
{
|
|
478
|
global.typer = 30;
|
|
479
|
global.fe = 9;
|
|
480
|
global.fc = 1;
|
|
481
|
global.msg[0] = * Alright,Delay 11 alright,Delay 11 ENOUGH already!Wait for input ;
|
|
482
|
global.msg[1] = Face 1* Fine...Delay 11 I GUESS I'll go back to being a good guy.Wait for input ;
|
|
483
|
global.msg[2] = Face 4* But DON'T expect me to do anything but FIGHT.Wait for inputClose Message ;
|
|
484
|
if (global.flag[249 spared_lancer] == 1)
|
|
485
|
{
|
|
486
|
global.fe = 0;
|
|
487
|
global.msg[0] = * Well,Delay 11 you didn't BEAT US,Delay 11 because you,Delay 11 uh...Wait for input ;
|
|
488
|
global.msg[1] = * Kinda cheated by,Delay 11 uh,Delay 11 ganging up on Lancer,Delay 11 with,Delay 11 uh...Wait for input ;
|
|
489
|
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));
} (2, 3);
|
|
490
|
global.msg[3] = * Kindness.Wait for input ;
|
|
491
|
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);
|
|
492
|
global.msg[5] = * But if I HAVE TO,Delay 11 I guess I'll go back to your side.Wait for input ;
|
|
493
|
global.msg[6] = Face 4* But DON'T expect me to do anything but FIGHT.Wait for inputClose Message ;
|
|
494
|
}
|
|
495
|
con = 48;
|
|
496
|
instance_create(0, 0, obj_dialoguer);
|
|
497
|
}
|
|
498
|
if (con == 48 && !d_ex())
|
|
499
|
{
|
|
500
|
with (s)
|
|
501
|
sprite_index = spr_susiel_dark_unhappy;
|
|
502
|
s.kx = k.x;
|
|
503
|
s.ky = k.y;
|
|
504
|
with (s)
|
|
505
|
{
|
|
506
|
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;
} (kx + 120, ky - 15, 60);
|
|
507
|
image_speed = 0.2;
|
|
508
|
}
|
|
509
|
con = 49;
|
|
510
|
alarm[4] = 60; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
511
|
}
|
|
512
|
if (con == 50)
|
|
513
|
{
|
|
514
|
with (s)
|
|
515
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
516
|
global.typer = 31;
|
|
517
|
global.fc = 2;
|
|
518
|
global.fe = 6;
|
|
519
|
global.msg[0] = * Well,Delay 11 we're happy to have you back,Delay 11 Susie.Wait for input ;
|
|
520
|
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, 4);
|
|
521
|
global.msg[2] = * Yeah,Delay 11 yeah,Delay 11 let's just hurry up and go home.Wait for inputClose Message ;
|
|
522
|
instance_create(0, 0, obj_dialoguer);
|
|
523
|
con = 51;
|
|
524
|
}
|
|
525
|
if (con == 51 && !d_ex())
|
|
526
|
{
|
|
527
|
with (s)
|
|
528
|
sprite_index = spr_susier_dark_unhappy;
|
|
529
|
with (l)
|
|
530
|
sprite_index = spr_lancer_lt_unhappy;
|
|
531
|
con = 52;
|
|
532
|
alarm[4] = 20; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
533
|
}
|
|
534
|
if (con == 53)
|
|
535
|
{
|
|
536
|
global.typer = 32;
|
|
537
|
global.fc = 5;
|
|
538
|
global.fe = 6;
|
|
539
|
global.msg[0] = ;
|
|
540
|
global.msg[1] = Face 7* Ummm...Delay 11 Susie?Wait for input ;
|
|
541
|
global.msg[2] = Face 4* Does this mean we...Delay 11 aren't a team anymore?Wait for inputClose Message ;
|
|
542
|
con = 54;
|
|
543
|
instance_create(0, 0, obj_dialoguer);
|
|
544
|
}
|
|
545
|
if (con == 54 && !d_ex())
|
|
546
|
{
|
|
547
|
with (s)
|
|
548
|
{
|
|
549
|
hspeed = -6;
|
|
550
|
image_index = 1;
|
|
551
|
}
|
|
552
|
con = 55;
|
|
553
|
alarm[4] = 4; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
554
|
}
|
|
555
|
if (con == 56)
|
|
556
|
{
|
|
557
|
with (s)
|
|
558
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
559
|
con = 57;
|
|
560
|
alarm[4] = 15; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
561
|
}
|
|
562
|
if (con == 58)
|
|
563
|
{
|
|
564
|
global.typer = 30;
|
|
565
|
global.fc = 1;
|
|
566
|
global.fe = 6;
|
|
567
|
global.msg[0] = * H...Delay 11 huh...?Delay 11 Umm,Delay 11 I mean,Delay 11 uhh...Wait for inputClose Message ;
|
|
568
|
d_make();
|
|
569
|
con = 59;
|
|
570
|
}
|
|
571
|
if (con == 59 && !d_ex())
|
|
572
|
{
|
|
573
|
with (s)
|
|
574
|
{
|
|
575
|
sprite_index = spr_susier_dark;
|
|
576
|
image_speed = 0.2;
|
|
577
|
hspeed = 6;
|
|
578
|
}
|
|
579
|
con = 60;
|
|
580
|
alarm[4] = 8; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
581
|
}
|
|
582
|
if (con == 61)
|
|
583
|
{
|
|
584
|
with (s)
|
|
585
|
scr_haltscr_halt
function scr_halt()
{
image_index = 0;
image_speed = 0;
speed = 0;
} ();
|
|
586
|
global.fe = 2;
|
|
587
|
global.msg[0] = * Of course we're still a team!Wait for input ;
|
|
588
|
global.msg[1] = Face 2* You can,Delay 11 um...Wait for inputClose Message ;
|
|
589
|
d_make();
|
|
590
|
con = 62;
|
|
591
|
}
|
|
592
|
if (con == 62 && !d_ex())
|
|
593
|
{
|
|
594
|
with (s)
|
|
595
|
sprite_index = spr_susiel_dark_unhappy;
|
|
596
|
con = 63;
|
|
597
|
alarm[4] = 30; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
598
|
}
|
|
599
|
if (con == 64)
|
|
600
|
{
|
|
601
|
with (s)
|
|
602
|
sprite_index = spr_susier_dark;
|
|
603
|
global.fe = 2;
|
|
604
|
name = ;
|
|
605
|
if (global.flag[214 team_name] == 1)
|
|
606
|
name = ;
|
|
607
|
if (global.flag[214 team_name] == 2)
|
|
608
|
name = ;
|
|
609
|
if (global.flag[214 team_name] == 3)
|
|
610
|
name = ;
|
|
611
|
global.msg[0] = scr_84_get_subst_stringscr_84_get_subst_string
function scr_84_get_subst_string()
{
var str = argument[0];
var sub_id = 1;
length = string_length(str);
pos = 0;
while (sub_id < argument_count)
{
var sub = "~" + string(sub_id);
str = string_replace_all(str, sub, argument[sub_id]);
sub_id = sub_id + 1;
}
return str;
} (* ... be part of the ~1!Wait for input , name);
|
|
612
|
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, 3);
|
|
613
|
global.msg[2] = scr_84_get_subst_stringscr_84_get_subst_string
function scr_84_get_subst_string()
{
var str = argument[0];
var sub_id = 1;
length = string_length(str);
pos = 0;
while (sub_id < argument_count)
{
var sub = "~" + string(sub_id);
str = string_replace_all(str, sub, argument[sub_id]);
sub_id = sub_id + 1;
}
return str;
} (* Wow!Delay 11 Me...!?Delay 11 In the ~1!?Wait for input , name);
|
|
614
|
global.msg[3] = Face 7* Wait...Wait for inputClose Message ;
|
|
615
|
d_make();
|
|
616
|
with (l)
|
|
617
|
sprite_index = spr_lancer_lt;
|
|
618
|
con = 65;
|
|
619
|
}
|
|
620
|
if (con == 65 && !d_ex())
|
|
621
|
{
|
|
622
|
with (l)
|
|
623
|
sprite_index = spr_lancer_rt_unhappy;
|
|
624
|
global.fe = 4;
|
|
625
|
global.msg[0] = * If I hang out with the good guys,Delay 11 then...Wait for inputClose Message ;
|
|
626
|
d_make();
|
|
627
|
con = 66;
|
|
628
|
}
|
|
629
|
if (con == 66 && !d_ex())
|
|
630
|
{
|
|
631
|
with (l)
|
|
632
|
sprite_index = spr_lancer_lt;
|
|
633
|
global.fe = 3;
|
|
634
|
global.msg[0] = * Can we still have monogrammed track jackets?Wait for input ;
|
|
635
|
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, 2);
|
|
636
|
global.msg[2] = * Yeah!Delay 11 * Ralsei will make them!Wait for input ;
|
|
637
|
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));
} (3, 3);
|
|
638
|
global.msg[4] = * H...Delay 11 Huh!?Wait for input ;
|
|
639
|
global.msg[5] = Face 8* ... Okay,Delay 11 sure!Wait for input ;
|
|
640
|
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, 8);
|
|
641
|
global.msg[7] = * Ahahah!!!Delay 11 * Lancer joins the team!!!Wait for inputClose Message ;
|
|
642
|
con = 67;
|
|
643
|
d_make();
|
|
644
|
}
|
|
645
|
if (con == 67 && !d_ex())
|
|
646
|
{
|
|
647
|
global.currentsong[0] = snd_init("fanfare.ogg");
|
|
648
|
global.currentsong[1] = mus_play(global.currentsong[0]);
|
|
649
|
global.fc = 0;
|
|
650
|
global.typer = 52;
|
|
651
|
global.msg[0] = * Lancer joined the party!Wait for inputClose Message ;
|
|
652
|
d = instance_create(0, 0, obj_dialoguer);
|
|
653
|
d.skippable = 0;
|
|
654
|
con = 70;
|
|
655
|
}
|
|
656
|
if (con == 9999)
|
|
657
|
{
|
|
658
|
snd_free_all();
|
|
659
|
with (obj_dialoguer)
|
|
660
|
instance_destroy();
|
|
661
|
with (obj_writer)
|
|
662
|
instance_destroy();
|
|
663
|
global.typer = 30;
|
|
664
|
global.fe = 8;
|
|
665
|
global.fc = 1;
|
|
666
|
global.msg[0] = * No.Wait for inputClose Message ;
|
|
667
|
instance_create(0, 0, obj_dialoguer);
|
|
668
|
con = 70;
|
|
669
|
}
|
|
670
|
if (con == 70 && !d_ex())
|
|
671
|
{
|
|
672
|
snd_free_all();
|
|
673
|
obj_mainchara.x = k.x;
|
|
674
|
obj_mainchara.y = k.y;
|
|
675
|
scon = 1;
|
|
676
|
lcon = 20;
|
|
677
|
with (obj_mainchara)
|
|
678
|
visible = 1;
|
|
679
|
with (k)
|
|
680
|
visible = 0;
|
|
681
|
if (global.plot < 130)
|
|
682
|
global.plot = 130;
|
|
683
|
con = 71;
|
|
684
|
scr_pan_to_objscr_pan_to_obj
function scr_pan_to_obj(arg0, arg1)
{
_wd = arg0.x - floor((__view_get(e__VW.WView, 0) / 2) - (arg0.sprite_width / 2));
_ht = arg0.y - floor((__view_get(e__VW.HView, 0) / 2) - (arg0.sprite_height / 2));
_vx = _wd;
_vy = _ht;
if (_vx < 0)
_vx = 0;
if (_vx > (room_width - _vx))
_vx = room_width - _vx;
if (_vy < 0)
_vy = 0;
if (_vy > (room_height - __view_get(e__VW.HView, 0)))
_vy = room_height - __view_get(e__VW.HView, 0);
scr_pan((_vx - __view_get(e__VW.XView, 0)) / arg1, (_vy - __view_get(e__VW.YView, 0)) / arg1, arg1);
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} (obj_mainchara, 50);
|
|
685
|
alarm[4] = 52; gml_Object_obj_susieandlancer_event_Alarm_4.gml
con += 1;
|
|
686
|
}
|
|
687
|
if (scon == 1)
|
|
688
|
{
|
|
689
|
with (s)
|
|
690
|
{
|
|
691
|
sprite_index = spr_susiel_dark;
|
|
692
|
image_index += 0.2;
|
|
693
|
x -= 10;
|
|
694
|
}
|
|
695
|
if (s.x <= (r.x - 50))
|
|
696
|
{
|
|
697
|
scr_losecharscr_losechar
function 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;
} ();
|
|
698
|
scr_getcharscr_getchar
function 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);
|
|
699
|
scr_getcharscr_getchar
function 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;
}
}
}
} (2);
|
|
700
|
s.visible = 0;
|
|
701
|
global.cinstance[1] = instance_create(s.x, s.y, obj_caterpillarchara);
|
|
702
|
global.cinstance[1].target = 24;
|
|
703
|
scon = 2;
|
|
704
|
}
|
|
705
|
}
|
|
706
|
if (lcon == 20)
|
|
707
|
{
|
|
708
|
l.sprite_index = spr_lancer_lt;
|
|
709
|
l.x -= 15;
|
|
710
|
l.y += 0.5;
|
|
711
|
if (l.x <= (r.x - 120))
|
|
712
|
lcon = 21;
|
|
713
|
}
|
|
714
|
if (lcon == 21)
|
|
715
|
{
|
|
716
|
npc = instance_create(l.x, l.y, obj_npc_room);
|
|
717
|
npc.sprite_index = spr_lancer_rt;
|
|
718
|
lcon = 22;
|
|
719
|
global.flag[229 lancer_follow_progress] = 1;
|
|
720
|
with (l)
|
|
721
|
visible = 0;
|
|
722
|
}
|
|
723
|
if (con == 72)
|
|
724
|
{
|
|
725
|
savepoint = instance_create(640, 80, obj_savepoint);
|
|
726
|
with (r)
|
|
727
|
visible = 0;
|
|
728
|
global.cinstance[0].x = r.x;
|
|
729
|
global.cinstance[0].y = r.y;
|
|
730
|
with (global.cinstance[0])
|
|
731
|
{
|
|
732
|
visible = 1;
|
|
733
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate()
{
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = global.facing;
for (i = target; i > 0; i -= 1)
{
facing[i] = 2;
remx[i] = obj_mainchara.x + ((x - obj_mainchara.x) * (i / target));
remy[i] = obj_mainchara.y + ((y - obj_mainchara.y) * (i / target));
}
} ();
|
|
734
|
}
|
|
735
|
with (global.cinstance[1])
|
|
736
|
{
|
|
737
|
visible = 1;
|
|
738
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate()
{
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = global.facing;
for (i = target; i > 0; i -= 1)
{
facing[i] = 2;
remx[i] = obj_mainchara.x + ((x - obj_mainchara.x) * (i / target));
remy[i] = obj_mainchara.y + ((y - obj_mainchara.y) * (i / target));
}
} ();
|
|
739
|
}
|
|
740
|
scr_caterpillar_facingscr_caterpillar_facing
function scr_caterpillar_facing(arg0)
{
with (obj_caterpillarchara)
{
for (i = 0; i < 25; i += 1)
facing[i] = arg0;
}
} (1);
|
|
741
|
with (obj_mainchara)
|
|
742
|
cutscene = 0;
|
|
743
|
global.interact = 0;
|
|
744
|
global.facing = 0;
|
|
745
|
scr_tempsavescr_tempsave
function scr_tempsave()
{
filechoicebk2 = global.filechoice;
global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2;
} ();
|
|
746
|
con = 99;
|
|
747
|
}
|
|
748
|
if (global.plot < 150 && con == 99 && global.interact == 0 && obj_mainchara.x <= 80)
|
|
749
|
{
|
|
750
|
obj_mainchara.x = 82;
|
|
751
|
global.interact = 1;
|
|
752
|
global.typer = 31;
|
|
753
|
global.fc = 2;
|
|
754
|
global.fe = 1;
|
|
755
|
global.msg[0] = * Kris,Delay 11 we're getting close to the Fountain...Wait for input ;
|
|
756
|
global.msg[1] = Face 8* Let's not turn back now.Wait for inputClose Message ;
|
|
757
|
instance_create(0, 0, obj_dialoguer);
|
|
758
|
con = 100;
|
|
759
|
}
|
|
760
|
if (con == 100 && !d_ex())
|
|
761
|
{
|
|
762
|
con = 99;
|
|
763
|
global.interact = 0;
|
|
764
|
}
|
|
765
|
|
|
766
|
enum e__VW
|
|
767
|
{
|
|
768
|
XView,
|
|
769
|
YView,
|
|
770
|
WView,
|
|
771
|
HView,
|
|
772
|
Angle,
|
|
773
|
HBorder,
|
|
774
|
VBorder,
|
|
775
|
HSpeed,
|
|
776
|
VSpeed,
|
|
777
|
Object,
|
|
778
|
Visible,
|
|
779
|
XPort,
|
|
780
|
YPort,
|
|
781
|
WPort,
|
|
782
|
HPort,
|
|
783
|
Camera,
|
|
784
|
SurfaceID
|
|
785
|
}
|