|
1
|
with (obj_heroparent)
|
|
2
|
{
|
|
3
|
if (object_index == obj_herokris)
|
|
4
|
depth = 160;
|
|
5
|
if (object_index == obj_herosusie)
|
|
6
|
depth = 157;
|
|
7
|
if (object_index == obj_heroralsei)
|
|
8
|
depth = 154;
|
|
9
|
}
|
|
10
|
if (!i_ex(obj_herosusie) || !i_ex(obj_heroralsei))
|
|
11
|
{
|
|
12
|
if (debugvar == false && scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
13
|
{
|
|
14
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("You need Susie and Ralsei for this battle");
|
|
15
|
debugvar = true;
|
|
16
|
}
|
|
17
|
exit;
|
|
18
|
}
|
|
19
|
if (endbattle == true && !i_ex(obj_writer))
|
|
20
|
scr_sparescr_spare
function scr_spare(arg0)
{
with (global.monsterinstance[arg0])
event_user(10);
} (myself);
|
|
21
|
if (intro == 1 && room == room_board_2)
|
|
22
|
{
|
|
23
|
global.batmusic[0] = snd_init("rudebuster_boss.ogg");
|
|
24
|
global.batmusic[1] = mus_loop_ext(global.batmusic[0], 0.7, 1);
|
|
25
|
talked = 0;
|
|
26
|
intro = 4;
|
|
27
|
}
|
|
28
|
if (global.monster[myself] == 1)
|
|
29
|
{
|
|
30
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talked == 0)
|
|
31
|
{
|
|
32
|
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;
if (global.chapter >= 2 && mytarget != 3)
{
if (global.charcantarget[0])
global.targeted[0] = 1;
if (global.charcantarget[1])
global.targeted[1] = 1;
if (global.charcantarget[2])
global.targeted[2] = 1;
mytarget = 4;
}
} ();
|
|
33
|
with (obj_shutta_shine)
|
|
34
|
instance_destroy();
|
|
35
|
if (scr_monsterpopscr_monsterpop
function scr_monsterpop()
{
return global.monster[0] + global.monster[1] + global.monster[2];
} () != 1)
|
|
36
|
{
|
|
37
|
myattackchoice = 3;
|
|
38
|
}
|
|
39
|
else
|
|
40
|
{
|
|
41
|
if (attackorder == 0)
|
|
42
|
myattackchoice = 0;
|
|
43
|
if (attackorder == 1)
|
|
44
|
myattackchoice = 1;
|
|
45
|
if (attackorder == 2)
|
|
46
|
myattackchoice = 2;
|
|
47
|
attackorder++;
|
|
48
|
if (attackorder > 2)
|
|
49
|
attackorder = 0;
|
|
50
|
}
|
|
51
|
myattackpriority = 1;
|
|
52
|
if (myattackchoice == 2)
|
|
53
|
myattackpriority = 50;
|
|
54
|
scr_attackpriorityscr_attackpriority
function scr_attackpriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.attackpriority < arg0)
{
obj_battlecontroller.attackpriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (myattackpriority - 1);
|
|
55
|
if (!instance_exists(obj_darkener))
|
|
56
|
instance_create(0, 0, obj_darkener);
|
|
57
|
global.typer = 50;
|
|
58
|
var usegenericdialogue = false;
|
|
59
|
var rotationfailballoon1string = stringsetloc(Oh, a miserable picture. This is a mistake.Wait for inputClose Message"Oh, a miserable&picture. This is a&mistake./%", "obj_shutta_enemy_slash_Step_0_gml_62_0_b" );
|
|
60
|
if (amiabossfight && photoactcount == 1)
|
|
61
|
{
|
|
62
|
if (turns > 0 && photosuccessballoon == 0)
|
|
63
|
{
|
|
64
|
usegenericdialogue = true;
|
|
65
|
freefailcount++;
|
|
66
|
}
|
|
67
|
else if (photosuccessballoon == 1)
|
|
68
|
{
|
|
69
|
msgsetloc(0, The brilliant photo! I can't believe it's your first shoot!Wait for inputClose Message"The brilliant photo!&I can't believe&it's your first shoot!/%", "obj_shutta_enemy_slash_Step_0_gml_69_0" );
|
|
70
|
ballooncon = 1;
|
|
71
|
balloonend = 0;
|
|
72
|
}
|
|
73
|
else
|
|
74
|
{
|
|
75
|
msgsetloc(0, Not in the mood for the photo shoot? Mmmm...Wait for inputClose Message"Not in the mood&for the photo shoot?&Mmmm.../%", "obj_shutta_enemy_slash_Step_0_gml_70_0" );
|
|
76
|
ballooncon = 2;
|
|
77
|
balloonend = 0;
|
|
78
|
freefailcount++;
|
|
79
|
}
|
|
80
|
if (freefailcount == 1)
|
|
81
|
{
|
|
82
|
freefailcount++;
|
|
83
|
}
|
|
84
|
else if (justusedcameraact)
|
|
85
|
{
|
|
86
|
photoactcount++;
|
|
87
|
if (photoactcount == 7)
|
|
88
|
photoactcount = 3;
|
|
89
|
if (global.mercymod[obj_shutta_enemy.myself] >= 80)
|
|
90
|
photoactcount = 8;
|
|
91
|
}
|
|
92
|
}
|
|
93
|
else if (amiabossfight && !justusedcameraact && photoactcount > 1)
|
|
94
|
{
|
|
95
|
usegenericdialogue = true;
|
|
96
|
}
|
|
97
|
else if (amiabossfight && justusedcameraact)
|
|
98
|
{
|
|
99
|
if (photoactcount == 2)
|
|
100
|
{
|
|
101
|
if (photosuccessballoon == 1)
|
|
102
|
{
|
|
103
|
msgsetloc(0, Ooo la la. Was my smile always so beautiful?Wait for inputClose Message"Ooo la la. Was my&smile always so&beautiful?/%", "obj_shutta_enemy_slash_Step_0_gml_74_0" );
|
|
104
|
ballooncon = 3;
|
|
105
|
balloonend = 0;
|
|
106
|
}
|
|
107
|
else
|
|
108
|
{
|
|
109
|
msgset(0, rotationfailballoon1string);
|
|
110
|
ballooncon = 4;
|
|
111
|
balloonend = 0;
|
|
112
|
rotationfailcount++;
|
|
113
|
}
|
|
114
|
}
|
|
115
|
else if (photoactcount == 3)
|
|
116
|
{
|
|
117
|
if (photosuccessballoon == 1)
|
|
118
|
{
|
|
119
|
msgsetloc(0, Ooo la la. The exquisite Lancer for our collection.Wait for inputClose Message"Ooo la la. The&exquisite Lancer&for our collection./%", "obj_shutta_enemy_slash_Step_0_gml_79_0" );
|
|
120
|
ballooncon = 5;
|
|
121
|
balloonend = 0;
|
|
122
|
}
|
|
123
|
else
|
|
124
|
{
|
|
125
|
msgsetloc(0, Ooo la la. We will have to do the re-take.Wait for inputClose Message"Ooo la la. We&will have to do&the re-take./%", "obj_shutta_enemy_slash_Step_0_gml_80_0" );
|
|
126
|
ballooncon = 6;
|
|
127
|
balloonend = 0;
|
|
128
|
lancerfailcount++;
|
|
129
|
}
|
|
130
|
}
|
|
131
|
else if (photoactcount == 4)
|
|
132
|
{
|
|
133
|
if (photosuccessballoon == 1)
|
|
134
|
{
|
|
135
|
msgsetloc(0, Ah, the beautiful wildlife photo of the Susie in her natural environment...Wait for inputClose Message"Ah, the beautiful&wildlife photo of&the Susie in her&natural environment.../%", "obj_shutta_enemy_slash_Step_0_gml_84_0" );
|
|
136
|
ballooncon = 7;
|
|
137
|
balloonend = 0;
|
|
138
|
}
|
|
139
|
else
|
|
140
|
{
|
|
141
|
msgsetloc(0, Ah, the Kris has failed the Toilet Challenge.Wait for inputClose Message"Ah, the Kris has&failed the Toilet&Challenge./%", "obj_shutta_enemy_slash_Step_0_gml_85_0" );
|
|
142
|
ballooncon = 8;
|
|
143
|
balloonend = 0;
|
|
144
|
toiletfailcount++;
|
|
145
|
}
|
|
146
|
}
|
|
147
|
else if (photoactcount == 5)
|
|
148
|
{
|
|
149
|
if (photosuccessballoon == 1)
|
|
150
|
{
|
|
151
|
msgsetloc(0, Ooo la la. The Ralsei! I would recognize that silhouette...Wait for inputClose Message"Ooo la la. The&Ralsei!&I would recognize&that silhouette.../%", "obj_shutta_enemy_slash_Step_0_gml_89_0" );
|
|
152
|
ballooncon = 9;
|
|
153
|
balloonend = 0;
|
|
154
|
}
|
|
155
|
else
|
|
156
|
{
|
|
157
|
msgsetloc(0, Ooo la la. Kris, don't you recognize The Ralsei, your dear companion, your friendship, little flossy boy, the bimbito.Wait for inputClose Message"Ooo la la. Kris,&don't you recognize&The Ralsei, your&dear companion,&your friendship,&little flossy boy,&the bimbito./%", "obj_shutta_enemy_slash_Step_0_gml_90_0" );
|
|
158
|
ballooncon = 10;
|
|
159
|
balloonend = 0;
|
|
160
|
ralseifailcount++;
|
|
161
|
}
|
|
162
|
}
|
|
163
|
else if (photoactcount == 6)
|
|
164
|
{
|
|
165
|
if (photosuccessballoon == 1)
|
|
166
|
{
|
|
167
|
msgsetloc(0, Ohhh, so beautiful! I save the picture, I save the picture.Wait for inputClose Message"Ohhh, so beautiful!&I save the picture,&I save the picture./%", "obj_shutta_enemy_slash_Step_0_gml_94_0" );
|
|
168
|
ballooncon = 11;
|
|
169
|
balloonend = 0;
|
|
170
|
}
|
|
171
|
else
|
|
172
|
{
|
|
173
|
msgset(0, rotationfailballoon1string);
|
|
174
|
ballooncon = 4;
|
|
175
|
balloonend = 0;
|
|
176
|
}
|
|
177
|
}
|
|
178
|
else if (photoactcount == 7)
|
|
179
|
{
|
|
180
|
if (photosuccessballoon == 1)
|
|
181
|
{
|
|
182
|
msgsetloc(0, Ohh, little monogram boy, he jumps and jumps.Wait for inputClose Message"Ohh, little monogram&boy, he jumps and&jumps./%", "obj_shutta_enemy_slash_Step_0_gml_99_0" );
|
|
183
|
ballooncon = 12;
|
|
184
|
balloonend = 0;
|
|
185
|
}
|
|
186
|
else
|
|
187
|
{
|
|
188
|
msgsetloc(0, Ohhh, the picture. I save the picture!Wait for inputClose Message"Ohhh, the picture.&I save the picture!/%", "obj_shutta_enemy_slash_Step_0_gml_100_0" );
|
|
189
|
ballooncon = 13;
|
|
190
|
balloonend = 0;
|
|
191
|
}
|
|
192
|
}
|
|
193
|
else
|
|
194
|
{
|
|
195
|
usegenericdialogue = true;
|
|
196
|
}
|
|
197
|
if (photoactcount == 2 && rotationfailcount == 1)
|
|
198
|
{
|
|
199
|
rotationfailcount++;
|
|
200
|
}
|
|
201
|
else if (photoactcount == 3 && lancerfailcount == 1)
|
|
202
|
{
|
|
203
|
lancerfailcount++;
|
|
204
|
}
|
|
205
|
else if (photoactcount == 4 && toiletfailcount == 1)
|
|
206
|
{
|
|
207
|
toiletfailcount++;
|
|
208
|
}
|
|
209
|
else if (photoactcount == 5 && ralseifailcount == 1)
|
|
210
|
{
|
|
211
|
ralseifailcount++;
|
|
212
|
}
|
|
213
|
else
|
|
214
|
{
|
|
215
|
photoactcount++;
|
|
216
|
if (photoactcount == 7)
|
|
217
|
photoactcount = 3;
|
|
218
|
}
|
|
219
|
if (global.mercymod[obj_shutta_enemy.myself] >= 80)
|
|
220
|
photoactcount = 8;
|
|
221
|
}
|
|
222
|
if (!amiabossfight || usegenericdialogue)
|
|
223
|
{
|
|
224
|
var _ext = "";
|
|
225
|
if (amiabossfight)
|
|
226
|
_ext = "/%";
|
|
227
|
rr = choose(0, 1, 2, 3, 4, 5);
|
|
228
|
if (rr == 0)
|
|
229
|
msgsetsubloc(0, "How are we&LOOKING today?~1", _ext, "obj_shutta_enemy_slash_Step_0_gml_121_0");
|
|
230
|
if (rr == 1)
|
|
231
|
msgsetsubloc(0, "POSE and... HOLD!&Can we get a little smolder?~1", _ext, "obj_shutta_enemy_slash_Step_0_gml_122_0");
|
|
232
|
if (rr == 2)
|
|
233
|
msgsetsubloc(0, "The energy, baby,&EYE am LOVING it!~1", _ext, "obj_shutta_enemy_slash_Step_0_gml_123_0");
|
|
234
|
if (rr == 3)
|
|
235
|
msgsetsubloc(0, "Work it baby,&WORK it!~1", _ext, "obj_shutta_enemy_slash_Step_0_gml_124_0");
|
|
236
|
if (rr == 4)
|
|
237
|
msgsetsubloc(0, "How's my ATTACK ALBUM?&I'll let you in it too!~1", _ext, "obj_shutta_enemy_slash_Step_0_gml_125_0");
|
|
238
|
if (rr == 5)
|
|
239
|
msgsetsubloc(0, "My memory is&photographic,&photo-TASTIC!&Wanna see?~1", _ext, "obj_shutta_enemy_slash_Step_0_gml_126_0");
|
|
240
|
if (sharpshootballoon)
|
|
241
|
{
|
|
242
|
msgsetloc(0, My handlashes are so curled!"My handlashes&are so curled!", "obj_shutta_enemy_slash_Step_0_gml_116_0" );
|
|
243
|
sharpshootballoon = false;
|
|
244
|
}
|
|
245
|
ballooncon = 0;
|
|
246
|
balloonend = 1;
|
|
247
|
}
|
|
248
|
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_long;
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_long;
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;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x - 5, global.monstery[myself], 10);
|
|
249
|
photosuccessballoon = 0;
|
|
250
|
justusedcameraact = false;
|
|
251
|
talked = 1;
|
|
252
|
talktimer = 0;
|
|
253
|
rtimer = 0;
|
|
254
|
if (ballooncon == 0)
|
|
255
|
{
|
|
256
|
talked = 0.5;
|
|
257
|
talktimer = 0;
|
|
258
|
}
|
|
259
|
else
|
|
260
|
{
|
|
261
|
talked = 0.6;
|
|
262
|
talktimer = 0;
|
|
263
|
}
|
|
264
|
if (!amiabossfight)
|
|
265
|
talked = 1;
|
|
266
|
rtimer = 0;
|
|
267
|
}
|
|
268
|
if (talked == 0.5)
|
|
269
|
{
|
|
270
|
talktimer++;
|
|
271
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
272
|
{
|
|
273
|
with (obj_writer)
|
|
274
|
instance_destroy();
|
|
275
|
alarm[6] = 1; gml_Object_obj_shutta_enemy_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
276
|
}
|
|
277
|
}
|
|
278
|
if (talked == 0.6)
|
|
279
|
{
|
|
280
|
talktimer++;
|
|
281
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
282
|
{
|
|
283
|
with (obj_writer)
|
|
284
|
instance_destroy();
|
|
285
|
if (ballooncon == 1)
|
|
286
|
{
|
|
287
|
msgsetloc(0, Now how about I shoot... YOU?Wait for inputClose Message"Now how about I &shoot... YOU?/%", "obj_shutta_enemy_slash_Step_0_gml_161_0" );
|
|
288
|
ballooncon = 0;
|
|
289
|
balloonend = 1;
|
|
290
|
}
|
|
291
|
else if (ballooncon == 2)
|
|
292
|
{
|
|
293
|
msgsetloc(0, Then how about I shoot... YOU?Wait for inputClose Message"Then how about&I shoot... YOU?/%", "obj_shutta_enemy_slash_Step_0_gml_162_0" );
|
|
294
|
ballooncon = 0;
|
|
295
|
balloonend = 1;
|
|
296
|
}
|
|
297
|
else if (ballooncon == 3)
|
|
298
|
{
|
|
299
|
msgsetloc(0, The camera added 10 pounds of pure happiness to my teeth...Wait for inputClose Message"The camera added&10 pounds of pure&happiness to my&teeth.../%", "obj_shutta_enemy_slash_Step_0_gml_163_0" );
|
|
300
|
ballooncon = 0;
|
|
301
|
balloonend = 1;
|
|
302
|
}
|
|
303
|
else if (ballooncon == 4)
|
|
304
|
{
|
|
305
|
msgsetloc(0, Let us agree to delete this picture. Forever.Wait for inputClose Message"Let us agree to&delete this&picture. Forever./%", "obj_shutta_enemy_slash_Step_0_gml_164_0" );
|
|
306
|
ballooncon = 0;
|
|
307
|
balloonend = 1;
|
|
308
|
}
|
|
309
|
else if (ballooncon == 5)
|
|
310
|
{
|
|
311
|
msgsetloc(0, How about a fashion photo with the little monogram boy later?Wait for inputClose Message"How about a fashion&photo with the little&monogram boy later?/%", "obj_shutta_enemy_slash_Step_0_gml_165_0" );
|
|
312
|
ballooncon = 0;
|
|
313
|
balloonend = 1;
|
|
314
|
}
|
|
315
|
else if (ballooncon == 6)
|
|
316
|
{
|
|
317
|
msgsetloc(0, Lancer, keep doing stretches to keep your tongue warmed-up.Wait for inputClose Message"Lancer, keep doing&stretches to keep&your tongue warmed-up./%", "obj_shutta_enemy_slash_Step_0_gml_166_0" );
|
|
318
|
ballooncon = 0;
|
|
319
|
balloonend = 1;
|
|
320
|
}
|
|
321
|
else if (ballooncon == 7)
|
|
322
|
{
|
|
323
|
msgsetloc(0, Destruction, Destruction, Ah, it lights my smile.Wait for inputClose Message"Destruction,&Destruction,&Ah, it lights&my smile./%", "obj_shutta_enemy_slash_Step_0_gml_167_0" );
|
|
324
|
ballooncon = 0;
|
|
325
|
balloonend = 1;
|
|
326
|
}
|
|
327
|
else if (ballooncon == 8)
|
|
328
|
{
|
|
329
|
msgsetloc(0, Ah... no, no, I blame the lighting...Wait for inputClose Message"Ah... no, no,&I blame the&lighting.../%", "obj_shutta_enemy_slash_Step_0_gml_168_0" );
|
|
330
|
ballooncon = 0;
|
|
331
|
balloonend = 1;
|
|
332
|
}
|
|
333
|
else if (ballooncon == 9)
|
|
334
|
{
|
|
335
|
msgsetloc(0, Well, I would recognize it multiple places, I suppose.Wait for inputClose Message"Well, I would&recognize it &multiple places,&I suppose./%", "obj_shutta_enemy_slash_Step_0_gml_169_0" );
|
|
336
|
ballooncon = 0;
|
|
337
|
balloonend = 1;
|
|
338
|
}
|
|
339
|
else if (ballooncon == 10)
|
|
340
|
{
|
|
341
|
msgsetloc(0, Me neither.Wait for inputClose Message"Me neither./%", "obj_shutta_enemy_slash_Step_0_gml_170_0_b" );
|
|
342
|
ballooncon = 0;
|
|
343
|
balloonend = 1;
|
|
344
|
}
|
|
345
|
else if (ballooncon == 11)
|
|
346
|
{
|
|
347
|
msgsetloc(0, It's my new background, it's my new foreground.Wait for inputClose Message"It's my new &background,&it's my new&foreground./%", "obj_shutta_enemy_slash_Step_0_gml_171_0" );
|
|
348
|
ballooncon = 0;
|
|
349
|
balloonend = 1;
|
|
350
|
}
|
|
351
|
else if (ballooncon == 12)
|
|
352
|
{
|
|
353
|
msgsetloc(0, A perfect photo of a little joy. I rate it E10+.Wait for inputClose Message"A perfect photo of&a little joy.&I rate it E10+./%", "obj_shutta_enemy_slash_Step_0_gml_172_0" );
|
|
354
|
ballooncon = 0;
|
|
355
|
balloonend = 1;
|
|
356
|
}
|
|
357
|
else if (ballooncon == 13)
|
|
358
|
{
|
|
359
|
msgsetloc(0, Ohh, the picture. I delete the picture!Wait for inputClose Message"Ohh, the picture.&I delete the picture!/%", "obj_shutta_enemy_slash_Step_0_gml_173_0" );
|
|
360
|
ballooncon = 0;
|
|
361
|
balloonend = 1;
|
|
362
|
}
|
|
363
|
talked = 0.7;
|
|
364
|
global.typer = 50;
|
|
365
|
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_long;
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_long;
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;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x - 5, global.monstery[myself], 10);
|
|
366
|
ralseitalks = 0;
|
|
367
|
susietalks = 0;
|
|
368
|
alarm[6] = 1; gml_Object_obj_shutta_enemy_Alarm_6.gml
if (balloonend == 1)
{
talked = 1;
}
else
{
talked = 0.6;
talktimer = 0;
}
|
|
369
|
}
|
|
370
|
}
|
|
371
|
if (amiabossfight && talked == 1 && scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && !i_ex(obj_writer))
|
|
372
|
{
|
|
373
|
global.mnfight = 1.5;
|
|
374
|
attackchosen = false;
|
|
375
|
}
|
|
376
|
if (!amiabossfight && talked == 1 && scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk"))
|
|
377
|
scr_blconskipscr_blconskip
function scr_blconskip(arg0)
{
if (arg0 >= 0)
{
if (button1_p() && talktimer > arg0)
talktimer = talkmax;
talktimer += 1;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 1.5;
}
}
else if (arg0 == -1)
{
if (instance_exists(obj_writer) == false)
global.mnfight = 1.5;
}
else if (arg0 == -2)
{
talktimer += 1;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 1.5;
}
}
} (15);
|
|
378
|
if (global.mnfight == 1.5)
|
|
379
|
{
|
|
380
|
if (!instance_exists(obj_growtangle))
|
|
381
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
382
|
if (!instance_exists(obj_moveheart) && !i_ex(obj_heart))
|
|
383
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
384
|
global.mnfight = 2;
|
|
385
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
386
|
}
|
|
387
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("bullets") && attacked == 0)
|
|
388
|
{
|
|
389
|
rtimer += 1;
|
|
390
|
if (rtimer == 1)
|
|
391
|
posecon = 1;
|
|
392
|
if (rtimer == 12)
|
|
393
|
{
|
|
394
|
if (myattackchoice == 0)
|
|
395
|
{
|
|
396
|
global.monsterattackname[myself] = "shutta 1";
|
|
397
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
398
|
dc.type = 146;
|
|
399
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
400
|
dc.type = 64;
|
|
401
|
dc.difficulty = 0;
|
|
402
|
}
|
|
403
|
if (myattackchoice == 1)
|
|
404
|
{
|
|
405
|
global.monsterattackname[myself] = "shutta 2";
|
|
406
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
407
|
dc.type = 147;
|
|
408
|
dc.difficulty = 3;
|
|
409
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
410
|
dc.type = 64;
|
|
411
|
dc.difficulty = 3;
|
|
412
|
dc.special = 1;
|
|
413
|
}
|
|
414
|
if (myattackchoice == 2)
|
|
415
|
{
|
|
416
|
global.monsterattackname[myself] = "shutta 3";
|
|
417
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
418
|
dc.type = 145;
|
|
419
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
420
|
dc.type = 64;
|
|
421
|
dc.difficulty = 3;
|
|
422
|
dc.special = 2;
|
|
423
|
}
|
|
424
|
if (myattackchoice == 3)
|
|
425
|
{
|
|
426
|
if (i_ex(obj_zapper_enemy) || i_ex(obj_shadowman_enemy))
|
|
427
|
{
|
|
428
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
429
|
dc.type = 64;
|
|
430
|
dc.difficulty = 3;
|
|
431
|
dc.special = 2;
|
|
432
|
}
|
|
433
|
}
|
|
434
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (200);
|
|
435
|
turns += 1;
|
|
436
|
global.typer = 6;
|
|
437
|
global.fc = 0;
|
|
438
|
rr = choose(0, 1, 2, 3);
|
|
439
|
if (amiabossfight == true)
|
|
440
|
{
|
|
441
|
global.fc = 22;
|
|
442
|
global.battletyper = 80;
|
|
443
|
rr = choose(0, 1, 2);
|
|
444
|
if (irandom(100) < 3)
|
|
445
|
rr = 3;
|
|
446
|
if (rr == 0)
|
|
447
|
global.battlemsg[0] = stringsetloc(* LIGHTS! CAMERA! ... CAMERAAAA!"* LIGHTS! CAMERA! ... CAMERAAAA!", "obj_shutta_enemy_slash_Step_0_gml_129_0" );
|
|
448
|
if (rr == 1)
|
|
449
|
global.battlemsg[0] = stringsetloc(* HEY, GET ONE FOR FUNKIEST HOME VIDEOS, FOLKS!"* HEY, GET ONE FOR FUNKIEST HOME VIDEOS, FOLKS!", "obj_shutta_enemy_slash_Step_0_gml_130_0" );
|
|
450
|
if (rr == 2)
|
|
451
|
global.battlemsg[0] = stringsetloc(* MAKE MEMORIES YOU'LL LOOK BACK ON! .Delay 11.. EVERY DAY!"* MAKE MEMORIES YOU'LL LOOK BACK ON! ^1... EVERY DAY!", "obj_shutta_enemy_slash_Step_0_gml_131_0" );
|
|
452
|
if (rr == 3)
|
|
453
|
global.battlemsg[0] = stringsetloc(* WOUGH! SMELLS LIKE A DARKROOM! ... GET IT???"* WOUGH! SMELLS LIKE A DARKROOM! ... GET IT???", "obj_shutta_enemy_slash_Step_0_gml_132_0" );
|
|
454
|
}
|
|
455
|
else
|
|
456
|
{
|
|
457
|
if (scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (random(2)))
|
|
458
|
{
|
|
459
|
var substring = string(myself);
|
|
460
|
if (rr == 0)
|
|
461
|
global.battlemsg[0] = stringsetloc(* Shuttah struttahs."* Shuttah struttahs.", "obj_shutta_enemy_slash_Step_0_gml_139_0" );
|
|
462
|
if (rr == 1)
|
|
463
|
global.battlemsg[0] = stringsetloc(* Shuttah sings in a gasping voice."* Shuttah sings in a gasping voice.", "obj_shutta_enemy_slash_Step_0_gml_140_0" );
|
|
464
|
if (rr == 2)
|
|
465
|
global.battlemsg[0] = stringsetloc(* Shuttah takes selfies from two angles at once."* Shuttah takes selfies from two angles at once.", "obj_shutta_enemy_slash_Step_0_gml_141_0" );
|
|
466
|
if (rr == 3)
|
|
467
|
global.battlemsg[0] = stringsetloc(* Shuttah considers the best lighting for its attack."* Shuttah considers the best lighting for its attack.", "obj_shutta_enemy_slash_Step_0_gml_142_0" );
|
|
468
|
}
|
|
469
|
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 3) && scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (100 + random(2)))
|
|
470
|
global.battlemsg[0] = stringsetloc(* Shuttah's starting to look sepia."* Shuttah's starting to look sepia.", "obj_shutta_enemy_slash_Step_0_gml_144_0" );
|
|
471
|
if (global.mercymod[myself] >= 100 && scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (100 + random(2)))
|
|
472
|
global.battlemsg[0] = stringsetloc(* Shuttah preps for its RECRUITment portrait."* Shuttah preps for its RECRUITment portrait.", "obj_shutta_enemy_slash_Step_0_gml_145_0" );
|
|
473
|
if (global.monsterstatus[myself] == 1 && scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (100 + random(2)))
|
|
474
|
global.battlemsg[0] = stringsetloc(* Shuttah is so TIRED, it can't keep its shutters open."* Shuttah is so TIRED, it can't keep its shutters open.", "obj_shutta_enemy_slash_Step_0_gml_146_0" );
|
|
475
|
if (irandom(100) < 3)
|
|
476
|
global.battlemsg[0] = stringsetloc(* Smells like a darkroom... ironically enough."* Smells like a darkroom... ironically enough.", "obj_shutta_enemy_slash_Step_0_gml_147_0" );
|
|
477
|
}
|
|
478
|
attacked = 1;
|
|
479
|
}
|
|
480
|
}
|
|
481
|
if (global.mnfight == 2 && global.turntimer <= 1)
|
|
482
|
{
|
|
483
|
if (photoactcount == 4 && global.hp[2] < 1)
|
|
484
|
photoactcount = 5;
|
|
485
|
}
|
|
486
|
}
|
|
487
|
if (global.myfight == 3)
|
|
488
|
{
|
|
489
|
xx = __view_get(e__VW.XView, 0);
|
|
490
|
yy = __view_get(e__VW.YView, 0);
|
|
491
|
if (acting == 1 && actcon == 0)
|
|
492
|
{
|
|
493
|
actcon = 1;
|
|
494
|
msgsetloc(0, * SHUTTAH - When its eyes snap shut, memories are made in grey.Wait for inputClose Message"* SHUTTAH - When its eyes snap shut, memories are made in grey./%", "obj_shutta_enemy_slash_Step_0_gml_170_0" );
|
|
495
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
496
|
}
|
|
497
|
var inpname = scr_get_input_namescr_get_input_name
function scr_get_input_name(arg0)
{
var _control = "[?]";
if (global.is_console || obj_gamecontroller.gamepad_active)
{
_control = global.input_g[arg0];
if (_control == gp_padr)
return "\\*D ";
if (_control == gp_padl)
return "\\*A ";
if (_control == gp_padu)
return "\\*W ";
if (_control == gp_padd)
return "\\*S ";
if (_control == global.button0)
return "\\*Z ";
if (_control == global.button1)
return "\\*X ";
if (_control == global.button2)
return "\\*C ";
}
var left_bracket = (global.lang == "en") ? "[" : "[";
var right_bracket = (global.lang == "en") ? "]" : "]";
_control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket;
if (!is_string(_control))
_control = "[?]";
else
return _control;
} (4);
|
|
498
|
var photoacttext = stringsetsubloc("* Press directions to aim!&* Press ~1 to take the photo!", inpname, "obj_shutta_enemy_slash_Step_0_gml_174_0");
|
|
499
|
if (global.lang == "ja" && scr_is_switch_os())
|
|
500
|
photoacttext = stringsetsub("* 方向ボタンで 狙え!\n* ~1で シャッターを切れ!", inpname);
|
|
501
|
if (i_ex(obj_shadowman_enemy) || i_ex(obj_zapper_enemy))
|
|
502
|
photoacttext = stringsetloc(* Photo the most bullets!"* Photo the most bullets!", "obj_shutta_enemy_slash_Step_0_gml_314_0" );
|
|
503
|
if (actingral == 2 && filter == false)
|
|
504
|
{
|
|
505
|
with (obj_shutta_enemy)
|
|
506
|
filter = true;
|
|
507
|
if (global.flag[512 shuttah_r_act] == 0 && simultotal == 1)
|
|
508
|
{
|
|
509
|
msgsetloc(0, * Ralsei adds a filter to the photo! It's easier to center photos!!Wait for inputClose Message"* Ralsei adds a filter to the photo! It's easier to center photos!!/%", "obj_shutta_enemy_slash_Step_0_gml_181_0" );
|
|
510
|
global.flag[512 shuttah_r_act] = 1;
|
|
511
|
}
|
|
512
|
else
|
|
513
|
{
|
|
514
|
msgsetloc(0, * Ralsei adds a filter!Wait for inputClose Message"* Ralsei adds a filter!/%", "obj_shutta_enemy_slash_Step_0_gml_184_0" );
|
|
515
|
}
|
|
516
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
517
|
exit;
|
|
518
|
}
|
|
519
|
if (acting == 2 && actcon == 0 && !i_ex(obj_writer))
|
|
520
|
{
|
|
521
|
fastphoto = false;
|
|
522
|
acting = 3.1;
|
|
523
|
}
|
|
524
|
if (acting == 3 && actcon == 0 && !i_ex(obj_writer))
|
|
525
|
{
|
|
526
|
fastphoto = true;
|
|
527
|
acting = 3.1;
|
|
528
|
}
|
|
529
|
if (acting == 4 && actcon == 0 && !i_ex(obj_writer))
|
|
530
|
{
|
|
531
|
powerphoto = true;
|
|
532
|
acting = 3.1;
|
|
533
|
}
|
|
534
|
if (acting == 3.1 && actcon == 0 && !i_ex(obj_writer))
|
|
535
|
{
|
|
536
|
justusedcameraact = true;
|
|
537
|
var _pipestring = stringsetloc(* Take a photo Shuttah!Wait for inputClose Message"* Take a photo Shuttah!/%", "obj_shutta_enemy_slash_Step_0_gml_349_0" );
|
|
538
|
var _palmstring = stringsetloc(* Take a photo any character!Wait for inputClose Message"* Take a photo any character!/%", "obj_shutta_enemy_slash_Step_0_gml_204_0" );
|
|
539
|
var _toiletstring = stringsetloc(* Take a photo of an explosion! Time it right!Wait for inputClose Message"* Take a photo of an explosion! Time it right!/%", "obj_shutta_enemy_slash_Step_0_gml_205_0" );
|
|
540
|
var _lancerstring = stringsetloc(* Take a photo of Lancer's tongue!Wait for inputClose Message"* Take a photo of Lancer's tongue!/%", "obj_shutta_enemy_slash_Step_0_gml_352_0" );
|
|
541
|
var _rotationtring = stringsetloc(* Take a photo of Shuttah's Smile!Wait for inputClose Message"* Take a photo of Shuttah's Smile!/%", "obj_shutta_enemy_slash_Step_0_gml_353_0" );
|
|
542
|
var _ralseitring = stringsetloc(* Take a photo of Ralsei!Wait for inputClose Message"* Take a photo of Ralsei!/%", "obj_shutta_enemy_slash_Step_0_gml_354_0" );
|
|
543
|
var _bullettring = stringsetloc(* Photo as many bullets as you can!"* Photo as many bullets as you can!", "obj_shutta_enemy_slash_Step_0_gml_355_0" );
|
|
544
|
if (amiabossfight == true)
|
|
545
|
{
|
|
546
|
if (photoactcount == 1)
|
|
547
|
msgsetloc(0, * Take a full-body photo of anyone!Wait for inputClose Message"* Take a full-body photo of anyone!/%", "obj_shutta_enemy_slash_Step_0_gml_359_0" );
|
|
548
|
if (photoactcount == 2)
|
|
549
|
msgset(0, _rotationtring);
|
|
550
|
if (photoactcount == 3)
|
|
551
|
msgset(0, _lancerstring);
|
|
552
|
if (photoactcount == 4)
|
|
553
|
msgset(0, _toiletstring);
|
|
554
|
if (photoactcount == 5)
|
|
555
|
msgset(0, _ralseitring);
|
|
556
|
if (photoactcount == 6)
|
|
557
|
msgset(0, _rotationtring);
|
|
558
|
if (photoactcount == 7)
|
|
559
|
msgset(0, _lancerstring);
|
|
560
|
if (photoactcount == 8)
|
|
561
|
msgsetloc(0, * Take a photo of all the heroes together!Wait for inputClose Message"* Take a photo of all the heroes together!/%", "obj_shutta_enemy_slash_Step_0_gml_366_0" );
|
|
562
|
}
|
|
563
|
else
|
|
564
|
{
|
|
565
|
var _rand = choose(0, 1, 2);
|
|
566
|
if (_rand == 0)
|
|
567
|
{
|
|
568
|
photoactcount = 5;
|
|
569
|
msgset(0, _ralseitring);
|
|
570
|
}
|
|
571
|
if (_rand == 1)
|
|
572
|
{
|
|
573
|
photoactcount = 3;
|
|
574
|
msgset(0, _lancerstring);
|
|
575
|
}
|
|
576
|
if (_rand == 2)
|
|
577
|
{
|
|
578
|
photoactcount = 2;
|
|
579
|
msgset(0, _rotationtring);
|
|
580
|
}
|
|
581
|
}
|
|
582
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
583
|
acting = 3.2;
|
|
584
|
}
|
|
585
|
if (acting == 3.2 && actcon == 0 && (!i_ex(obj_writer) || i_ex(obj_shadowman_enemy) || i_ex(obj_zapper_enemy)))
|
|
586
|
{
|
|
587
|
var _controller = instance_create(x, y, obj_shutta_photo_controller);
|
|
588
|
_controller.enemy = id;
|
|
589
|
_controller.fastphoto = true;
|
|
590
|
_controller.posemax = 50 + irandom(20);
|
|
591
|
_controller.powerphoto = powerphoto;
|
|
592
|
if (filter)
|
|
593
|
{
|
|
594
|
_controller.centered_distance = 47;
|
|
595
|
_controller.reticle_size = 18;
|
|
596
|
}
|
|
597
|
if (fastphoto == false)
|
|
598
|
_controller.timer_duration = 300;
|
|
599
|
if (fastphoto == true)
|
|
600
|
_controller.timer_duration = 150;
|
|
601
|
if (amiabossfight == true && photoactcount == 0)
|
|
602
|
_controller.timer_duration = 540;
|
|
603
|
if (!i_ex(obj_shadowman_enemy) && !i_ex(obj_zapper_enemy))
|
|
604
|
{
|
|
605
|
msgset(0, photoacttext);
|
|
606
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
607
|
}
|
|
608
|
with (obj_writer)
|
|
609
|
pos = 100;
|
|
610
|
fastphoto = false;
|
|
611
|
acting = 5;
|
|
612
|
}
|
|
613
|
if (acting == 5 && !i_ex(obj_writer) && !i_ex(obj_shutta_photo_controller))
|
|
614
|
{
|
|
615
|
if (amiabossfight == true && global.mercymod[myself] > 99)
|
|
616
|
{
|
|
617
|
if (endcon == 1 && !i_ex(obj_writer))
|
|
618
|
{
|
|
619
|
global.typer = 50;
|
|
620
|
msgsetloc(0, The most lovely photo! My album, my heart are full.Wait for inputClose Message"The most lovely photo!&My album, my heart are full./%", "obj_shutta_enemy_slash_Step_0_gml_420_0" );
|
|
621
|
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_long;
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_long;
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;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x - 5, global.monstery[myself], 10);
|
|
622
|
endcon = 2;
|
|
623
|
}
|
|
624
|
if (endcon == 2 && !i_ex(obj_writer))
|
|
625
|
{
|
|
626
|
global.typer = 50;
|
|
627
|
msgsetloc(0, Normally, my photos are all grey...Wait for inputClose Message"Normally,&my photos are&all grey.../%", "obj_shutta_enemy_slash_Step_0_gml_428_0" );
|
|
628
|
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_long;
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_long;
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;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x - 10, global.monstery[myself] - 20, 10);
|
|
629
|
endcon = 3;
|
|
630
|
}
|
|
631
|
if (endcon == 3 && !i_ex(obj_writer))
|
|
632
|
{
|
|
633
|
global.typer = 50;
|
|
634
|
msgsetloc(0, ... but you've turned my sky blue, blue, BLUE!Wait for inputClose Message"... but you've&turned my sky blue,&blue, BLUE!/%", "obj_shutta_enemy_slash_Step_0_gml_436_0" );
|
|
635
|
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_long;
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_long;
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;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x - 5, global.monstery[myself], 10);
|
|
636
|
endcon = 4;
|
|
637
|
}
|
|
638
|
if (endcon == 4 && !i_ex(obj_writer))
|
|
639
|
{
|
|
640
|
global.typer = 50;
|
|
641
|
msgsetloc(0, I forgive you! Now, adieu! In the name ofWait for inputClose Message"I forgive you!&Now, adieu!&In the name of/%", "obj_shutta_enemy_slash_Step_0_gml_444_0" );
|
|
642
|
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_long;
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_long;
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;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x - 5, global.monstery[myself], 10);
|
|
643
|
endcon = 5;
|
|
644
|
}
|
|
645
|
if (endcon == 5 && !i_ex(obj_writer))
|
|
646
|
{
|
|
647
|
global.typer = 50;
|
|
648
|
msgsetloc(0, ... T H E L O V E...Wait for inputClose Message"... T H E L O V E.../%", "obj_shutta_enemy_slash_Step_0_gml_452_0" );
|
|
649
|
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_long;
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_long;
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;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 12.1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right2;
return myblcon;
}
if (arg2 == 12.2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right3;
return myblcon;
}
if (arg2 == 12.3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right4;
return myblcon;
}
if (arg2 == 12.4)
{
... (x - 5, global.monstery[myself], 10);
|
|
650
|
endcon = 6;
|
|
651
|
}
|
|
652
|
if (endcon == 6 && !i_ex(obj_writer))
|
|
653
|
{
|
|
654
|
talktimer = 0;
|
|
655
|
endcon = 7;
|
|
656
|
scr_sparescr_spare
function scr_spare(arg0)
{
with (global.monsterinstance[arg0])
event_user(10);
} (myself);
|
|
657
|
}
|
|
658
|
}
|
|
659
|
else
|
|
660
|
{
|
|
661
|
actcon = 1;
|
|
662
|
acting = 0;
|
|
663
|
}
|
|
664
|
}
|
|
665
|
if (actingsus == 1 && actconsus == 1)
|
|
666
|
{
|
|
667
|
if (global.flag[511 shuttah_s_act] == 0 && simultotal == 1)
|
|
668
|
{
|
|
669
|
msgsetloc(0, * Susie blinks during a photo!Wait for inputClose Message"* Susie blinks during a photo!/%", "obj_shutta_enemy_slash_Step_0_gml_270_0" );
|
|
670
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
671
|
global.flag[511 shuttah_s_act] = 1;
|
|
672
|
actcon = 1;
|
|
673
|
actonsus = 20;
|
|
674
|
}
|
|
675
|
else
|
|
676
|
{
|
|
677
|
var _text = "_";
|
|
678
|
var rand = choose(0, 1, 2);
|
|
679
|
if (rand == 0)
|
|
680
|
_text = stringsetloc(* Susie sneezes during a photo!"* Susie sneezes during a photo!", "obj_shutta_enemy_slash_Step_0_gml_280_0" );
|
|
681
|
if (rand == 1)
|
|
682
|
_text = stringsetloc(* Susie blurs during a photo!"* Susie blurs during a photo!", "obj_shutta_enemy_slash_Step_0_gml_281_0" );
|
|
683
|
if (rand == 2)
|
|
684
|
_text = stringsetloc(* Susie blinks during a photo!"* Susie blinks during a photo!", "obj_shutta_enemy_slash_Step_0_gml_282_0" );
|
|
685
|
if (simultotal == 1)
|
|
686
|
{
|
|
687
|
msgset(0, _text + "/%");
|
|
688
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
689
|
with (obj_face)
|
|
690
|
instance_destroy();
|
|
691
|
}
|
|
692
|
else
|
|
693
|
{
|
|
694
|
msgset(0, _text);
|
|
695
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
696
|
}
|
|
697
|
if (simulordersus == 0)
|
|
698
|
actconsus = 20;
|
|
699
|
else
|
|
700
|
actconsus = 0;
|
|
701
|
}
|
|
702
|
actingsus = 0;
|
|
703
|
if (amiabossfight == true)
|
|
704
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
705
|
else
|
|
706
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 25);
|
|
707
|
}
|
|
708
|
if (actingral == 1 && actconral == 1)
|
|
709
|
{
|
|
710
|
var _text = "_";
|
|
711
|
var rand = choose(0, 1, 2);
|
|
712
|
if (rand == 0)
|
|
713
|
_text = stringsetloc(* Ralsei stared into the camera!"* Ralsei stared into the camera!", "obj_shutta_enemy_slash_Step_0_gml_584_0" );
|
|
714
|
if (rand == 1)
|
|
715
|
_text = stringsetloc(* Ralsei has a perfect hair day!"* Ralsei has a perfect hair day!", "obj_shutta_enemy_slash_Step_0_gml_585_0" );
|
|
716
|
if (rand == 2)
|
|
717
|
_text = stringsetloc(* Ralsei's photo got overexposed!"* Ralsei's photo got overexposed!", "obj_shutta_enemy_slash_Step_0_gml_586_0" );
|
|
718
|
if (simultotal == 1)
|
|
719
|
{
|
|
720
|
msgset(0, _text + "/%");
|
|
721
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
722
|
with (obj_face)
|
|
723
|
instance_destroy();
|
|
724
|
actconral = 20;
|
|
725
|
}
|
|
726
|
else
|
|
727
|
{
|
|
728
|
msgset(0, _text);
|
|
729
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
730
|
if (simulorderral == 0)
|
|
731
|
actconral = 20;
|
|
732
|
else
|
|
733
|
actconral = 0;
|
|
734
|
}
|
|
735
|
actingral = 0;
|
|
736
|
if (amiabossfight == true)
|
|
737
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 5);
|
|
738
|
else
|
|
739
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 35);
|
|
740
|
}
|
|
741
|
if (actingral == 2 && actconral == 1)
|
|
742
|
{
|
|
743
|
actcon = 1;
|
|
744
|
actingral = 0;
|
|
745
|
actconral = 0;
|
|
746
|
}
|
|
747
|
if (actcon == 20 || actconsus == 20 || actconral == 20)
|
|
748
|
{
|
|
749
|
if (scr_terminate_writerscr_terminate_writer
function scr_terminate_writer()
{
__writerkilled = 0;
__writerkillable = 0;
__writerended = 0;
if (instance_exists(obj_writer))
{
obj_writer.__endcheckid = id;
with (obj_writer)
{
if (reachedend == 1)
{
with (__endcheckid)
__writerended++;
}
}
if (__writerended == instance_number(obj_writer))
__writerkillable = 1;
}
else
{
__writerkilled = 1;
}
if (button1_p() && __writerkillable == 1)
{
with (obj_writer)
instance_destroy();
__writerkilled = 1;
}
return __writerkilled;
} ())
|
|
750
|
{
|
|
751
|
actconsus = -1;
|
|
752
|
actconral = -1;
|
|
753
|
actcon = 1;
|
|
754
|
}
|
|
755
|
}
|
|
756
|
if (actcon == 1 && !instance_exists(obj_writer))
|
|
757
|
scr_nextactscr_nextact
function scr_nextact()
{
global.acting[0] = 0;
global.acting[1] = 0;
global.acting[2] = 0;
global.actingsingle[global.currentactingchar] = 0;
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
with (__minstance)
{
acting = 0;
actcon = 0;
actconsus = 0;
actconral = 0;
actconnoe = 0;
}
var singleactcomplete = 0;
while (global.currentactingchar < 3)
{
global.currentactingchar++;
if (global.currentactingchar < 3)
{
if (global.actingsingle[global.currentactingchar] == 1)
{
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
if (global.char[global.currentactingchar] == 2)
{
with (__minstance)
actconsus = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 3)
{
with (__minstance)
actconral = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 4)
{
with (__minstance)
actconnoe = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
}
}
}
if (global.currentactingchar >= 3)
{
with (obj_monsterparent)
{
acting = 0;
actingsus = 0;
actingral = 0;
actingnoe = 0;
}
global.currentactingchar = 0;
scr_attackphase();
}
else if (!singleactcomplete)
{
scr_act_simul();
}
} ();
|
|
758
|
}
|
|
759
|
if (state == 3)
|
|
760
|
{
|
|
761
|
if (amiabossfight == false)
|
|
762
|
scr_enemyhurt_tired_after_damagescr_enemyhurt_tired_after_damage
function scr_enemyhurt_tired_after_damage(arg0)
{
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] * arg0))
scr_monster_make_tired(myself);
} (0.5);
|
|
763
|
scr_enemy_hurtscr_enemy_hurt
function scr_enemy_hurt()
{
hurttimer -= 1;
if (hurttimer < 0)
{
state = 0;
}
else
{
if (global.monster[myself] == 0)
scr_defeatrun();
hurtshake += 1;
if (hurtshake > 1)
{
if (shakex > 0)
shakex -= 1;
if (shakex < 0)
shakex += 1;
shakex = -shakex;
hurtshake = 0;
}
}
} ();
|
|
764
|
}
|
|
765
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
766
|
{
|
|
767
|
if (keyboard_check_pressed(ord("1")))
|
|
768
|
{
|
|
769
|
photoactcount = 0;
|
|
770
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 1: free picture");
|
|
771
|
}
|
|
772
|
if (keyboard_check_pressed(ord("2")))
|
|
773
|
{
|
|
774
|
photoactcount = 1;
|
|
775
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 2: rotation easy");
|
|
776
|
}
|
|
777
|
if (keyboard_check_pressed(ord("3")))
|
|
778
|
{
|
|
779
|
photoactcount = 2;
|
|
780
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 3: lancer easy");
|
|
781
|
}
|
|
782
|
if (keyboard_check_pressed(ord("4")))
|
|
783
|
{
|
|
784
|
photoactcount = 3;
|
|
785
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 4: toilet explosion");
|
|
786
|
}
|
|
787
|
if (keyboard_check_pressed(ord("5")))
|
|
788
|
{
|
|
789
|
photoactcount = 4;
|
|
790
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 5: ralsei");
|
|
791
|
}
|
|
792
|
if (keyboard_check_pressed(ord("6")))
|
|
793
|
{
|
|
794
|
photoactcount = 5;
|
|
795
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 6: rotation hard");
|
|
796
|
}
|
|
797
|
if (keyboard_check_pressed(ord("7")))
|
|
798
|
{
|
|
799
|
photoactcount = 6;
|
|
800
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 7: lancer hard");
|
|
801
|
}
|
|
802
|
if (keyboard_check_pressed(ord("8")))
|
|
803
|
{
|
|
804
|
photoactcount = 7;
|
|
805
|
scr_debug_printscr_debug_print
function scr_debug_print(arg0)
{
}
function print_message(arg0)
{
}
function debug_print(arg0)
{
}
function scr_debug_clear_all()
{
} ("photo 8: family photo");
|
|
806
|
}
|
|
807
|
}
|
|
808
|
|
|
809
|
enum e__VW
|
|
810
|
{
|
|
811
|
XView,
|
|
812
|
YView,
|
|
813
|
WView,
|
|
814
|
HView,
|
|
815
|
Angle,
|
|
816
|
HBorder,
|
|
817
|
VBorder,
|
|
818
|
HSpeed,
|
|
819
|
VSpeed,
|
|
820
|
Object,
|
|
821
|
Visible,
|
|
822
|
XPort,
|
|
823
|
YPort,
|
|
824
|
WPort,
|
|
825
|
HPort,
|
|
826
|
Camera,
|
|
827
|
SurfaceID
|
|
828
|
}
|