|
1
|
if (defeated == 1 && global.mnfight == 1)
|
|
2
|
{
|
|
3
|
global.mnfight = 99;
|
|
4
|
con = 1;
|
|
5
|
}
|
|
6
|
if (global.monster[myself] == 1 && defeated == 0)
|
|
7
|
{
|
|
8
|
global.flag[51 + myself] = 4;
|
|
9
|
if (global.mnfight == 1 && talked == 0)
|
|
10
|
{
|
|
11
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == 1)
|
|
12
|
{
|
|
13
|
susie_revive_count += 1;
|
|
14
|
if (susie_revive_count >= 3)
|
|
15
|
{
|
|
16
|
with (obj_susieandlancer_event)
|
|
17
|
s.visible = 0;
|
|
18
|
global.monster[0] = 1;
|
|
19
|
global.monsterinstance[0] = instance_create(global.monstermakex[0], global.monstermakey[0], global.monsterinstancetype[0]);
|
|
20
|
global.monsterinstance[0].myself = 0;
|
|
21
|
with (global.monsterinstance[0])
|
|
22
|
{
|
|
23
|
event_user(12);
|
|
24
|
event_user(1);
|
|
25
|
if (global.turntimer < 150)
|
|
26
|
global.turntimer = 150;
|
|
27
|
}
|
|
28
|
global.monsterhp[0] = 40;
|
|
29
|
snd_play(snd_power);
|
|
30
|
susie_revive_count = 0;
|
|
31
|
}
|
|
32
|
}
|
|
33
|
attack_qual = 1;
|
|
34
|
with (obj_susieenemy)
|
|
35
|
{
|
|
36
|
if (sleeping == 0 && global.monster[myself] == 1)
|
|
37
|
obj_lancerboss3.attack_qual = 0;
|
|
38
|
}
|
|
39
|
if (attack_qual == 1)
|
|
40
|
{
|
|
41
|
scr_randomtargetscr_randomtarget
function scr_randomtarget()
{
abletotarget = 1;
if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0)
abletotarget = 0;
mytarget = choose(0, 1, 2);
if (abletotarget == 1)
{
while (global.charcantarget[mytarget] == 0)
mytarget = choose(0, 1, 2);
}
else
{
mytarget = 3;
}
global.targeted[mytarget] = 1;
} ();
|
|
42
|
global.targeted[mytarget] = 1;
|
|
43
|
}
|
|
44
|
if (!instance_exists(obj_darkener))
|
|
45
|
instance_create(0, 0, obj_darkener);
|
|
46
|
global.typer = 50;
|
|
47
|
rrrr = choose(0, 1, 2, 3);
|
|
48
|
global.msg[0] = Hey!! Hey Susie!! Watch me, watch me!! ;
|
|
49
|
if (rrrr == 1)
|
|
50
|
global.msg[0] = Prepare for smashing, you luxurious melons!!! ;
|
|
51
|
if (rrrr == 2)
|
|
52
|
global.msg[0] = Horror! Pain! The power of REAL bad guys! (Nice, huh?) ;
|
|
53
|
if (rrrr == 3)
|
|
54
|
global.msg[0] = This bike is fueled by EVIL! ...and friendship! ;
|
|
55
|
if (lancer_hurt == 0 && global.monsterhp[myself] <= (global.monstermaxhp[myself] * 0.5))
|
|
56
|
{
|
|
57
|
lancer_hurt = 1;
|
|
58
|
global.msg[0] = ;
|
|
59
|
}
|
|
60
|
if (susie_act == 3)
|
|
61
|
global.msg[0] = Oh,Delay 11 what a beautiful song!!! ;
|
|
62
|
if (susie_act == 9)
|
|
63
|
global.msg[0] = Don't worry Bikey, I'll put you to bed soon... ;
|
|
64
|
if (acting == 2)
|
|
65
|
{
|
|
66
|
if (anythingcounter == 1)
|
|
67
|
global.msg[0] = ;
|
|
68
|
if (anythingcounter == 2)
|
|
69
|
global.msg[0] = ;
|
|
70
|
if (anythingcounter == 3)
|
|
71
|
global.msg[0] = Really!? It's just what I wanted!!! ;
|
|
72
|
if (anythingcounter >= 4)
|
|
73
|
global.msg[0] = Hee hee! I'm bliss- -fully ignorant! ;
|
|
74
|
}
|
|
75
|
if (acting == 3)
|
|
76
|
{
|
|
77
|
if (anythingcounter == 1)
|
|
78
|
global.msg[0] = ;
|
|
79
|
if (anythingcounter == 2)
|
|
80
|
global.msg[0] = Really!?Delay 11 That's bad! ;
|
|
81
|
if (anythingcounter == 3)
|
|
82
|
global.msg[0] = ;
|
|
83
|
if (anythingcounter >= 4)
|
|
84
|
global.msg[0] = Hee hee! I'm bliss- -fully ignorant! ;
|
|
85
|
}
|
|
86
|
susie_act = 0;
|
|
87
|
lancer_act = 0;
|
|
88
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
} (x - 235, y - 65, 3);
|
|
89
|
talked = 1;
|
|
90
|
talktimer = 0;
|
|
91
|
}
|
|
92
|
if (talked == 1 && global.mnfight == 1)
|
|
93
|
{
|
|
94
|
if (button1_p() && talktimer > 17)
|
|
95
|
talktimer = talkmax;
|
|
96
|
talktimer += 1;
|
|
97
|
if (talktimer >= talkmax)
|
|
98
|
{
|
|
99
|
if (!instance_exists(obj_moveheart))
|
|
100
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
101
|
if (!instance_exists(obj_growtangle))
|
|
102
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
103
|
with (obj_writer)
|
|
104
|
instance_destroy();
|
|
105
|
global.mnfight = 2;
|
|
106
|
}
|
|
107
|
}
|
|
108
|
if (global.mnfight == 2 && attacked == 0)
|
|
109
|
{
|
|
110
|
attack_qual = 0;
|
|
111
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == 1)
|
|
112
|
attack_qual = 1;
|
|
113
|
with (obj_susieenemy)
|
|
114
|
{
|
|
115
|
if (sleeping == 1)
|
|
116
|
obj_lancerboss3.attack_qual = 1;
|
|
117
|
}
|
|
118
|
if (attack_qual == 1)
|
|
119
|
{
|
|
120
|
if (attacks == 0)
|
|
121
|
{
|
|
122
|
bike = instance_create(x, y, obj_lancerbike);
|
|
123
|
visible = 0;
|
|
124
|
bike.racecon = 1;
|
|
125
|
bike.target = mytarget;
|
|
126
|
bike.damage = global.monsterat[myself] * 5;
|
|
127
|
attacks = 1;
|
|
128
|
}
|
|
129
|
else
|
|
130
|
{
|
|
131
|
bike = instance_create(x, y, obj_lancerbike);
|
|
132
|
visible = 0;
|
|
133
|
bike.lcon = 1;
|
|
134
|
bike.target = mytarget;
|
|
135
|
bike.damage = global.monsterat[myself] * 5;
|
|
136
|
attacks = 0;
|
|
137
|
}
|
|
138
|
global.turntimer = 999;
|
|
139
|
}
|
|
140
|
turns += 1;
|
|
141
|
attacked = 1;
|
|
142
|
rr = floor(random(5));
|
|
143
|
global.typer = 6;
|
|
144
|
global.fc = 0;
|
|
145
|
if (rr == 0)
|
|
146
|
global.battlemsg[0] = * Lancer's riding it out. ;
|
|
147
|
if (rr == 1)
|
|
148
|
global.battlemsg[0] = * Lancer is thinking about chips. ;
|
|
149
|
if (rr == 2)
|
|
150
|
global.battlemsg[0] = * Lancer's motorcycle is actually just a bike that's on fire. ;
|
|
151
|
if (rr == 3)
|
|
152
|
global.battlemsg[0] = * Lancer switches gears randomly to appear competent. ;
|
|
153
|
if (rr == 4)
|
|
154
|
global.battlemsg[0] = ;
|
|
155
|
}
|
|
156
|
}
|
|
157
|
if (global.myfight == 3)
|
|
158
|
{
|
|
159
|
xx = __view_get(e__VW.XView, 0);
|
|
160
|
yy = __view_get(e__VW.YView, 0);
|
|
161
|
if (acting == 1 && actcon == 0)
|
|
162
|
{
|
|
163
|
actcon = 1;
|
|
164
|
global.msg[0] = * LANCER - AT 7 DF 1 * Watch out!!!Delay 11 He's boosted by friendship!Wait for inputClose Message ;
|
|
165
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
166
|
}
|
|
167
|
if (acting == 2 && actcon == 0)
|
|
168
|
{
|
|
169
|
actcon = 1;
|
|
170
|
global.msg[0] = * You tried convincing Lancer not to fight.Wait for input ;
|
|
171
|
global.msg[1] = * Lancer started to become convinced!Wait for inputClose Message ;
|
|
172
|
if (anythingcounter == 1)
|
|
173
|
{
|
|
174
|
global.msg[0] = * You tried telling Lancer you like his hair...Wait for input ;
|
|
175
|
global.msg[1] = * Lancer became even more convinced!Wait for inputClose Message ;
|
|
176
|
}
|
|
177
|
if (anythingcounter == 2)
|
|
178
|
{
|
|
179
|
global.msg[0] = * You told Lancer you'd give him a picnic basket of worms.Wait for input ;
|
|
180
|
global.msg[1] = * Lancer became almost fully convinced!Wait for inputClose Message ;
|
|
181
|
}
|
|
182
|
if (anythingcounter >= 3)
|
|
183
|
{
|
|
184
|
global.msg[0] = * You told Lancer you just want to get along!Wait for input ;
|
|
185
|
global.msg[1] = * It's the decisive kindness!Wait for inputClose Message ;
|
|
186
|
if (ears_blocked >= 2)
|
|
187
|
{
|
|
188
|
global.msg[0] = * You told Lancer you want to get along really fast!Wait for input ;
|
|
189
|
global.msg[1] = * The soundwaves reached Lancer instantly!Wait for inputClose Message ;
|
|
190
|
}
|
|
191
|
attack_qual = 0;
|
|
192
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == 1)
|
|
193
|
attack_qual = 1;
|
|
194
|
with (obj_susieenemy)
|
|
195
|
{
|
|
196
|
if (sleeping == 1)
|
|
197
|
obj_lancerboss3.attack_qual = 1;
|
|
198
|
}
|
|
199
|
if (attack_qual == 0)
|
|
200
|
{
|
|
201
|
actcon = 20;
|
|
202
|
with (obj_monsterparent)
|
|
203
|
ears_blocked += 1;
|
|
204
|
}
|
|
205
|
else
|
|
206
|
{
|
|
207
|
anythingcounter = 10;
|
|
208
|
}
|
|
209
|
if (ears_blocked >= 3)
|
|
210
|
{
|
|
211
|
anythingcounter = 10;
|
|
212
|
actcon = 1;
|
|
213
|
attack_qual = 1;
|
|
214
|
}
|
|
215
|
}
|
|
216
|
if (anythingcounter < 4)
|
|
217
|
anythingcounter += 1;
|
|
218
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
219
|
}
|
|
220
|
if (acting == 3 && actcon == 0)
|
|
221
|
{
|
|
222
|
actcon = 1;
|
|
223
|
global.msg[0] = * You told Ralsei to compliment the enemies!Wait for input ;
|
|
224
|
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, 8);
|
|
225
|
global.msg[2] = * You two look like a really great team! I'm proud!Wait for input ;
|
|
226
|
scr_nofacescr_noface
function scr_noface(arg0)
{
global.msg[arg0] = Sound X Char 0 Sound 0 Close Message ;
} (3);
|
|
227
|
global.msg[4] = * (Lancer started to become a little convinced!)Wait for inputClose Message ;
|
|
228
|
if (anythingcounter == 1)
|
|
229
|
{
|
|
230
|
global.msg[0] = * You told Ralsei to logically best Lancer and Susie.Wait for input ;
|
|
231
|
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);
|
|
232
|
global.msg[2] = * You two,Delay 11 if we don't stop fighting, then...Wait for input ;
|
|
233
|
global.msg[3] = Face 6* ... Someone might get hurt!Wait for input ;
|
|
234
|
scr_nofacescr_noface
function scr_noface(arg0)
{
global.msg[arg0] = Sound X Char 0 Sound 0 Close Message ;
} (4);
|
|
235
|
global.msg[5] = * (Lancer became more convinced!Delay 11 It's working!)Wait for inputClose Message ;
|
|
236
|
}
|
|
237
|
if (anythingcounter == 2)
|
|
238
|
{
|
|
239
|
global.msg[0] = * You told Ralsei to offer his services to the enemies!Wait for input ;
|
|
240
|
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);
|
|
241
|
global.msg[2] = * You two,Delay 11 if we stop fighting,Delay 11 then I could,Delay 11 um...Wait for input ;
|
|
242
|
global.msg[3] = Face 8* I could braid your hair!Wait for input ;
|
|
243
|
scr_nofacescr_noface
function scr_noface(arg0)
{
global.msg[arg0] = Sound X Char 0 Sound 0 Close Message ;
} (4);
|
|
244
|
global.msg[5] = * (Lancer became almost fully convinced!)Wait for inputClose Message ;
|
|
245
|
}
|
|
246
|
if (anythingcounter >= 3)
|
|
247
|
{
|
|
248
|
global.msg[0] = * You told Ralsei to deal the final blow of kindness!Wait for input ;
|
|
249
|
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);
|
|
250
|
global.msg[2] = * In summary,Delay 11 I like you two,Delay 11 and...Wait for input ;
|
|
251
|
global.msg[3] = Face 8* I think we should all just get along!Wait for inputClose Message ;
|
|
252
|
if (ears_blocked >= 2)
|
|
253
|
{
|
|
254
|
global.msg[0] = * You told Ralsei to compliment Lancer really fast!Wait for input ;
|
|
255
|
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, 0);
|
|
256
|
global.msg[2] = * You'rereallyaswellpersonyouknowthat?!Wait for input ;
|
|
257
|
scr_nofacescr_noface
function scr_noface(arg0)
{
global.msg[arg0] = Sound X Char 0 Sound 0 Close Message ;
} (3);
|
|
258
|
global.msg[4] = * The soundwaves reached Lancer instantly!Wait for inputClose Message ;
|
|
259
|
}
|
|
260
|
attack_qual = 0;
|
|
261
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == 1)
|
|
262
|
attack_qual = 1;
|
|
263
|
with (obj_susieenemy)
|
|
264
|
{
|
|
265
|
if (sleeping == 1)
|
|
266
|
obj_lancerboss3.attack_qual = 1;
|
|
267
|
}
|
|
268
|
if (attack_qual == 0)
|
|
269
|
{
|
|
270
|
actcon = 20;
|
|
271
|
with (obj_monsterparent)
|
|
272
|
ears_blocked += 1;
|
|
273
|
}
|
|
274
|
else
|
|
275
|
{
|
|
276
|
anythingcounter = 10;
|
|
277
|
}
|
|
278
|
if (ears_blocked >= 3)
|
|
279
|
{
|
|
280
|
anythingcounter = 10;
|
|
281
|
actcon = 1;
|
|
282
|
attack_qual = 1;
|
|
283
|
}
|
|
284
|
}
|
|
285
|
if (anythingcounter < 4)
|
|
286
|
anythingcounter += 1;
|
|
287
|
if (instance_exists(obj_susieenemy))
|
|
288
|
{
|
|
289
|
obj_susieenemy.anythingxcounter = anythingcounter;
|
|
290
|
obj_susieenemy.lancer_act = 3;
|
|
291
|
}
|
|
292
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
293
|
}
|
|
294
|
if (actcon == 1 && !instance_exists(obj_writer))
|
|
295
|
{
|
|
296
|
actcon = 0;
|
|
297
|
if (anythingcounter < 10)
|
|
298
|
{
|
|
299
|
scr_attackphasescr_attackphase
function scr_attackphase()
{
with (obj_battlecontroller)
{
techwon = 0;
if (scr_monsterpop() == 0)
techwon = 1;
if (techwon == 0)
{
fightphase = 1;
global.charturn = 3;
if (global.charaction[0] == 4 || global.charaction[0] == 2)
fightphase = 0;
if (global.charaction[1] == 4 || global.charaction[1] == 2)
fightphase = 0;
if (global.charaction[2] == 4 || global.charaction[2] == 2)
fightphase = 0;
if (global.myfight == 4)
fightphase = 1;
if (fightphase == 1)
{
global.myfight = 1;
instance_create(xx + 2, yy + 365, obj_attackpress);
}
else
{
global.myfight = 4;
instance_create(0, 0, obj_spellphase);
}
}
else
{
scr_wincombat();
}
}
} ();
|
|
300
|
}
|
|
301
|
else
|
|
302
|
{
|
|
303
|
defeated = 1;
|
|
304
|
global.mnfight = 99;
|
|
305
|
global.myfight = 99;
|
|
306
|
con = 1;
|
|
307
|
global.flag[249 spared_lancer] = 1;
|
|
308
|
}
|
|
309
|
}
|
|
310
|
if (actcon == 20 && !instance_exists(obj_writer))
|
|
311
|
{
|
|
312
|
visible = 0;
|
|
313
|
with (obj_susieenemy)
|
|
314
|
visible = 0;
|
|
315
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == 1)
|
|
316
|
{
|
|
317
|
with (obj_susieandlancer_event)
|
|
318
|
s.visible = 0;
|
|
319
|
}
|
|
320
|
blocklan = 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, y, spr_lancerbike_earcover);
|
|
321
|
blocklan.depth = depth;
|
|
322
|
snd_play(snd_bell);
|
|
323
|
global.msg[0] = * (But Susie blocked the soundwaves before they reached Lancer!)Wait for input ;
|
|
324
|
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);
|
|
325
|
global.msg[2] = * Try convincing someone that can't HEAR YOU!Wait for inputClose Message ;
|
|
326
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
327
|
actcon = 21;
|
|
328
|
}
|
|
329
|
if (actcon == 21 && !instance_exists(obj_writer))
|
|
330
|
{
|
|
331
|
with (blocklan)
|
|
332
|
instance_destroy();
|
|
333
|
visible = 1;
|
|
334
|
with (obj_susieenemy)
|
|
335
|
visible = 1;
|
|
336
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () == 1)
|
|
337
|
{
|
|
338
|
with (obj_susieandlancer_event)
|
|
339
|
s.visible = 1;
|
|
340
|
}
|
|
341
|
actcon = 1;
|
|
342
|
}
|
|
343
|
}
|
|
344
|
if (con == 1)
|
|
345
|
{
|
|
346
|
alarm[4] = 5; gml_Object_obj_lancerboss3_Alarm_4.gml
con += 1;
|
|
347
|
con = 2;
|
|
348
|
}
|
|
349
|
if (con == 3)
|
|
350
|
{
|
|
351
|
with (obj_susieenemy)
|
|
352
|
idlesprite = spr_susie_enemy;
|
|
353
|
global.typer = 46;
|
|
354
|
global.fe = 4;
|
|
355
|
global.fc = 5;
|
|
356
|
global.msg[0] = ;
|
|
357
|
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, 9);
|
|
358
|
global.msg[2] = * Hey,Delay 11 HEY!Delay 11 Enough's enough already!Wait for input ;
|
|
359
|
global.msg[3] = * If you hit him any more,Delay 11 you might really hurt him!Wait for input ;
|
|
360
|
global.msg[4] = Face 0* ... Lancer,Delay 11 you OK...?Wait for input ;
|
|
361
|
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, 2);
|
|
362
|
global.msg[6] = * I...Delay 11 I'm fine,Delay 11 Susie!Wait for input ;
|
|
363
|
global.msg[7] = Face 7* My insides are just...Delay 11 a little mixed up.Wait for input ;
|
|
364
|
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, 0);
|
|
365
|
global.msg[9] = * Alright,Delay 11 fine!Delay 11 You guys win!Wait for input ;
|
|
366
|
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, 6);
|
|
367
|
global.msg[11] = * (Kris,Delay 11 maybe we should have taken it easier...)Wait for inputClose Message ;
|
|
368
|
if (global.flag[249 spared_lancer] == 1)
|
|
369
|
{
|
|
370
|
global.msg[0] = ;
|
|
371
|
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, 0);
|
|
372
|
global.msg[2] = * What's wrong,Delay 11 dude?Wait for input ;
|
|
373
|
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, 4);
|
|
374
|
global.msg[4] = * I accidentally started liking the enemies...!Wait for input ;
|
|
375
|
global.msg[5] = Face 3* Now seeing them just makes me feel round and soft.Wait for input ;
|
|
376
|
global.msg[6] = Face 4* Bad atmosphere for battle,Delay 11 though.Wait for input ;
|
|
377
|
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));
} (7, 0);
|
|
378
|
global.msg[8] = ;
|
|
379
|
global.msg[9] = Face 1* Well,Delay 11 if you don't wanna fight,Wait for input ;
|
|
380
|
global.msg[10] = Face 0* There's no point,Delay 11 I guess.Wait for input ;
|
|
381
|
global.msg[11] = Face 2* Battle's over!Wait for inputClose Message ;
|
|
382
|
}
|
|
383
|
con = 4;
|
|
384
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = __view_get(e__VW.XView, 0);
yy = __view_get(e__VW.YView, 0);
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ();
|
|
385
|
}
|
|
386
|
if (con == 4 && !instance_exists(obj_writer))
|
|
387
|
{
|
|
388
|
con = 5;
|
|
389
|
alarm[4] = 2; gml_Object_obj_lancerboss3_Alarm_4.gml
con += 1;
|
|
390
|
with (obj_battlecontroller)
|
|
391
|
{
|
|
392
|
noreturn = 0;
|
|
393
|
alarm[2]
|
|
394
|
}
|
|
395
|
}
|
|
396
|
if (con == 6)
|
|
397
|
{
|
|
398
|
with (obj_susieandlancer_event)
|
|
399
|
l.visible = 1;
|
|
400
|
with (obj_monsterparent)
|
|
401
|
scr_monsterdefeatscr_monsterdefeat
function scr_monsterdefeat()
{
if (global.monster[myself] == 1)
{
global.monstergold[3] += global.monstergold[myself];
global.monsterexp[3] += global.monsterexp[myself];
global.monster[myself] = 0;
if (global.flag[51 + myself] == 0)
{
global.flag[51 + myself] = 2;
if (global.monsterhp[myself] <= 0)
global.flag[51 + myself] = 1;
}
if (global.flag[51 + myself] == 1)
global.flag[40 violences] += 1;
if (global.flag[51 + myself] == 2)
global.flag[41 spares] += 1;
if (global.flag[51 + myself] == 3)
global.flag[42 pacifies] += 1;
if (global.flag[51 + myself] == 5)
global.flag[43 autosusie_violences] += 1;
if (scr_monsterpop() == 0)
{
_amt_add = 0;
_violenced = 0;
_spared = 0;
_pacified = 0;
for (d_i = 0; d_i < 3; d_i += 1)
{
if (global.flag[51 + d_i] != 0)
_amt_add += 1;
if (global.flag[51 + d_i] == 1)
_violenced += 1;
if (global.flag[51 + d_i] == 2)
_spared += 1;
if (global.flag[51 + d_i] == 3)
_pacified += 1;
}
if (_pacified > 0)
global.flag[50 last_encounter_end] = 3;
if (_spared > 0)
global.flag[50 last_encounter_end] = 2;
if (_violenced > 0)
global.flag[50 last_encounter_end] = 1;
}
event_user(11);
}
} ();
|
|
402
|
instance_destroy();
|
|
403
|
con = 7;
|
|
404
|
}
|
|
405
|
|
|
406
|
enum e__VW
|
|
407
|
{
|
|
408
|
XView,
|
|
409
|
YView,
|
|
410
|
WView,
|
|
411
|
HView,
|
|
412
|
Angle,
|
|
413
|
HBorder,
|
|
414
|
VBorder,
|
|
415
|
HSpeed,
|
|
416
|
VSpeed,
|
|
417
|
Object,
|
|
418
|
Visible,
|
|
419
|
XPort,
|
|
420
|
YPort,
|
|
421
|
WPort,
|
|
422
|
HPort,
|
|
423
|
Camera,
|
|
424
|
SurfaceID
|
|
425
|
}
|