|
1
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} ())
|
|
2
|
{
|
|
3
|
if (keyboard_check(vk_shift) && keyboard_check(vk_control) && keyboard_check_pressed(ord("1")))
|
|
4
|
{
|
|
5
|
action = 13;
|
|
6
|
debug_mikes();
|
|
7
|
print_message("skipped to last attack!");
|
|
8
|
}
|
|
9
|
}
|
|
10
|
if (!(global.is_console || onSteamDeck()))
|
|
11
|
{
|
|
12
|
if (audio_get_recorder_count() == 0 && global.right_click_mic == 0)
|
|
13
|
global.right_click_mic = 2;
|
|
14
|
}
|
|
15
|
if (phase == 0 && global.use_mic && !global.right_click_mic)
|
|
16
|
{
|
|
17
|
var mx = 100;
|
|
18
|
var my = 0;
|
|
19
|
var mwidth = 440;
|
|
20
|
var mheight = 100;
|
|
21
|
var ly = cameray() + my + (mheight / 2) + 32;
|
|
22
|
var lw = point_distance(camerax() + mx + 96, 0, (camerax() + mx + mwidth) - 96, 0);
|
|
23
|
var lx = camerax() + mx + 96 + (lw * (global.mic_sensitivity / 4));
|
|
24
|
obj_mike_hand.x = obj_mike_controller.mx;
|
|
25
|
obj_mike_hand.y = obj_mike_controller.my;
|
|
26
|
if (obj_mike_controller.hand_type == 2 || collision_rectangle(camerax() + mx + 86, ly - 46, (camerax() + mx + mwidth) - 96, ly - 30, obj_mike_hand, false, true))
|
|
27
|
{
|
|
28
|
if (scr_mouse_left())
|
|
29
|
{
|
|
30
|
obj_mike_controller.hand_type = 2;
|
|
31
|
global.mic_sensitivity = clamp(inverselerp(camerax() + mx + 86, (camerax() + mx + mwidth) - 96, obj_mike_controller.mx - 12) * 4, 0.1, 4);
|
|
32
|
}
|
|
33
|
}
|
|
34
|
}
|
|
35
|
if (target <= 0 || target > 3)
|
|
36
|
target = 1;
|
|
37
|
if (global.hp[target] <= 0 || global.hp[target] != lasthp || global.char[target - 1] == 0)
|
|
38
|
{
|
|
39
|
lasttarget = target;
|
|
40
|
target += 1;
|
|
41
|
if (target > 3)
|
|
42
|
target = 1;
|
|
43
|
lasthp = global.hp[target];
|
|
44
|
}
|
|
45
|
with (obj_collidebullet)
|
|
46
|
{
|
|
47
|
target = other.target - 1;
|
|
48
|
damage = 20 * instance_number(obj_heroparent);
|
|
49
|
}
|
|
50
|
with (obj_face)
|
|
51
|
depth = -2;
|
|
52
|
with (obj_writer)
|
|
53
|
prevent_mash_buffer = 3;
|
|
54
|
if (phase == 0 && canclick)
|
|
55
|
{
|
|
56
|
global.msgno = 0;
|
|
57
|
for (i = 0; i < 100; i++)
|
|
58
|
global.msg[i] = stringsetloc("", "obj_mike_attack_controller_slash_Step_0_gml_35_0");
|
|
59
|
with (obj_herokris)
|
|
60
|
{
|
|
61
|
if (place_meeting(x, y, obj_hand_collision) && x == xstart)
|
|
62
|
{
|
|
63
|
other.phase = 0.1;
|
|
64
|
other.petting = 0;
|
|
65
|
other.alarm[5] = 45;
|
|
66
|
other.star = 0;
|
|
67
|
other.caster = 0;
|
|
68
|
with (obj_mike_controller)
|
|
69
|
{
|
|
70
|
hand_shake = 30;
|
|
71
|
hand_type = 3;
|
|
72
|
}
|
|
73
|
with (obj_hand_collision)
|
|
74
|
instance_destroy();
|
|
75
|
}
|
|
76
|
}
|
|
77
|
with (obj_herosusie)
|
|
78
|
{
|
|
79
|
if (place_meeting(x, y, obj_hand_collision) && x == xstart)
|
|
80
|
{
|
|
81
|
other.phase = 0.1;
|
|
82
|
other.petting = 1;
|
|
83
|
other.alarm[5] = 45;
|
|
84
|
other.star = 1;
|
|
85
|
other.caster = 1;
|
|
86
|
x = xstart - 14;
|
|
87
|
y = ystart + 8;
|
|
88
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
89
|
with (obj_mike_controller)
|
|
90
|
{
|
|
91
|
hand_shake = 45;
|
|
92
|
hand_type = 5;
|
|
93
|
}
|
|
94
|
state = 8;
|
|
95
|
sprite_index = spr_susie_angry_down_dw;
|
|
96
|
snd_play(snd_sussurprise);
|
|
97
|
with (obj_hand_collision)
|
|
98
|
instance_destroy();
|
|
99
|
}
|
|
100
|
}
|
|
101
|
with (obj_heroralsei)
|
|
102
|
{
|
|
103
|
if (place_meeting(x, y, obj_hand_collision) && x == xstart)
|
|
104
|
{
|
|
105
|
other.phase = 0.1;
|
|
106
|
other.petting = 2;
|
|
107
|
other.alarm[5] = 30;
|
|
108
|
other.star = 2;
|
|
109
|
other.caster = 2;
|
|
110
|
state = 8;
|
|
111
|
if (obj_mike_attack_controller.pet_current[2] > 1)
|
|
112
|
{
|
|
113
|
sprite_index = spr_ralsei_splat;
|
|
114
|
y = ystart + 30;
|
|
115
|
snd_play(snd_splat);
|
|
116
|
}
|
|
117
|
else
|
|
118
|
{
|
|
119
|
if (sprite_index != spr_ralsei_dance)
|
|
120
|
{
|
|
121
|
x = xstart + 16;
|
|
122
|
y = ystart + 6;
|
|
123
|
}
|
|
124
|
else
|
|
125
|
{
|
|
126
|
x = xstart + 2;
|
|
127
|
y = ystart - 2;
|
|
128
|
}
|
|
129
|
sprite_index = spr_ralsei_down_surprised2;
|
|
130
|
snd_play(snd_pacify);
|
|
131
|
}
|
|
132
|
with (obj_hand_collision)
|
|
133
|
{
|
|
134
|
scr_sparklescr_sparkle
function scr_sparkle(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_pos(arg0, arg1, arg2)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(arg1 + lengthdir_x(16, dir + ((i / num) * 360)), arg2 + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_colour(arg0, arg1)
{
var num = arg0;
dir = 0;
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 5, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
_ob.image_blend = arg1;
}
}
function scr_sparkle_random(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
with (instance_create_depth(x + lengthdir_x(16, (i / num) * 360), y + lengthdir_y(16, (i / num) * 360), depth - 1, obj_heart_sparkle))
motion_set(other.dir, irandom_range(4, 6));
dir += irandom(30);
}
} (8);
|
|
135
|
instance_destroy();
|
|
136
|
}
|
|
137
|
}
|
|
138
|
}
|
|
139
|
with (obj_mike_battle)
|
|
140
|
{
|
|
141
|
if (place_meeting(x, y, obj_hand_collision) && x == newx)
|
|
142
|
{
|
|
143
|
act = 1;
|
|
144
|
other.phase = 0.1;
|
|
145
|
other.petting = 3;
|
|
146
|
blush = 50;
|
|
147
|
with (obj_hand_collision)
|
|
148
|
instance_destroy();
|
|
149
|
}
|
|
150
|
}
|
|
151
|
}
|
|
152
|
if (phase == 0.1)
|
|
153
|
{
|
|
154
|
with (obj_writer)
|
|
155
|
instance_destroy();
|
|
156
|
global.msgno = 0;
|
|
157
|
switch (petting)
|
|
158
|
{
|
|
159
|
case 3:
|
|
160
|
default:
|
|
161
|
msgset(0, pet_text[0]);
|
|
162
|
msg_cap = 0;
|
|
163
|
break;
|
|
164
|
case 0:
|
|
165
|
msgset(0, pet_text[1]);
|
|
166
|
msgnext(hero_text[min(pet_current[0], 2)][0]);
|
|
167
|
msg_cap = 1;
|
|
168
|
pet_current[0]++;
|
|
169
|
break;
|
|
170
|
case 1:
|
|
171
|
msgset(0, pet_text[2]);
|
|
172
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", 1);
|
|
173
|
msgnext(hero_text[min(pet_current[1], 2)][1]);
|
|
174
|
msg_cap = 2;
|
|
175
|
pet_current[1]++;
|
|
176
|
global.msgno = 1;
|
|
177
|
break;
|
|
178
|
case 2:
|
|
179
|
msgset(0, pet_text[3]);
|
|
180
|
if (pet_current[2] < 2)
|
|
181
|
{
|
|
182
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("ralsei", 1);
|
|
183
|
msg_cap = 2;
|
|
184
|
}
|
|
185
|
else
|
|
186
|
{
|
|
187
|
msg_cap = 1;
|
|
188
|
}
|
|
189
|
msgnext(hero_text[min(pet_current[2], 2)][2]);
|
|
190
|
pet_current[2]++;
|
|
191
|
global.msgno = 1;
|
|
192
|
break;
|
|
193
|
}
|
|
194
|
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
} ();
|
|
195
|
battlewriter.depth = -1;
|
|
196
|
timer = 0;
|
|
197
|
phase = 0.2;
|
|
198
|
}
|
|
199
|
else if (phase == 0.2)
|
|
200
|
{
|
|
201
|
if (battlewriter.pos >= (string_length(battlewriter.mystring) + 2))
|
|
202
|
{
|
|
203
|
timer += 1;
|
|
204
|
if (alarm[5] < 0 && obj_mike_controller.hand_type != 4 && ((global.use_mic || obj_mike_attack_controller.text_skip) && scr_mouse_leftclick()))
|
|
205
|
timer = 61;
|
|
206
|
}
|
|
207
|
else if (alarm[5] < 0 && obj_mike_controller.hand_type != 4 && ((global.use_mic || obj_mike_attack_controller.text_skip) && scr_mouse_leftclick()))
|
|
208
|
{
|
|
209
|
battlewriter.pos = string_length(battlewriter.mystring) + 2;
|
|
210
|
}
|
|
211
|
if (battlewriter.pos < (string_length(battlewriter.mystring) + 2))
|
|
212
|
battlewriter.pos = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (battlewriter.pos, string_length(battlewriter.mystring) + 2, 0.1);
|
|
213
|
if (timer > (60 + (30 * instance_number(obj_smallface))))
|
|
214
|
{
|
|
215
|
if (battlewriter.msgno < msg_cap)
|
|
216
|
{
|
|
217
|
timer = 0;
|
|
218
|
with (battlewriter)
|
|
219
|
scr_nextmsgscr_nextmsg
function scr_nextmsg()
{
msgno += 1;
lineno = 0;
aster = 0;
halt = 0;
pos = 1;
alarm[0]
drawaster = 1;
autoaster = 1;
miniface_pos = 0;
miniface_current_pos = -1;
mystring = nstring[msgno];
formatted = 0;
wxskip = 0;
sound_played = 0;
reachedend_sound_played = 0;
reachedend = 0;
forcebutton1 = 0;
if (rate < 3)
{
firstnoise = 0;
alarm[2]
}
for (var _objecti = 0; _objecti < 9; _objecti++)
object_made[_objecti] = 0;
with (obj_funnytext)
instance_destroy();
} ();
|
|
220
|
}
|
|
221
|
else
|
|
222
|
{
|
|
223
|
phase = 0.3;
|
|
224
|
}
|
|
225
|
global.msgno -= 1;
|
|
226
|
}
|
|
227
|
}
|
|
228
|
else if (phase == 0.3)
|
|
229
|
{
|
|
230
|
global.typer = 50;
|
|
231
|
global.msgno = 0;
|
|
232
|
with (obj_face)
|
|
233
|
instance_destroy();
|
|
234
|
with (obj_writer)
|
|
235
|
instance_destroy();
|
|
236
|
msg_max = 0;
|
|
237
|
msg_current = 0;
|
|
238
|
talking = true;
|
|
239
|
switch (action)
|
|
240
|
{
|
|
241
|
case 0:
|
|
242
|
text_speed = 2;
|
|
243
|
msgsetloc(msg_max++, "Hey, nice to&meetcha!", "obj_mike_attack_controller_slash_Step_0_gml_238_0");
|
|
244
|
msgsetloc(msg_max++, "It's me, Motormouth Mike!&The Micro Phone who&croons and groans!", "obj_mike_attack_controller_slash_Step_0_gml_239_0");
|
|
245
|
msgsetloc(msg_max++, "Nice of you to drop by...&NOT! NOT AT ALL,&NO no no!", "obj_mike_attack_controller_slash_Step_0_gml_240_0");
|
|
246
|
msgsetloc(msg_max++, "Look with your private&eyes! This is a private&room, a private room,&see!?", "obj_mike_attack_controller_slash_Step_0_gml_241_0");
|
|
247
|
msgsetloc(msg_max++, "We are live, we are on &air, we are recording,&YOU are background&noise! Get out!", "obj_mike_attack_controller_slash_Step_0_gml_242_0");
|
|
248
|
msgsetloc(msg_max++, "... Or these 48 volts&ain't gonna be just&for show!", "obj_mike_attack_controller_slash_Step_0_gml_243_0");
|
|
249
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
250
|
with (obj_mike_battle)
|
|
251
|
talking = true;
|
|
252
|
break;
|
|
253
|
case 1:
|
|
254
|
text_speed = 2;
|
|
255
|
msgsetloc(msg_max++, "That's right!&That's right!&It's me, Mike!", "obj_mike_attack_controller_slash_Step_0_gml_253_0");
|
|
256
|
msgsetloc(msg_max++, "Always has been,&always will be!", "obj_mike_attack_controller_slash_Step_0_gml_254_0");
|
|
257
|
msgsetloc(msg_max++, "They call me&motormouth because&I NEVER stop talking!&EVER! Hahaha!", "obj_mike_attack_controller_slash_Step_0_gml_255_0");
|
|
258
|
msgsetloc(msg_max++, "I'm sure you heard me.&You did, didncha!?", "obj_mike_attack_controller_slash_Step_0_gml_256_0");
|
|
259
|
msgsetloc(msg_max++, "You can't tune me&out, nosiree,&yessiree!", "obj_mike_attack_controller_slash_Step_0_gml_257_0");
|
|
260
|
msgsetloc(msg_max++, "I'm always on the air,&in the air, all around&you, even within you!", "obj_mike_attack_controller_slash_Step_0_gml_258_0");
|
|
261
|
msgsetloc(msg_max++, "NOW GET OUT!!!!", "obj_mike_attack_controller_slash_Step_0_gml_259_0");
|
|
262
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
263
|
with (obj_mike_battle)
|
|
264
|
talking = true;
|
|
265
|
break;
|
|
266
|
case 2:
|
|
267
|
text_speed = 2;
|
|
268
|
msgsetloc(msg_max++, "Mike all day,&Mike all night!", "obj_mike_attack_controller_slash_Step_0_gml_269_0");
|
|
269
|
msgsetloc(msg_max++, "I'm the best and most&beloved, Tenna's&favorite! Hahaha!", "obj_mike_attack_controller_slash_Step_0_gml_270_0");
|
|
270
|
msgsetloc(msg_max++, "Always there for him!&Never not there!&I'm always there!&Never not!", "obj_mike_attack_controller_slash_Step_0_gml_271_0");
|
|
271
|
msgsetloc(msg_max++, "I do his therapy,&his psychology,&his analogies,&his first aid,&his last aid,", "obj_mike_attack_controller_slash_Step_0_gml_272_0");
|
|
272
|
msgsetloc(msg_max++, "His lemonade,&his grenades,&his eyedrops,&his nose drops,&His cough drops!", "obj_mike_attack_controller_slash_Step_0_gml_273_0");
|
|
273
|
msgsetloc(msg_max++, "I tuck him in at&night, I play&his bedtime&programs, I sing&his theme song,", "obj_mike_attack_controller_slash_Step_0_gml_274_0");
|
|
274
|
msgsetloc(msg_max++, "And most of all,&I record everything&he ever says,", "obj_mike_attack_controller_slash_Step_0_gml_275_0");
|
|
275
|
msgsetloc(msg_max++, "And even some&things he never says!", "obj_mike_attack_controller_slash_Step_0_gml_276_0");
|
|
276
|
msgsetloc(msg_max++, "Now GET OUT!!!", "obj_mike_attack_controller_slash_Step_0_gml_277_0");
|
|
277
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
278
|
with (obj_mike_battle)
|
|
279
|
talking = true;
|
|
280
|
break;
|
|
281
|
case 3:
|
|
282
|
text_speed = 0.1;
|
|
283
|
msgsetloc(msg_max++, ". . .", "obj_mike_attack_controller_slash_Step_0_gml_302_0");
|
|
284
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
285
|
break;
|
|
286
|
case 4:
|
|
287
|
text_speed = 2;
|
|
288
|
msgsetloc(msg_max++, "Hey, don't look shocked!&It's me, Mike!&Mike, who famously&loves to talk!", "obj_mike_attack_controller_slash_Step_0_gml_312_0");
|
|
289
|
msgsetloc(msg_max++, "I'm going to talk&right now! Listen!", "obj_mike_attack_controller_slash_Step_0_gml_313_0");
|
|
290
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
291
|
convo = 1;
|
|
292
|
break;
|
|
293
|
case 5:
|
|
294
|
text_speed = 2;
|
|
295
|
msgsetloc(msg_max++, "So I look a little&different.&Well what's the big&deal!?", "obj_mike_attack_controller_slash_Step_0_gml_324_0");
|
|
296
|
msgsetloc(msg_max++, "I just changed my&outfit! That little&costume was so&cramped!", "obj_mike_attack_controller_slash_Step_0_gml_325_0");
|
|
297
|
msgsetloc(msg_max++, "That's what was&tiring me out!&I still feel&miserable!", "obj_mike_attack_controller_slash_Step_0_gml_326_0");
|
|
298
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
299
|
convo = 1;
|
|
300
|
break;
|
|
301
|
case 6:
|
|
302
|
text_speed = 0.1;
|
|
303
|
msgsetloc(msg_max++, "Nice to meet ya.&It's me.&Big mouth Mike.", "obj_mike_attack_controller_slash_Step_0_gml_338_0");
|
|
304
|
msgsetloc(msg_max++, "Dey calls me dat,&'cause I don'ts&shaddup, see?", "obj_mike_attack_controller_slash_Step_0_gml_339_0");
|
|
305
|
msgsetloc(msg_max++, "Dis is a private room.&We got private…&uh, eyes. We been...&investigatin' you.", "obj_mike_attack_controller_slash_Step_0_gml_340_0");
|
|
306
|
msgsetloc(msg_max++, "we, uh...&We like what we see.&Keep it up.", "obj_mike_attack_controller_slash_Step_0_gml_341_0");
|
|
307
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
308
|
with (obj_mike_battle)
|
|
309
|
talking = true;
|
|
310
|
break;
|
|
311
|
case 7:
|
|
312
|
text_speed = 0.1;
|
|
313
|
msgsetloc(msg_max++, "Uhh...", "obj_mike_attack_controller_slash_Step_0_gml_351_0");
|
|
314
|
msgsetloc(msg_max++, "Nice to meet ya.&Some more.&I'm still Mike.", "obj_mike_attack_controller_slash_Step_0_gml_352_0");
|
|
315
|
msgsetloc(msg_max++, "Big Mouth Mike.", "obj_mike_attack_controller_slash_Step_0_gml_353_0");
|
|
316
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
317
|
with (obj_mike_battle)
|
|
318
|
talking = true;
|
|
319
|
convo = 1;
|
|
320
|
break;
|
|
321
|
case 8:
|
|
322
|
text_speed = 0.1;
|
|
323
|
msgsetloc(msg_max++, "Nice to meet you.&Some more again.&It's me.", "obj_mike_attack_controller_slash_Step_0_gml_364_0");
|
|
324
|
msgsetloc(msg_max++, "Modern Mike. And I,&my mouth is big.&Because I talk a lot.", "obj_mike_attack_controller_slash_Step_0_gml_365_0");
|
|
325
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
326
|
with (obj_mike_battle)
|
|
327
|
talking = true;
|
|
328
|
convo = 1;
|
|
329
|
break;
|
|
330
|
case 9:
|
|
331
|
text_speed = 2;
|
|
332
|
msgsetloc(msg_max++, "Usually, we split&this all up!", "obj_mike_attack_controller_slash_Step_0_gml_376_0");
|
|
333
|
msgsetloc(msg_max++, "One Mike does all&the talking...", "obj_mike_attack_controller_slash_Step_0_gml_377_0");
|
|
334
|
main_text = 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_z;
return myblcon;
}
} (mike_small.x - 64, mike_small.y, 10);
|
|
335
|
with (mike_small)
|
|
336
|
talking = true;
|
|
337
|
convo = 1;
|
|
338
|
break;
|
|
339
|
case 10:
|
|
340
|
text_speed = 2;
|
|
341
|
msgsetloc(msg_max++, "Everyone thinks&there's only one Mike.&One!", "obj_mike_attack_controller_slash_Step_0_gml_388_0");
|
|
342
|
main_text = 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_z;
return myblcon;
}
} (mike_small.x - 64, mike_small.y, 10);
|
|
343
|
with (mike_small)
|
|
344
|
talking = true;
|
|
345
|
convo = 1;
|
|
346
|
break;
|
|
347
|
case 11:
|
|
348
|
case 12:
|
|
349
|
text_speed = 2;
|
|
350
|
msgsetloc(msg_max++, "...", "obj_mike_attack_controller_slash_Step_0_gml_401_0");
|
|
351
|
main_text = 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_z;
return myblcon;
}
} (mike_small.x - 64, mike_small.y, 10);
|
|
352
|
with (mike_small)
|
|
353
|
talking = false;
|
|
354
|
break;
|
|
355
|
case 13:
|
|
356
|
text_speed = 2;
|
|
357
|
msgsetloc(msg_max++, "But we can't let this&get out! No...", "obj_mike_attack_controller_slash_Step_0_gml_412_0");
|
|
358
|
msgsetloc(msg_max++, "If people knew there&was more than one&Mike...", "obj_mike_attack_controller_slash_Step_0_gml_413_0");
|
|
359
|
msgsetloc(msg_max++, "Everybody would want&to be Mike!!!", "obj_mike_attack_controller_slash_Step_0_gml_414_0");
|
|
360
|
msgsetloc(msg_max++, "Well, we're not letting&that happen!!", "obj_mike_attack_controller_slash_Step_0_gml_415_0");
|
|
361
|
msgsetloc(msg_max++, "Boys... It's time for&our ultimate attack!!", "obj_mike_attack_controller_slash_Step_0_gml_416_0");
|
|
362
|
main_text = 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_z;
return myblcon;
}
} (mike_small.x - 64, mike_small.y, 10);
|
|
363
|
with (mike_small)
|
|
364
|
talking = true;
|
|
365
|
break;
|
|
366
|
}
|
|
367
|
phase = 0.4;
|
|
368
|
timer = 0;
|
|
369
|
}
|
|
370
|
else if (phase == 0.4)
|
|
371
|
{
|
|
372
|
if (instance_number(obj_writer) == 0)
|
|
373
|
{
|
|
374
|
timer += 1;
|
|
375
|
if (timer > 15)
|
|
376
|
{
|
|
377
|
timer = 0;
|
|
378
|
if (convo > 0)
|
|
379
|
phase = 0.6;
|
|
380
|
else
|
|
381
|
phase = 0.5;
|
|
382
|
}
|
|
383
|
}
|
|
384
|
else
|
|
385
|
{
|
|
386
|
with (main_text.mywriter)
|
|
387
|
{
|
|
388
|
if (global.flag[10 wrist_protector] == 1 && button3_h())
|
|
389
|
{
|
|
390
|
other.timer = 9999;
|
|
391
|
pos = string_length(mystring) + 2;
|
|
392
|
}
|
|
393
|
if (pos >= (string_length(mystring) + 2))
|
|
394
|
{
|
|
395
|
other.timer += 1;
|
|
396
|
with (obj_mike_battle)
|
|
397
|
talking = false;
|
|
398
|
if ((global.use_mic || obj_mike_attack_controller.text_skip) && (scr_mouse_leftclick() || scr_mouse_rightclick()))
|
|
399
|
other.timer = 150;
|
|
400
|
if (other.timer >= (75 + (floor(other.text_speed) * 35)))
|
|
401
|
{
|
|
402
|
other.timer = 0;
|
|
403
|
other.msg_current += 1;
|
|
404
|
scr_nextmsgscr_nextmsg
function scr_nextmsg()
{
msgno += 1;
lineno = 0;
aster = 0;
halt = 0;
pos = 1;
alarm[0]
drawaster = 1;
autoaster = 1;
miniface_pos = 0;
miniface_current_pos = -1;
mystring = nstring[msgno];
formatted = 0;
wxskip = 0;
sound_played = 0;
reachedend_sound_played = 0;
reachedend = 0;
forcebutton1 = 0;
if (rate < 3)
{
firstnoise = 0;
alarm[2]
}
for (var _objecti = 0; _objecti < 9; _objecti++)
object_made[_objecti] = 0;
with (obj_funnytext)
instance_destroy();
} ();
|
|
405
|
if (other.msg_current == other.msg_max)
|
|
406
|
{
|
|
407
|
if (other.convo > 0)
|
|
408
|
other.phase = 0.6;
|
|
409
|
else
|
|
410
|
other.phase = 0.5;
|
|
411
|
with (obj_writer)
|
|
412
|
instance_destroy();
|
|
413
|
}
|
|
414
|
else
|
|
415
|
{
|
|
416
|
with (obj_mike_battle)
|
|
417
|
talking = true;
|
|
418
|
}
|
|
419
|
}
|
|
420
|
}
|
|
421
|
else
|
|
422
|
{
|
|
423
|
if (pos < (string_length(mystring) + 2))
|
|
424
|
pos = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (pos, string_length(mystring) + 2, other.text_speed);
|
|
425
|
if ((global.use_mic || obj_mike_attack_controller.text_skip) && scr_mouse_leftclick())
|
|
426
|
{
|
|
427
|
if (pos < (string_length(mystring) + 2))
|
|
428
|
{
|
|
429
|
pos = string_length(mystring) + 2;
|
|
430
|
other.timer = 0;
|
|
431
|
}
|
|
432
|
}
|
|
433
|
if ((global.use_mic || obj_mike_attack_controller.text_skip) && scr_mouse_rightclick())
|
|
434
|
{
|
|
435
|
if (pos < (string_length(mystring) + 2))
|
|
436
|
{
|
|
437
|
pos = string_length(mystring) + 2;
|
|
438
|
other.timer = 120;
|
|
439
|
}
|
|
440
|
}
|
|
441
|
}
|
|
442
|
}
|
|
443
|
}
|
|
444
|
}
|
|
445
|
else if (phase == 0.6)
|
|
446
|
{
|
|
447
|
timer += 1;
|
|
448
|
if (timer > 15)
|
|
449
|
{
|
|
450
|
msg_max = 0;
|
|
451
|
msg_current = 0;
|
|
452
|
switch (action)
|
|
453
|
{
|
|
454
|
case 4:
|
|
455
|
if (convo == 1)
|
|
456
|
{
|
|
457
|
text_speed = 0.1;
|
|
458
|
msgsetloc(msg_max++, ". . .", "obj_mike_attack_controller_slash_Step_0_gml_523_0");
|
|
459
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
460
|
convo += 1;
|
|
461
|
}
|
|
462
|
else if (convo == 2)
|
|
463
|
{
|
|
464
|
text_speed = 2;
|
|
465
|
msgsetloc(msg_max++, "Did you hear?&That was great,&right!? Real&verbose!!", "obj_mike_attack_controller_slash_Step_0_gml_530_0");
|
|
466
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
467
|
convo = 0;
|
|
468
|
}
|
|
469
|
break;
|
|
470
|
case 5:
|
|
471
|
if (convo == 1)
|
|
472
|
{
|
|
473
|
text_speed = 0.1;
|
|
474
|
msgsetloc(msg_max++, ". . .", "obj_mike_attack_controller_slash_Step_0_gml_542_0");
|
|
475
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
476
|
convo += 1;
|
|
477
|
}
|
|
478
|
else if (convo == 2)
|
|
479
|
{
|
|
480
|
text_speed = 2;
|
|
481
|
msgsetloc(msg_max++, "Miserable, I said.&MISERABLE.", "obj_mike_attack_controller_slash_Step_0_gml_549_0");
|
|
482
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
483
|
convo += 1;
|
|
484
|
}
|
|
485
|
else if (convo == 3)
|
|
486
|
{
|
|
487
|
msgsetloc(msg_max++, ":-(", "obj_mike_attack_controller_slash_Step_0_gml_555_0");
|
|
488
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
489
|
with (obj_mike_battle)
|
|
490
|
sprite_index = spr_mike_med_sad;
|
|
491
|
convo = 0;
|
|
492
|
}
|
|
493
|
break;
|
|
494
|
case 7:
|
|
495
|
if (convo == 1)
|
|
496
|
{
|
|
497
|
text_speed = 2;
|
|
498
|
msgsetloc(msg_max++, "Sorry, I mean&motormouth Mike!!&My name's&motormouth Mike!!", "obj_mike_attack_controller_slash_Step_0_gml_570_0");
|
|
499
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
500
|
convo += 1;
|
|
501
|
}
|
|
502
|
else if (convo == 2)
|
|
503
|
{
|
|
504
|
text_speed = 0.1;
|
|
505
|
msgsetloc(msg_max++, "Yea. Modern mouth&Mike. You know.", "obj_mike_attack_controller_slash_Step_0_gml_577_0");
|
|
506
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
507
|
with (obj_mike_battle)
|
|
508
|
talking = true;
|
|
509
|
convo = 0;
|
|
510
|
}
|
|
511
|
break;
|
|
512
|
case 8:
|
|
513
|
if (convo == 1)
|
|
514
|
{
|
|
515
|
text_speed = 2;
|
|
516
|
msgsetloc(msg_max++, "Motormouth!!!&Motormouth Mike!!!&My name is motormouth!!&Mike!!!", "obj_mike_attack_controller_slash_Step_0_gml_592_0");
|
|
517
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
518
|
convo += 1;
|
|
519
|
}
|
|
520
|
else if (convo == 2)
|
|
521
|
{
|
|
522
|
text_speed = 0.1;
|
|
523
|
msgsetloc(msg_max++, "Yeah. What he's said.", "obj_mike_attack_controller_slash_Step_0_gml_599_0");
|
|
524
|
msgsetloc(msg_max++, "I'm motor Mike.", "obj_mike_attack_controller_slash_Step_0_gml_600_0");
|
|
525
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
526
|
with (obj_mike_battle)
|
|
527
|
talking = true;
|
|
528
|
convo += 1;
|
|
529
|
}
|
|
530
|
else if (convo == 3)
|
|
531
|
{
|
|
532
|
text_speed = 2;
|
|
533
|
msgsetloc(msg_max++, "MOTORMOUTH!!!!!!", "obj_mike_attack_controller_slash_Step_0_gml_607_0");
|
|
534
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
535
|
convo = 0;
|
|
536
|
}
|
|
537
|
break;
|
|
538
|
case 9:
|
|
539
|
if (convo == 1)
|
|
540
|
{
|
|
541
|
text_speed = 0.1;
|
|
542
|
msgsetloc(msg_max++, "One Mike is the&muscles...", "obj_mike_attack_controller_slash_Step_0_gml_620_0");
|
|
543
|
main_text = 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_z;
return myblcon;
}
} (mike_big.x - 64, mike_big.y + 32, 10);
|
|
544
|
with (mike_big)
|
|
545
|
talking = true;
|
|
546
|
convo += 1;
|
|
547
|
}
|
|
548
|
else if (convo == 2)
|
|
549
|
{
|
|
550
|
text_speed = 0.1;
|
|
551
|
msgsetloc(msg_max++, "...", "obj_mike_attack_controller_slash_Step_0_gml_628_0");
|
|
552
|
main_text = 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_z;
return myblcon;
}
} (mike_medium.x - 80, mike_medium.y, 10);
|
|
553
|
convo += 1;
|
|
554
|
}
|
|
555
|
else if (convo == 3)
|
|
556
|
{
|
|
557
|
text_speed = 0.1;
|
|
558
|
msgsetloc(msg_max++, "And one Mike, uh,&listens!", "obj_mike_attack_controller_slash_Step_0_gml_634_0");
|
|
559
|
main_text = 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_z;
return myblcon;
}
} (mike_small.x - 64, mike_small.y, 10);
|
|
560
|
with (mike_small)
|
|
561
|
talking = true;
|
|
562
|
convo += 1;
|
|
563
|
}
|
|
564
|
else if (convo == 4)
|
|
565
|
{
|
|
566
|
text_speed = 0.1;
|
|
567
|
msgsetloc(msg_max++, "You gotta have&a Mike that listens.", "obj_mike_attack_controller_slash_Step_0_gml_642_0");
|
|
568
|
main_text = 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_z;
return myblcon;
}
} (mike_big.x - 64, mike_big.y + 32, 10);
|
|
569
|
with (mike_big)
|
|
570
|
talking = true;
|
|
571
|
convo = 0;
|
|
572
|
}
|
|
573
|
break;
|
|
574
|
case 10:
|
|
575
|
if (convo == 1)
|
|
576
|
{
|
|
577
|
text_speed = 0.1;
|
|
578
|
msgsetloc(msg_max++, "But there ain't.&There's, uh...&Two.", "obj_mike_attack_controller_slash_Step_0_gml_657_0");
|
|
579
|
main_text = 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_z;
return myblcon;
}
} (mike_big.x - 64, mike_big.y + 32, 10);
|
|
580
|
with (mike_big)
|
|
581
|
talking = true;
|
|
582
|
convo += 1;
|
|
583
|
}
|
|
584
|
else if (convo == 2)
|
|
585
|
{
|
|
586
|
text_speed = 2;
|
|
587
|
msgsetloc(msg_max++, "Three!!!", "obj_mike_attack_controller_slash_Step_0_gml_665_0");
|
|
588
|
main_text = 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_z;
return myblcon;
}
} (mike_small.x - 64, mike_small.y, 10);
|
|
589
|
with (mike_small)
|
|
590
|
talking = true;
|
|
591
|
convo += 1;
|
|
592
|
}
|
|
593
|
else if (convo == 3)
|
|
594
|
{
|
|
595
|
text_speed = 0.1;
|
|
596
|
msgsetloc(msg_max++, "Sorry. I forget him&cause he doesn't talk.", "obj_mike_attack_controller_slash_Step_0_gml_673_0");
|
|
597
|
main_text = 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_z;
return myblcon;
}
} (mike_big.x - 64, mike_big.y + 32, 10);
|
|
598
|
with (mike_big)
|
|
599
|
talking = true;
|
|
600
|
convo = 0;
|
|
601
|
}
|
|
602
|
break;
|
|
603
|
}
|
|
604
|
timer = 0;
|
|
605
|
phase = 0.4;
|
|
606
|
}
|
|
607
|
}
|
|
608
|
else if (phase == 0.5)
|
|
609
|
{
|
|
610
|
action += 1;
|
|
611
|
phase = 1;
|
|
612
|
timer = 0;
|
|
613
|
wave = 0;
|
|
614
|
alpha = 1;
|
|
615
|
talking = false;
|
|
616
|
if (!instance_exists(obj_darkener))
|
|
617
|
instance_create(0, 0, obj_darkener);
|
|
618
|
with (obj_darkener)
|
|
619
|
depth = obj_herokris.depth + 1;
|
|
620
|
with (obj_writer)
|
|
621
|
instance_destroy();
|
|
622
|
}
|
|
623
|
if (phase == 1)
|
|
624
|
{
|
|
625
|
if (action != 14 && action < 16)
|
|
626
|
{
|
|
627
|
with (obj_mike_battle)
|
|
628
|
move = true;
|
|
629
|
}
|
|
630
|
with (obj_heroparent)
|
|
631
|
{
|
|
632
|
if (other.alarm[5] <= 0)
|
|
633
|
x = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (x, xstart - 300, 8);
|
|
634
|
}
|
|
635
|
if (action == 1)
|
|
636
|
{
|
|
637
|
timer += 1;
|
|
638
|
if (wave == 0 && timer == 30)
|
|
639
|
{
|
|
640
|
with (obj_mike_controller)
|
|
641
|
type = 1;
|
|
642
|
wave = 0.1;
|
|
643
|
}
|
|
644
|
if (wave == 0.1)
|
|
645
|
{
|
|
646
|
if (timer == 30)
|
|
647
|
{
|
|
648
|
with (obj_mike_controller)
|
|
649
|
{
|
|
650
|
sign_index = 0;
|
|
651
|
sign_col = 65280;
|
|
652
|
sign_action = 1;
|
|
653
|
}
|
|
654
|
}
|
|
655
|
if (obj_mike_controller.microphone_volume > 70)
|
|
656
|
{
|
|
657
|
wave = 0;
|
|
658
|
snd_play(snd_coin);
|
|
659
|
}
|
|
660
|
}
|
|
661
|
else if (timer > 30 && instance_number(obj_mike_crowd) == 0 && obj_mike_controller.sign_y == obj_mike_controller.sign_ystart && instance_number(obj_mike_quiet) == 0)
|
|
662
|
{
|
|
663
|
wave += 1;
|
|
664
|
if (wave == 2)
|
|
665
|
{
|
|
666
|
alarm[3] = 120; gml_Object_obj_mike_attack_controller_Alarm_3.gml
with (obj_mike_controller)
{
sign_action2 = 1;
if (sign_x2 == sign_x)
{
if (sign_x == (camerax() + (camerawidth() / 2)))
sign_x2 = camerax() + (camerawidth() * choose(0.25, 0.75));
else
sign_x2 = camerax() + (camerawidth() / 2);
}
}
for (i = 0; i < 20; i++)
{
var ob = instance_create_depth(16 + camerax() + (i * 32), cameray() - 100, depth - 1, obj_mike_quiet);
ob.type = 1;
}
|
|
667
|
obj_mike_controller.sign_x2 = camerax() + (camerawidth() * 0.75);
|
|
668
|
}
|
|
669
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * (0.25 * (4 - wave)));
|
|
670
|
if (wave >= 3)
|
|
671
|
{
|
|
672
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * 0.5);
|
|
673
|
wave = 0;
|
|
674
|
phase = 2;
|
|
675
|
}
|
|
676
|
else
|
|
677
|
{
|
|
678
|
with (obj_mike_controller)
|
|
679
|
{
|
|
680
|
sign_index = 0;
|
|
681
|
sign_col = 65280;
|
|
682
|
}
|
|
683
|
var sign_side = 0;
|
|
684
|
if (obj_mike_controller.sign_x < (camerax() + (camerawidth() / 2)))
|
|
685
|
sign_side = -1;
|
|
686
|
else if (obj_mike_controller.sign_x > (camerax() + (camerawidth() / 2)))
|
|
687
|
sign_side = 1;
|
|
688
|
if (sign_side == 0)
|
|
689
|
{
|
|
690
|
for (i = 0; i < 20; i++)
|
|
691
|
{
|
|
692
|
var ob = instance_create_depth(16 + camerax() + (i * 32), cameray() + cameraheight() + 100, depth - 1, obj_mike_crowd);
|
|
693
|
ob.type = 2;
|
|
694
|
}
|
|
695
|
}
|
|
696
|
else
|
|
697
|
{
|
|
698
|
for (i = 0; i < 8; i++)
|
|
699
|
{
|
|
700
|
var ob = instance_create_depth(camerax() + (camerawidth() / 2) + (((camerawidth() / 2) + 300 + (i * 32)) * sign_side), cameray() + 260, depth - 1, obj_mike_crowd);
|
|
701
|
ob.hspeed = 6 * -sign_side;
|
|
702
|
}
|
|
703
|
}
|
|
704
|
}
|
|
705
|
}
|
|
706
|
}
|
|
707
|
if (action == 2)
|
|
708
|
{
|
|
709
|
timer += 1;
|
|
710
|
if (wave == 0 && timer == 15)
|
|
711
|
{
|
|
712
|
with (obj_mike_controller)
|
|
713
|
type = 1;
|
|
714
|
}
|
|
715
|
if (timer > 15 && instance_number(obj_mike_crowd) == 0 && instance_number(obj_mike_quiet) == 0 && instance_number(obj_mike_pipe) == 0 && obj_mike_controller.sign_y == obj_mike_controller.sign_ystart)
|
|
716
|
{
|
|
717
|
wave += 1;
|
|
718
|
if (wave == 4)
|
|
719
|
{
|
|
720
|
wave = 0;
|
|
721
|
timer = 0;
|
|
722
|
phase = 2;
|
|
723
|
}
|
|
724
|
else
|
|
725
|
{
|
|
726
|
switch (wave)
|
|
727
|
{
|
|
728
|
case 0:
|
|
729
|
case 2:
|
|
730
|
with (obj_mike_controller)
|
|
731
|
{
|
|
732
|
sign_index = 0;
|
|
733
|
sign_col = 65280;
|
|
734
|
}
|
|
735
|
var newside = choose(1, 2, 3);
|
|
736
|
while (newside == lastside)
|
|
737
|
newside = choose(1, 2, 3);
|
|
738
|
lastside = newside;
|
|
739
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * (0.25 * newside));
|
|
740
|
var sign_side = 0;
|
|
741
|
if (obj_mike_controller.sign_x < (camerax() + (camerawidth() / 2)))
|
|
742
|
sign_side = -1;
|
|
743
|
else if (obj_mike_controller.sign_x > (camerax() + (camerawidth() / 2)))
|
|
744
|
sign_side = 1;
|
|
745
|
if (wave > 1)
|
|
746
|
alarm[3] = 130 - abs(sign_side * 20) - (wave * 5); gml_Object_obj_mike_attack_controller_Alarm_3.gml
with (obj_mike_controller)
{
sign_action2 = 1;
if (sign_x2 == sign_x)
{
if (sign_x == (camerax() + (camerawidth() / 2)))
sign_x2 = camerax() + (camerawidth() * choose(0.25, 0.75));
else
sign_x2 = camerax() + (camerawidth() / 2);
}
}
for (i = 0; i < 20; i++)
{
var ob = instance_create_depth(16 + camerax() + (i * 32), cameray() - 100, depth - 1, obj_mike_quiet);
ob.type = 1;
}
|
|
747
|
if (sign_side == 0)
|
|
748
|
{
|
|
749
|
for (i = 0; i < 20; i++)
|
|
750
|
{
|
|
751
|
var ob = instance_create_depth(16 + camerax() + (i * 32), cameray() + cameraheight() + 100, depth - 1, obj_mike_crowd);
|
|
752
|
ob.type = 2;
|
|
753
|
ob.ytarget = 160;
|
|
754
|
ob.wave_speed = 5;
|
|
755
|
}
|
|
756
|
}
|
|
757
|
else
|
|
758
|
{
|
|
759
|
for (i = 0; i < (13 + wave); i++)
|
|
760
|
{
|
|
761
|
var ob = instance_create_depth(camerax() + (camerawidth() / 2) + (((camerawidth() / 2) + 200 + (i * 32)) * sign_side), cameray() + 260, depth - 1, obj_mike_crowd);
|
|
762
|
ob.hspeed = (4 + wave) * -sign_side;
|
|
763
|
ob.wave_height = 16;
|
|
764
|
}
|
|
765
|
}
|
|
766
|
break;
|
|
767
|
case 3:
|
|
768
|
var sign_side = 1;
|
|
769
|
with (obj_mike_controller)
|
|
770
|
{
|
|
771
|
sign_index = 2;
|
|
772
|
sign_col = 65535;
|
|
773
|
}
|
|
774
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * 0.75);
|
|
775
|
for (i = 0; i < 5; i++)
|
|
776
|
{
|
|
777
|
var ob = instance_create_depth(camerax() + camerawidth() + 200 + (i * 200), cameray() + 150 + (160 * sign_side), depth - 1, obj_mike_pipe);
|
|
778
|
ob.hspeed = -4 * applause_speed;
|
|
779
|
sign_side = -sign_side;
|
|
780
|
}
|
|
781
|
break;
|
|
782
|
}
|
|
783
|
}
|
|
784
|
}
|
|
785
|
}
|
|
786
|
if (action == 3)
|
|
787
|
{
|
|
788
|
timer += 1;
|
|
789
|
if (wave == 0 && timer == 15)
|
|
790
|
{
|
|
791
|
with (obj_mike_controller)
|
|
792
|
type = 1;
|
|
793
|
}
|
|
794
|
if (timer > 15 && instance_number(obj_mike_crowd) == 0 && instance_number(obj_mike_quiet) == 0 && instance_number(obj_mike_pipe) == 0 && obj_mike_controller.sign_y == obj_mike_controller.sign_ystart)
|
|
795
|
{
|
|
796
|
wave += 1;
|
|
797
|
if (wave == 4)
|
|
798
|
{
|
|
799
|
wave = 0;
|
|
800
|
timer = 0;
|
|
801
|
phase = 3;
|
|
802
|
}
|
|
803
|
else
|
|
804
|
{
|
|
805
|
switch (wave)
|
|
806
|
{
|
|
807
|
case 1:
|
|
808
|
with (obj_mike_controller)
|
|
809
|
{
|
|
810
|
sign_index = 0;
|
|
811
|
sign_col = 65280;
|
|
812
|
}
|
|
813
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * 0.5);
|
|
814
|
var sign_side = 0;
|
|
815
|
alarm[3] = 130 - abs(sign_side * 20) - (wave * 5); gml_Object_obj_mike_attack_controller_Alarm_3.gml
with (obj_mike_controller)
{
sign_action2 = 1;
if (sign_x2 == sign_x)
{
if (sign_x == (camerax() + (camerawidth() / 2)))
sign_x2 = camerax() + (camerawidth() * choose(0.25, 0.75));
else
sign_x2 = camerax() + (camerawidth() / 2);
}
}
for (i = 0; i < 20; i++)
{
var ob = instance_create_depth(16 + camerax() + (i * 32), cameray() - 100, depth - 1, obj_mike_quiet);
ob.type = 1;
}
|
|
816
|
if (sign_side == 0)
|
|
817
|
{
|
|
818
|
for (i = 0; i < 20; i++)
|
|
819
|
{
|
|
820
|
var ob = instance_create_depth(16 + camerax() + (i * 32), cameray() + cameraheight() + 100, depth - 1, obj_mike_crowd);
|
|
821
|
ob.type = 2;
|
|
822
|
ob.ytarget = 160;
|
|
823
|
ob.wave_speed = 5;
|
|
824
|
}
|
|
825
|
}
|
|
826
|
else
|
|
827
|
{
|
|
828
|
for (i = 0; i < (13 + wave); i++)
|
|
829
|
{
|
|
830
|
var ob = instance_create_depth(camerax() + (camerawidth() / 2) + (((camerawidth() / 2) + 200 + (i * 32)) * sign_side), cameray() + 260, depth - 1, obj_mike_crowd);
|
|
831
|
ob.hspeed = (4 + wave) * -sign_side;
|
|
832
|
ob.wave_height = 16;
|
|
833
|
}
|
|
834
|
}
|
|
835
|
break;
|
|
836
|
case 0:
|
|
837
|
case 2:
|
|
838
|
var sign_side = -1;
|
|
839
|
with (obj_mike_controller)
|
|
840
|
{
|
|
841
|
sign_index = 2;
|
|
842
|
sign_col = 65535;
|
|
843
|
}
|
|
844
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * 0.75);
|
|
845
|
for (i = 0; i < 9; i++)
|
|
846
|
{
|
|
847
|
var ob = instance_create_depth(camerax() + camerawidth() + 200 + (i * 240), cameray() + 150 + (160 * sign_side), depth - 1, obj_mike_pipe);
|
|
848
|
ob.hspeed = -7 * applause_speed;
|
|
849
|
ob.scale = irandom_range(50, 130);
|
|
850
|
sign_side = -sign_side;
|
|
851
|
}
|
|
852
|
break;
|
|
853
|
}
|
|
854
|
}
|
|
855
|
}
|
|
856
|
}
|
|
857
|
if (action == 4)
|
|
858
|
{
|
|
859
|
timer += 1;
|
|
860
|
if (wave == 0 && timer == 15)
|
|
861
|
{
|
|
862
|
with (obj_mike_controller)
|
|
863
|
{
|
|
864
|
type = 2;
|
|
865
|
hand_distance = 140;
|
|
866
|
}
|
|
867
|
var _sn = snd_play(snd_power, 1, 0.3);
|
|
868
|
snd_pitch_time(_sn, 1.2, 30);
|
|
869
|
}
|
|
870
|
if (wave == 0 && timer == 25)
|
|
871
|
{
|
|
872
|
wave += 1;
|
|
873
|
scr_spawn_cats_random(1, 0);
|
|
874
|
with (obj_mike_cat)
|
|
875
|
wait_time = 320;
|
|
876
|
}
|
|
877
|
if (wave == 1 && instance_number(obj_mike_cat) == 0)
|
|
878
|
{
|
|
879
|
wave += 1;
|
|
880
|
scr_spawn_catsscr_spawn_cats
function scr_spawn_cats(arg0, arg1)
{
var _maxnum = arg0;
for (i = 0; i < _maxnum; i++)
{
var _dir = -30 + irandom(240);
var _dist = random_range(90, 200);
var ob = instance_create_depth(obj_mike_controller.x + lengthdir_x(_dist, _dir), cameray() + (cameraheight() / 2) + lengthdir_y(_dist * 0.9, _dir), depth - 4, obj_mike_cat);
with (ob)
{
wait = other.i * arg1;
if (i_ex(obj_mike_minigame_controller))
{
mydist = irandom_range(40, 80);
wait_time = 60;
}
var dir = point_direction(obj_mike_controller.x, obj_mike_controller.y, x, y);
var dist = 0.75;
x = obj_mike_controller.x + lengthdir_x(camerawidth() * dist, dir);
y = cameray() + (cameraheight() / 2) + lengthdir_y(cameraheight() * dist, dir);
}
}
}
function scr_spawn_cats_random(arg0, arg1)
{
var _maxnum = arg0;
for (i = 0; i < _maxnum; i++)
{
var _dir = 20 + irandom(140);
var _dist = random_range(90, 200);
var ob = instance_create_depth(obj_mike_controller.x + lengthdir_x(_dist, _dir), cameray() + (cameraheight() / 2) + lengthdir_y(_dist * 0.9, _dir), depth - 4, obj_mike_cat);
with (ob)
{
wait = other.i * arg1;
var dir = point_direction(obj_mike_controller.x, obj_mike_controller.y, x, y);
var dist = 1;
x = obj_mike_controller.x + lengthdir_x(camerawidth() * dist, dir);
y = cameray() + (cameraheight() / 2) + lengthdir_y(cameraheight() * dist, dir);
}
}
}
function scr_spawn_cats_falling(arg0, arg1, arg2)
{
var _homing = irandom(arg2);
for (i = 0; i < arg0; i++)
{
var _ob = instance_create_depth(camerax() + (camerawidth() / 2) + irandom_range(-100, 100), cameray() - 32 - (i * 90), depth - 10, obj_mike_spike);
_ob.wait = (instance_number(obj_mike_spike) - 1) * max(1, arg1);
while (point_distance(0, _ob.x, 0, lastx) < 32)
_ob.x = camerax() + (camerawidth() / 2) + irandom_range(-100, 100);
lastx = _ob.x;
_homing += 1;
if (_homing >= arg2)
{
_ob.homing = true;
_homing = choose(0, 1);
}
}
} (_cat_num[0], _cat_time[0]);
|
|
881
|
}
|
|
882
|
if (wave == 2 && instance_number(obj_mike_cat) == 0)
|
|
883
|
{
|
|
884
|
wave = 0;
|
|
885
|
timer = 0;
|
|
886
|
phase = 2;
|
|
887
|
}
|
|
888
|
}
|
|
889
|
if (action == 5)
|
|
890
|
{
|
|
891
|
timer += 1;
|
|
892
|
if (wave == 0 && timer == 10)
|
|
893
|
{
|
|
894
|
with (obj_mike_controller)
|
|
895
|
type = 2;
|
|
896
|
with (obj_mike_battle)
|
|
897
|
move = true;
|
|
898
|
instance_create_depth(camerax() + 140, cameray() + 100, depth - 2, obj_mike_bigcat);
|
|
899
|
instance_create_depth((camerax() + camerawidth()) - 140, cameray() + 100, depth - 2, obj_mike_bigcat);
|
|
900
|
instance_create_depth(camerax() + 140, cameray() + 250, depth - 2, obj_mike_bigcat);
|
|
901
|
instance_create_depth((camerax() + camerawidth()) - 140, cameray() + 250, depth - 2, obj_mike_bigcat);
|
|
902
|
with (obj_mike_bigcat)
|
|
903
|
happiness_speed = 0.75 * other.cat_happiness;
|
|
904
|
for (i = 0; i < instance_number(obj_mike_bigcat); i++)
|
|
905
|
{
|
|
906
|
var bc = instance_find(obj_mike_bigcat, i);
|
|
907
|
bc.happiness = 100 + (i * 20);
|
|
908
|
}
|
|
909
|
}
|
|
910
|
with (obj_mike_controller)
|
|
911
|
hand_distance = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (hand_distance, 120, 2);
|
|
912
|
if (timer > 450)
|
|
913
|
{
|
|
914
|
wave = 0;
|
|
915
|
timer = 0;
|
|
916
|
phase = 2;
|
|
917
|
with (obj_mike_hairball)
|
|
918
|
{
|
|
919
|
scr_sparklescr_sparkle
function scr_sparkle(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_pos(arg0, arg1, arg2)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(arg1 + lengthdir_x(16, dir + ((i / num) * 360)), arg2 + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_colour(arg0, arg1)
{
var num = arg0;
dir = 0;
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 5, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
_ob.image_blend = arg1;
}
}
function scr_sparkle_random(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
with (instance_create_depth(x + lengthdir_x(16, (i / num) * 360), y + lengthdir_y(16, (i / num) * 360), depth - 1, obj_heart_sparkle))
motion_set(other.dir, irandom_range(4, 6));
dir += irandom(30);
}
} (5);
|
|
920
|
instance_destroy();
|
|
921
|
}
|
|
922
|
with (obj_mike_bigcat)
|
|
923
|
action = 2;
|
|
924
|
}
|
|
925
|
}
|
|
926
|
if (action == 6)
|
|
927
|
{
|
|
928
|
timer += 1;
|
|
929
|
with (obj_mike_cat)
|
|
930
|
{
|
|
931
|
if (x > obj_mike_controller.x)
|
|
932
|
{
|
|
933
|
hspeed = -5.25;
|
|
934
|
friction = 0;
|
|
935
|
}
|
|
936
|
}
|
|
937
|
if (wave == 0 && timer == 15)
|
|
938
|
{
|
|
939
|
with (obj_mike_controller)
|
|
940
|
{
|
|
941
|
type = 2;
|
|
942
|
hand_distance = 80;
|
|
943
|
}
|
|
944
|
}
|
|
945
|
if (timer > 15 && instance_number(obj_mike_crowd) == 0 && instance_number(obj_mike_quiet) == 0 && instance_number(obj_mike_pipe) == 0)
|
|
946
|
{
|
|
947
|
wave += 1;
|
|
948
|
if (wave == 2)
|
|
949
|
{
|
|
950
|
wave = 0;
|
|
951
|
timer = 0;
|
|
952
|
phase = 3;
|
|
953
|
with (obj_mike_cat)
|
|
954
|
{
|
|
955
|
scr_sparklescr_sparkle
function scr_sparkle(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_pos(arg0, arg1, arg2)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(arg1 + lengthdir_x(16, dir + ((i / num) * 360)), arg2 + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_colour(arg0, arg1)
{
var num = arg0;
dir = 0;
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 5, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
_ob.image_blend = arg1;
}
}
function scr_sparkle_random(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
with (instance_create_depth(x + lengthdir_x(16, (i / num) * 360), y + lengthdir_y(16, (i / num) * 360), depth - 1, obj_heart_sparkle))
motion_set(other.dir, irandom_range(4, 6));
dir += irandom(30);
}
} (8);
|
|
956
|
instance_destroy();
|
|
957
|
}
|
|
958
|
}
|
|
959
|
else
|
|
960
|
{
|
|
961
|
var sign_side = -1;
|
|
962
|
with (obj_mike_controller)
|
|
963
|
{
|
|
964
|
sign_index = 2;
|
|
965
|
sign_col = 65535;
|
|
966
|
}
|
|
967
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * 0.75);
|
|
968
|
var wait_x = 800;
|
|
969
|
for (ii = 0; ii < 9; ii++)
|
|
970
|
{
|
|
971
|
var ob = instance_create_depth(120 + irandom(30), cameray() + ((ii + 1) * 32), depth - 4, obj_mike_cat);
|
|
972
|
with (ob)
|
|
973
|
{
|
|
974
|
flip = true;
|
|
975
|
active = true;
|
|
976
|
wait = -1;
|
|
977
|
x = camerax() + camerawidth() + 300;
|
|
978
|
}
|
|
979
|
}
|
|
980
|
for (i = 0; i < 6; i++)
|
|
981
|
{
|
|
982
|
var ob = instance_create_depth(wait_x + camerax() + camerawidth() + 200 + (i * 240), cameray() + 150 + (160 * sign_side), depth - 1, obj_mike_pipe);
|
|
983
|
ob.hspeed = -5;
|
|
984
|
ob.scale = irandom_range(50, 130);
|
|
985
|
sign_side = -sign_side;
|
|
986
|
for (ii = 0; ii < 3; ii++)
|
|
987
|
{
|
|
988
|
ob = instance_create_depth(120 + irandom(30), cameray() + 150 + ((ii + 1) * 32 * sign_side), depth - 4, obj_mike_cat);
|
|
989
|
with (ob)
|
|
990
|
{
|
|
991
|
wait_time = 15;
|
|
992
|
flip = true;
|
|
993
|
active = true;
|
|
994
|
wait = -1;
|
|
995
|
x = wait_x + camerax() + camerawidth() + 200 + (other.i * 255);
|
|
996
|
}
|
|
997
|
}
|
|
998
|
}
|
|
999
|
}
|
|
1000
|
}
|
|
1001
|
}
|
|
1002
|
if (action == 7)
|
|
1003
|
{
|
|
1004
|
timer += 1;
|
|
1005
|
if (wave == 0 && timer == 15)
|
|
1006
|
{
|
|
1007
|
with (obj_mike_controller)
|
|
1008
|
{
|
|
1009
|
type = 3;
|
|
1010
|
var _sn = snd_play(snd_power, 1, 0.3);
|
|
1011
|
snd_pitch_time(_sn, 1.2, 30);
|
|
1012
|
line_width = 0;
|
|
1013
|
line_xpos = 0;
|
|
1014
|
line_ypos = -32;
|
|
1015
|
y = cameray() + (cameraheight() / 2) + line_ypos;
|
|
1016
|
}
|
|
1017
|
with (obj_mike_controller)
|
|
1018
|
{
|
|
1019
|
sign_index = 2;
|
|
1020
|
sign_col = 65535;
|
|
1021
|
}
|
|
1022
|
var sign_side = 1;
|
|
1023
|
obj_mike_controller.sign_x = camerax() + (camerawidth() * (0.5 + (sign_side * 0.25)));
|
|
1024
|
for (i = 0; i < 15; i++)
|
|
1025
|
{
|
|
1026
|
var ob = instance_create_depth(camerax() + (camerawidth() / 2) + (((camerawidth() / 2) + 200 + (i * 32)) * sign_side), cameray() + 275, depth - 1, obj_mike_crowd);
|
|
1027
|
ob.hspeed = -7 * sign_side;
|
|
1028
|
ob = instance_create_depth(camerax() + (camerawidth() / 2) + (((camerawidth() / 2) + 200 + (i * 32)) * sign_side), cameray() + 150, depth - 1, obj_mike_crowd);
|
|
1029
|
ob.hspeed = -7 * sign_side;
|
|
1030
|
}
|
|
1031
|
}
|
|
1032
|
if (timer > 15)
|
|
1033
|
{
|
|
1034
|
with (obj_mike_controller)
|
|
1035
|
line_width = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (line_width, 150, 2);
|
|
1036
|
}
|
|
1037
|
if (wave == 0 && timer >= 240 && instance_number(obj_mike_crowd) == 0 && obj_mike_controller.sign_y == obj_mike_controller.sign_ystart)
|
|
1038
|
{
|
|
1039
|
wave += 1;
|
|
1040
|
pawtype = 0;
|
|
1041
|
attacks = 3;
|
|
1042
|
paw_aim = 1;
|
|
1043
|
paw_reload = _paw_time[0];
|
|
1044
|
alarm[1] = 1; gml_Object_obj_mike_attack_controller_Alarm_1.gml
pawtype = 0;
counter = paw_reload;
var newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
while (x == newx)
newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
if (attacks < 3)
{
if (obj_mike_controller.x > (camerax() + (camerawidth() / 2) + 30))
newx = camerax() + (camerawidth() / 2) + (obj_mike_controller.line_width / 2);
else if (obj_mike_controller.x < ((camerax() + (camerawidth() / 2)) - 30))
newx = (camerax() + (camerawidth() / 2)) - (obj_mike_controller.line_width / 2);
else
newx = camerax() + (camerawidth() / 2);
}
mid_reload -= 1;
if (choose(0, 1) && mid_attack && mid_reload <= 0)
{
pawtype = 1;
mid_reload = 2;
newx = camerax() + (camerawidth() / 2);
}
if (paw_aim)
{
paw_aim = 0;
newx = obj_mike_controller.x;
}
x = newx;
attacks -= 1;
if (attacks > 0)
alarm[1] = paw_reload + 5;
|
|
1045
|
}
|
|
1046
|
if (wave == 1 && instance_number(obj_mike_paw) == 0 && attacks <= 0 && counter <= -1)
|
|
1047
|
{
|
|
1048
|
wave = 0;
|
|
1049
|
timer = 0;
|
|
1050
|
phase = 2;
|
|
1051
|
}
|
|
1052
|
}
|
|
1053
|
if (action == 8)
|
|
1054
|
{
|
|
1055
|
timer += 1;
|
|
1056
|
if (wave == 0 && timer >= 15)
|
|
1057
|
{
|
|
1058
|
with (obj_mike_controller)
|
|
1059
|
type = 3;
|
|
1060
|
wave += 1;
|
|
1061
|
scr_spawn_cats_falling(_falling_num, _falling_time, 4);
|
|
1062
|
}
|
|
1063
|
if (wave == 1 && instance_number(obj_mike_spike) == 0)
|
|
1064
|
{
|
|
1065
|
wave = 0;
|
|
1066
|
timer = 0;
|
|
1067
|
phase = 2;
|
|
1068
|
}
|
|
1069
|
}
|
|
1070
|
if (action == 9)
|
|
1071
|
{
|
|
1072
|
timer += 1;
|
|
1073
|
if (wave == 0 && timer >= 30)
|
|
1074
|
{
|
|
1075
|
with (obj_mike_controller)
|
|
1076
|
type = 3;
|
|
1077
|
wave += 1;
|
|
1078
|
pawtype = 0;
|
|
1079
|
mid_reload = 2;
|
|
1080
|
mid_attack = true;
|
|
1081
|
paw_aim = 1;
|
|
1082
|
attacks = 5;
|
|
1083
|
paw_reload = _paw_time[1];
|
|
1084
|
alarm[1] = 1; gml_Object_obj_mike_attack_controller_Alarm_1.gml
pawtype = 0;
counter = paw_reload;
var newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
while (x == newx)
newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
if (attacks < 3)
{
if (obj_mike_controller.x > (camerax() + (camerawidth() / 2) + 30))
newx = camerax() + (camerawidth() / 2) + (obj_mike_controller.line_width / 2);
else if (obj_mike_controller.x < ((camerax() + (camerawidth() / 2)) - 30))
newx = (camerax() + (camerawidth() / 2)) - (obj_mike_controller.line_width / 2);
else
newx = camerax() + (camerawidth() / 2);
}
mid_reload -= 1;
if (choose(0, 1) && mid_attack && mid_reload <= 0)
{
pawtype = 1;
mid_reload = 2;
newx = camerax() + (camerawidth() / 2);
}
if (paw_aim)
{
paw_aim = 0;
newx = obj_mike_controller.x;
}
x = newx;
attacks -= 1;
if (attacks > 0)
alarm[1] = paw_reload + 5;
|
|
1085
|
}
|
|
1086
|
if (wave == 1 && instance_number(obj_mike_spike) == 0 && attacks == 0 && instance_number(obj_mike_paw) == 0 && counter <= -1)
|
|
1087
|
{
|
|
1088
|
wave = 0;
|
|
1089
|
timer = 0;
|
|
1090
|
phase = 3;
|
|
1091
|
}
|
|
1092
|
}
|
|
1093
|
if (action == 10)
|
|
1094
|
{
|
|
1095
|
timer += 1;
|
|
1096
|
if (wave == 0 && timer == 30)
|
|
1097
|
{
|
|
1098
|
with (obj_mike_controller)
|
|
1099
|
type = 4;
|
|
1100
|
var _sn = snd_play(snd_power, 1, 0.3);
|
|
1101
|
snd_pitch_time(_sn, 1.2, 30);
|
|
1102
|
}
|
|
1103
|
with (obj_mike_controller)
|
|
1104
|
{
|
|
1105
|
hand_distance = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (hand_distance, 180, 2);
|
|
1106
|
line_width = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (line_width, 100, 2);
|
|
1107
|
}
|
|
1108
|
if (wave == 0 && timer >= 45)
|
|
1109
|
{
|
|
1110
|
wave = 1;
|
|
1111
|
with (obj_mike_battle)
|
|
1112
|
move = true;
|
|
1113
|
cat_max = _grab_cats;
|
|
1114
|
var side = choose(camerax() + irandom_range(64, 128), (camerax() + camerawidth()) - irandom_range(64, 128));
|
|
1115
|
var a = instance_create_depth(side, 56, depth - 1, obj_mike_grabcat);
|
|
1116
|
a.wait_max = 1;
|
|
1117
|
if (instance_number(obj_mike_catbasket) == 0)
|
|
1118
|
{
|
|
1119
|
with (instance_create_depth(camerax() + (camerawidth() / 2), cameray() + 280, depth + 1, obj_mike_catbasket))
|
|
1120
|
type = 1;
|
|
1121
|
}
|
|
1122
|
}
|
|
1123
|
if (wave == 1)
|
|
1124
|
{
|
|
1125
|
if (instance_number(obj_mike_grabcat) == 0)
|
|
1126
|
{
|
|
1127
|
scr_spawn_cats_random(_cat_num[3], _cat_time[3]);
|
|
1128
|
var side = choose(camerax() + irandom_range(64, 128), (camerax() + camerawidth()) - irandom_range(64, 128));
|
|
1129
|
instance_create_depth(side, 64, depth - 1, obj_mike_grabcat);
|
|
1130
|
cat_max -= 1;
|
|
1131
|
wave = 2;
|
|
1132
|
timer = 0;
|
|
1133
|
}
|
|
1134
|
}
|
|
1135
|
if (wave == 2)
|
|
1136
|
{
|
|
1137
|
if (instance_number(obj_mike_grabcat) == 0)
|
|
1138
|
{
|
|
1139
|
scr_spawn_cats_random(_cat_num[3], _cat_time[3]);
|
|
1140
|
var side = choose(camerax() + irandom_range(64, 128), (camerax() + camerawidth()) - irandom_range(64, 128));
|
|
1141
|
instance_create_depth(side, 64, depth - 1, obj_mike_grabcat);
|
|
1142
|
cat_max -= 1;
|
|
1143
|
if (cat_max == 0)
|
|
1144
|
wave = 3;
|
|
1145
|
}
|
|
1146
|
}
|
|
1147
|
if (wave == 3 && (instance_number(obj_mike_grabcat) == 0 || timer > 450))
|
|
1148
|
{
|
|
1149
|
wave = 0;
|
|
1150
|
timer = 0;
|
|
1151
|
phase = 2;
|
|
1152
|
with (obj_mike_cat)
|
|
1153
|
{
|
|
1154
|
scr_sparklescr_sparkle
function scr_sparkle(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_pos(arg0, arg1, arg2)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(arg1 + lengthdir_x(16, dir + ((i / num) * 360)), arg2 + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_colour(arg0, arg1)
{
var num = arg0;
dir = 0;
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 5, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
_ob.image_blend = arg1;
}
}
function scr_sparkle_random(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
with (instance_create_depth(x + lengthdir_x(16, (i / num) * 360), y + lengthdir_y(16, (i / num) * 360), depth - 1, obj_heart_sparkle))
motion_set(other.dir, irandom_range(4, 6));
dir += irandom(30);
}
} (8);
|
|
1155
|
instance_destroy();
|
|
1156
|
}
|
|
1157
|
with (obj_mike_grabcat)
|
|
1158
|
{
|
|
1159
|
scr_sparklescr_sparkle
function scr_sparkle(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_pos(arg0, arg1, arg2)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(arg1 + lengthdir_x(16, dir + ((i / num) * 360)), arg2 + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_colour(arg0, arg1)
{
var num = arg0;
dir = 0;
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 5, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
_ob.image_blend = arg1;
}
}
function scr_sparkle_random(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
with (instance_create_depth(x + lengthdir_x(16, (i / num) * 360), y + lengthdir_y(16, (i / num) * 360), depth - 1, obj_heart_sparkle))
motion_set(other.dir, irandom_range(4, 6));
dir += irandom(30);
}
} (8);
|
|
1160
|
instance_destroy();
|
|
1161
|
}
|
|
1162
|
}
|
|
1163
|
}
|
|
1164
|
if (action == 11)
|
|
1165
|
{
|
|
1166
|
timer += 1;
|
|
1167
|
if (wave == 0 && timer >= 15)
|
|
1168
|
{
|
|
1169
|
with (obj_mike_controller)
|
|
1170
|
{
|
|
1171
|
type = 4;
|
|
1172
|
line_width = 150;
|
|
1173
|
}
|
|
1174
|
wave += 1;
|
|
1175
|
pawtype = 0;
|
|
1176
|
mid_reload = 2;
|
|
1177
|
paw_aim = 1;
|
|
1178
|
mid_attack = false;
|
|
1179
|
attacks = 9;
|
|
1180
|
paw_reload = _paw_time[2];
|
|
1181
|
alarm[1] = 1; gml_Object_obj_mike_attack_controller_Alarm_1.gml
pawtype = 0;
counter = paw_reload;
var newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
while (x == newx)
newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
if (attacks < 3)
{
if (obj_mike_controller.x > (camerax() + (camerawidth() / 2) + 30))
newx = camerax() + (camerawidth() / 2) + (obj_mike_controller.line_width / 2);
else if (obj_mike_controller.x < ((camerax() + (camerawidth() / 2)) - 30))
newx = (camerax() + (camerawidth() / 2)) - (obj_mike_controller.line_width / 2);
else
newx = camerax() + (camerawidth() / 2);
}
mid_reload -= 1;
if (choose(0, 1) && mid_attack && mid_reload <= 0)
{
pawtype = 1;
mid_reload = 2;
newx = camerax() + (camerawidth() / 2);
}
if (paw_aim)
{
paw_aim = 0;
newx = obj_mike_controller.x;
}
x = newx;
attacks -= 1;
if (attacks > 0)
alarm[1] = paw_reload + 5;
|
|
1182
|
}
|
|
1183
|
if (wave == 1 && attacks == 7)
|
|
1184
|
{
|
|
1185
|
wave = 2;
|
|
1186
|
instance_create_depth(camerax() + 120, cameray() + 160, depth, obj_mike_bigcat);
|
|
1187
|
instance_create_depth((camerax() + camerawidth()) - 120, cameray() + 160, depth, obj_mike_bigcat);
|
|
1188
|
with (obj_mike_bigcat)
|
|
1189
|
happiness_speed = 0.4 * other.cat_happiness;
|
|
1190
|
}
|
|
1191
|
with (obj_mike_controller)
|
|
1192
|
hand_distance = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (hand_distance, 90, 2);
|
|
1193
|
if (wave == 2 && attacks == 0 && instance_number(obj_mike_paw) == 0 && instance_number(obj_mike_spike) == 0 && counter <= -1)
|
|
1194
|
{
|
|
1195
|
wave = 0;
|
|
1196
|
timer = 0;
|
|
1197
|
phase = 2;
|
|
1198
|
action += 2;
|
|
1199
|
with (obj_mike_bigcat)
|
|
1200
|
action = 2;
|
|
1201
|
}
|
|
1202
|
}
|
|
1203
|
if (action == 12)
|
|
1204
|
{
|
|
1205
|
timer += 1;
|
|
1206
|
if (wave == 0 && timer >= 30)
|
|
1207
|
{
|
|
1208
|
with (obj_mike_controller)
|
|
1209
|
type = 4;
|
|
1210
|
}
|
|
1211
|
with (obj_mike_controller)
|
|
1212
|
{
|
|
1213
|
hand_distance = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (hand_distance, 160, 2);
|
|
1214
|
line_width = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (line_width, 200, 2);
|
|
1215
|
}
|
|
1216
|
if (wave == 0 && timer >= 45)
|
|
1217
|
{
|
|
1218
|
wave = 1;
|
|
1219
|
with (obj_mike_battle)
|
|
1220
|
move = true;
|
|
1221
|
cat_max = 6;
|
|
1222
|
var side = choose(camerax() + irandom_range(64, 128), (camerax() + camerawidth()) - irandom_range(64, 128));
|
|
1223
|
instance_create_depth(side, 64, depth - 1, obj_mike_grabcat);
|
|
1224
|
if (instance_number(obj_mike_catbasket) == 0)
|
|
1225
|
{
|
|
1226
|
with (instance_create_depth(camerax() + (camerawidth() / 2), cameray() + 280, depth + 1, obj_mike_catbasket))
|
|
1227
|
type = 1;
|
|
1228
|
}
|
|
1229
|
}
|
|
1230
|
if (wave == 1)
|
|
1231
|
{
|
|
1232
|
if (instance_number(obj_mike_grabcat) == 0)
|
|
1233
|
{
|
|
1234
|
var side = choose(camerax() + irandom_range(64, 128), (camerax() + camerawidth()) - irandom_range(64, 128));
|
|
1235
|
instance_create_depth(side, 64, depth - 1, obj_mike_grabcat);
|
|
1236
|
cat_max -= 1;
|
|
1237
|
if (cat_max == 0)
|
|
1238
|
wave = 2;
|
|
1239
|
}
|
|
1240
|
}
|
|
1241
|
if (wave == 2 && instance_number(obj_mike_grabcat) == 0)
|
|
1242
|
{
|
|
1243
|
with (obj_mike_cat)
|
|
1244
|
{
|
|
1245
|
scr_sparklescr_sparkle
function scr_sparkle(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_pos(arg0, arg1, arg2)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(arg1 + lengthdir_x(16, dir + ((i / num) * 360)), arg2 + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_colour(arg0, arg1)
{
var num = arg0;
dir = 0;
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 5, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
_ob.image_blend = arg1;
}
}
function scr_sparkle_random(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
with (instance_create_depth(x + lengthdir_x(16, (i / num) * 360), y + lengthdir_y(16, (i / num) * 360), depth - 1, obj_heart_sparkle))
motion_set(other.dir, irandom_range(4, 6));
dir += irandom(30);
}
} (8);
|
|
1246
|
instance_destroy();
|
|
1247
|
}
|
|
1248
|
wave = 0;
|
|
1249
|
timer = 0;
|
|
1250
|
phase = 2;
|
|
1251
|
}
|
|
1252
|
}
|
|
1253
|
if (action == 13)
|
|
1254
|
{
|
|
1255
|
timer += 1;
|
|
1256
|
if (wave == 0 && timer == 15)
|
|
1257
|
{
|
|
1258
|
with (obj_mike_controller)
|
|
1259
|
type = 4;
|
|
1260
|
wave += 1;
|
|
1261
|
}
|
|
1262
|
if (wave == 1 && timer == 60)
|
|
1263
|
wave = 2;
|
|
1264
|
if (wave == 2 && instance_number(obj_mike_cat) == 0)
|
|
1265
|
{
|
|
1266
|
wave = 0;
|
|
1267
|
timer = 0;
|
|
1268
|
phase = 2;
|
|
1269
|
}
|
|
1270
|
}
|
|
1271
|
if (action == 14)
|
|
1272
|
{
|
|
1273
|
timer += 1;
|
|
1274
|
if (wave == 0 && timer == 1)
|
|
1275
|
{
|
|
1276
|
with (obj_mike_controller)
|
|
1277
|
{
|
|
1278
|
type = 4;
|
|
1279
|
line_width = 20;
|
|
1280
|
hand_distance = 140;
|
|
1281
|
}
|
|
1282
|
}
|
|
1283
|
if (wave == 0 && timer == 15)
|
|
1284
|
instance_create_depth((camerax() + camerawidth()) - 100, cameray() + 200, depth - 2, obj_mike_combo);
|
|
1285
|
if (instance_number(obj_mike_combo) == 1)
|
|
1286
|
{
|
|
1287
|
with (obj_mike_controller)
|
|
1288
|
{
|
|
1289
|
line_width = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (line_width, 140, 2);
|
|
1290
|
if (y < 300)
|
|
1291
|
line_ypos += 2;
|
|
1292
|
y = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (y, 300, 2);
|
|
1293
|
}
|
|
1294
|
}
|
|
1295
|
if (wave == 2)
|
|
1296
|
{
|
|
1297
|
if (obj_mike_combo.hp <= (obj_mike_combo.hp_max - 2))
|
|
1298
|
{
|
|
1299
|
wave = 3;
|
|
1300
|
instance_create_depth(camerax() + 90, cameray() + 270, depth - 1, obj_mike_bigcat);
|
|
1301
|
instance_create_depth((camerax() + camerawidth()) - 90, cameray() + 270, depth - 1, obj_mike_bigcat);
|
|
1302
|
}
|
|
1303
|
}
|
|
1304
|
if (wave == 4)
|
|
1305
|
{
|
|
1306
|
if (obj_mike_combo.hp <= 0)
|
|
1307
|
{
|
|
1308
|
wave = 7;
|
|
1309
|
action = 15;
|
|
1310
|
with (obj_mike_cat)
|
|
1311
|
alarm[1] = 5; gml_Object_obj_mike_attack_controller_Alarm_1.gml
pawtype = 0;
counter = paw_reload;
var newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
while (x == newx)
newx = camerax() + (camerawidth() / 2) + choose(-(obj_mike_controller.line_width / 2), 0, obj_mike_controller.line_width / 2);
if (attacks < 3)
{
if (obj_mike_controller.x > (camerax() + (camerawidth() / 2) + 30))
newx = camerax() + (camerawidth() / 2) + (obj_mike_controller.line_width / 2);
else if (obj_mike_controller.x < ((camerax() + (camerawidth() / 2)) - 30))
newx = (camerax() + (camerawidth() / 2)) - (obj_mike_controller.line_width / 2);
else
newx = camerax() + (camerawidth() / 2);
}
mid_reload -= 1;
if (choose(0, 1) && mid_attack && mid_reload <= 0)
{
pawtype = 1;
mid_reload = 2;
newx = camerax() + (camerawidth() / 2);
}
if (paw_aim)
{
paw_aim = 0;
newx = obj_mike_controller.x;
}
x = newx;
attacks -= 1;
if (attacks > 0)
alarm[1] = paw_reload + 5;
|
|
1312
|
with (obj_mike_bigcat)
|
|
1313
|
action = 2;
|
|
1314
|
with (obj_mike_spike)
|
|
1315
|
{
|
|
1316
|
scr_sparklescr_sparkle
function scr_sparkle(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_pos(arg0, arg1, arg2)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(arg1 + lengthdir_x(16, dir + ((i / num) * 360)), arg2 + lengthdir_y(16, dir + ((i / num) * 360)), depth - 1, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
}
}
function scr_sparkle_colour(arg0, arg1)
{
var num = arg0;
dir = 0;
for (i = 0; i < num; i++)
{
var _ob = instance_create_depth(x + lengthdir_x(16, dir + ((i / num) * 360)), y + lengthdir_y(16, dir + ((i / num) * 360)), depth - 5, obj_heart_sparkle);
_ob.speed = 4;
_ob.direction = (i / num) * 360;
_ob.image_blend = arg1;
}
}
function scr_sparkle_random(arg0)
{
var num = arg0;
dir = irandom(360);
for (i = 0; i < num; i++)
{
with (instance_create_depth(x + lengthdir_x(16, (i / num) * 360), y + lengthdir_y(16, (i / num) * 360), depth - 1, obj_heart_sparkle))
motion_set(other.dir, irandom_range(4, 6));
dir += irandom(30);
}
} (8);
|
|
1317
|
instance_destroy();
|
|
1318
|
}
|
|
1319
|
with (obj_mike_combo)
|
|
1320
|
{
|
|
1321
|
flash = true;
|
|
1322
|
image_alpha = 1;
|
|
1323
|
}
|
|
1324
|
counter = 0;
|
|
1325
|
}
|
|
1326
|
else
|
|
1327
|
{
|
|
1328
|
dog_x = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (dog_x, 96, 2);
|
|
1329
|
}
|
|
1330
|
}
|
|
1331
|
}
|
|
1332
|
}
|
|
1333
|
else if (phase != 3 || move_party)
|
|
1334
|
{
|
|
1335
|
if (move_party)
|
|
1336
|
{
|
|
1337
|
with (obj_darkener)
|
|
1338
|
darken = 0;
|
|
1339
|
}
|
|
1340
|
with (obj_heroparent)
|
|
1341
|
{
|
|
1342
|
if (other.alarm[5] <= 0)
|
|
1343
|
x = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (x, xstart, 8);
|
|
1344
|
}
|
|
1345
|
with (obj_mike_controller)
|
|
1346
|
hand_distance = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (hand_distance, 220, 8);
|
|
1347
|
}
|
|
1348
|
if (phase == 2)
|
|
1349
|
{
|
|
1350
|
talking = false;
|
|
1351
|
with (obj_darkener)
|
|
1352
|
darken = 0;
|
|
1353
|
with (obj_mike_controller)
|
|
1354
|
type = 5;
|
|
1355
|
phase = 0;
|
|
1356
|
with (obj_mike_battle)
|
|
1357
|
move = false;
|
|
1358
|
with (obj_herokris)
|
|
1359
|
idlesprite = spr_kris_dance;
|
|
1360
|
with (obj_herosusie)
|
|
1361
|
idlesprite = spr_susie_dance;
|
|
1362
|
with (obj_heroralsei)
|
|
1363
|
idlesprite = spr_ralsei_dance;
|
|
1364
|
var txt = irandom(2);
|
|
1365
|
while (txt == text_last)
|
|
1366
|
txt = irandom(2);
|
|
1367
|
text_last = txt;
|
|
1368
|
if (action < 3)
|
|
1369
|
global.msg[0] = text[txt][0];
|
|
1370
|
else if (action < 6)
|
|
1371
|
global.msg[0] = text[txt][1];
|
|
1372
|
else if (action < 9)
|
|
1373
|
global.msg[0] = text[txt][2];
|
|
1374
|
else if (action == 13)
|
|
1375
|
global.msg[0] = text[3][3];
|
|
1376
|
else
|
|
1377
|
global.msg[0] = text[txt][3];
|
|
1378
|
if (action != 13 && irandom(100) < 3)
|
|
1379
|
global.msg[0] = text[0][4];
|
|
1380
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
1381
|
battlewriter.depth = -1;
|
|
1382
|
}
|
|
1383
|
if (phase == 3)
|
|
1384
|
{
|
|
1385
|
if (wave == 0)
|
|
1386
|
{
|
|
1387
|
with (obj_mike_battle)
|
|
1388
|
move = false;
|
|
1389
|
wave = 1;
|
|
1390
|
talking = true;
|
|
1391
|
}
|
|
1392
|
if (wave == 1 && obj_mike_battle.x == obj_mike_battle.newx)
|
|
1393
|
{
|
|
1394
|
wave = 2;
|
|
1395
|
msg_max = 0;
|
|
1396
|
msg_current = 0;
|
|
1397
|
switch (mike)
|
|
1398
|
{
|
|
1399
|
case 0:
|
|
1400
|
text_speed = 2;
|
|
1401
|
msgsetloc(msg_max++, "Huff... puff...", "obj_mike_attack_controller_slash_Step_0_gml_1680_0");
|
|
1402
|
msgsetloc(msg_max++, "I think Mike...&Needs a little break...", "obj_mike_attack_controller_slash_Step_0_gml_1681_0");
|
|
1403
|
msgsetloc(msg_max++, "I'll be back...&In a sec...", "obj_mike_attack_controller_slash_Step_0_gml_1682_0");
|
|
1404
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
1405
|
with (obj_mike_battle)
|
|
1406
|
talking = true;
|
|
1407
|
mike = 1;
|
|
1408
|
break;
|
|
1409
|
case 1:
|
|
1410
|
text_speed = 2;
|
|
1411
|
msgsetloc(msg_max++, "All right, that's&enough already.", "obj_mike_attack_controller_slash_Step_0_gml_1692_0");
|
|
1412
|
msgsetloc(msg_max++, "I'm not feeling&quite myself!!!&I think I really&need to take a break.", "obj_mike_attack_controller_slash_Step_0_gml_1693_0");
|
|
1413
|
convo = 1;
|
|
1414
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
1415
|
mike = 2;
|
|
1416
|
break;
|
|
1417
|
case 2:
|
|
1418
|
text_speed = 0.1;
|
|
1419
|
msgsetloc(msg_max++, "What does Mike say&next.", "obj_mike_attack_controller_slash_Step_0_gml_1704_0");
|
|
1420
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
1421
|
with (obj_mike_battle)
|
|
1422
|
talking = true;
|
|
1423
|
with (obj_mike_battle)
|
|
1424
|
type = 2;
|
|
1425
|
convo = 1;
|
|
1426
|
mike = 3;
|
|
1427
|
break;
|
|
1428
|
case 3:
|
|
1429
|
text_speed = 0.1;
|
|
1430
|
msgsetloc(msg_max++, "That ain't worked&so good.", "obj_mike_attack_controller_slash_Step_0_gml_1716_0");
|
|
1431
|
msgsetloc(msg_max++, "Boss, can we just&use our normal&attacks?", "obj_mike_attack_controller_slash_Step_0_gml_1717_0");
|
|
1432
|
main_text = 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_z;
return myblcon;
}
} (mike_big.x - 64, mike_big.y + 32, 10);
|
|
1433
|
with (mike_big)
|
|
1434
|
talking = true;
|
|
1435
|
last_talker = mike_big;
|
|
1436
|
convo = 1;
|
|
1437
|
mike = 4;
|
|
1438
|
break;
|
|
1439
|
}
|
|
1440
|
}
|
|
1441
|
if (wave == 2)
|
|
1442
|
{
|
|
1443
|
if (instance_number(obj_writer) > 0)
|
|
1444
|
{
|
|
1445
|
with (main_text.mywriter)
|
|
1446
|
{
|
|
1447
|
if (global.flag[10 wrist_protector] == 1 && button3_h())
|
|
1448
|
{
|
|
1449
|
other.timer = 9999;
|
|
1450
|
pos = string_length(mystring) + 2;
|
|
1451
|
}
|
|
1452
|
if (pos >= (string_length(mystring) + 2))
|
|
1453
|
{
|
|
1454
|
with (obj_mike_battle)
|
|
1455
|
talking = false;
|
|
1456
|
other.timer += 1;
|
|
1457
|
if ((global.use_mic || obj_mike_attack_controller.text_skip) && (scr_mouse_leftclick() || scr_mouse_rightclick()))
|
|
1458
|
other.timer = 300;
|
|
1459
|
if (other.timer >= (75 + other.txt_wait + (floor(other.text_speed) * 35)))
|
|
1460
|
{
|
|
1461
|
other.timer = 0;
|
|
1462
|
other.msg_current += 1;
|
|
1463
|
scr_nextmsgscr_nextmsg
function scr_nextmsg()
{
msgno += 1;
lineno = 0;
aster = 0;
halt = 0;
pos = 1;
alarm[0]
drawaster = 1;
autoaster = 1;
miniface_pos = 0;
miniface_current_pos = -1;
mystring = nstring[msgno];
formatted = 0;
wxskip = 0;
sound_played = 0;
reachedend_sound_played = 0;
reachedend = 0;
forcebutton1 = 0;
if (rate < 3)
{
firstnoise = 0;
alarm[2]
}
for (var _objecti = 0; _objecti < 9; _objecti++)
object_made[_objecti] = 0;
with (obj_funnytext)
instance_destroy();
} ();
|
|
1464
|
if (other.msg_current == other.msg_max)
|
|
1465
|
{
|
|
1466
|
if (other.convo > 0)
|
|
1467
|
{
|
|
1468
|
if (other.combo)
|
|
1469
|
{
|
|
1470
|
other.wave = 5;
|
|
1471
|
other.move_party = true;
|
|
1472
|
with (obj_mike_battle)
|
|
1473
|
action = 1;
|
|
1474
|
}
|
|
1475
|
else
|
|
1476
|
{
|
|
1477
|
other.wave = 4;
|
|
1478
|
}
|
|
1479
|
other.timer = 0;
|
|
1480
|
}
|
|
1481
|
else if (other.ending)
|
|
1482
|
{
|
|
1483
|
other.timer = 0;
|
|
1484
|
other.wave = 0;
|
|
1485
|
other.action = 18;
|
|
1486
|
}
|
|
1487
|
else
|
|
1488
|
{
|
|
1489
|
other.wave = 3;
|
|
1490
|
if (instance_number(obj_mike_battle) == 1)
|
|
1491
|
{
|
|
1492
|
with (obj_mike_battle)
|
|
1493
|
action = 1;
|
|
1494
|
}
|
|
1495
|
}
|
|
1496
|
with (obj_writer)
|
|
1497
|
instance_destroy();
|
|
1498
|
}
|
|
1499
|
else if (other.last_talker != -1)
|
|
1500
|
{
|
|
1501
|
with (other.last_talker)
|
|
1502
|
talking = true;
|
|
1503
|
}
|
|
1504
|
else
|
|
1505
|
{
|
|
1506
|
with (obj_mike_battle)
|
|
1507
|
talking = true;
|
|
1508
|
}
|
|
1509
|
}
|
|
1510
|
}
|
|
1511
|
else
|
|
1512
|
{
|
|
1513
|
if (pos < (string_length(mystring) + 2))
|
|
1514
|
pos = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (pos, string_length(mystring) + 2, other.text_speed);
|
|
1515
|
if ((global.use_mic || obj_mike_attack_controller.text_skip) && scr_mouse_leftclick())
|
|
1516
|
{
|
|
1517
|
if (pos < (string_length(mystring) + 2))
|
|
1518
|
{
|
|
1519
|
pos = string_length(mystring) + 2;
|
|
1520
|
other.timer = 0;
|
|
1521
|
}
|
|
1522
|
}
|
|
1523
|
if ((global.use_mic || obj_mike_attack_controller.text_skip) && scr_mouse_rightclick())
|
|
1524
|
{
|
|
1525
|
if (pos < (string_length(mystring) + 2))
|
|
1526
|
{
|
|
1527
|
pos = string_length(mystring) + 2;
|
|
1528
|
other.timer = 120;
|
|
1529
|
}
|
|
1530
|
}
|
|
1531
|
}
|
|
1532
|
}
|
|
1533
|
}
|
|
1534
|
else
|
|
1535
|
{
|
|
1536
|
timer += 1;
|
|
1537
|
if (convo > 0 && timer > 15)
|
|
1538
|
{
|
|
1539
|
wave = 4;
|
|
1540
|
timer = 0;
|
|
1541
|
}
|
|
1542
|
}
|
|
1543
|
}
|
|
1544
|
if (wave == 3)
|
|
1545
|
{
|
|
1546
|
if (obj_mike_battle.x == obj_mike_battle.newx && obj_mike_battle.action == 0)
|
|
1547
|
{
|
|
1548
|
wave = 0;
|
|
1549
|
phase = 2;
|
|
1550
|
}
|
|
1551
|
}
|
|
1552
|
if (wave == 4)
|
|
1553
|
{
|
|
1554
|
timer += 1;
|
|
1555
|
if (timer > 15)
|
|
1556
|
{
|
|
1557
|
msg_max = 0;
|
|
1558
|
msg_current = 0;
|
|
1559
|
switch (action)
|
|
1560
|
{
|
|
1561
|
case 6:
|
|
1562
|
if (convo == 1)
|
|
1563
|
{
|
|
1564
|
text_speed = 0.1;
|
|
1565
|
msgsetloc(msg_max++, ". . .", "obj_mike_attack_controller_slash_Step_0_gml_1841_0");
|
|
1566
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
1567
|
convo += 1;
|
|
1568
|
}
|
|
1569
|
else if (convo == 2)
|
|
1570
|
{
|
|
1571
|
text_speed = 2;
|
|
1572
|
msgsetloc(msg_max++, "I said, I think&MIKE really needs&to TAKE A BREAK!!!", "obj_mike_attack_controller_slash_Step_0_gml_1848_0");
|
|
1573
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
1574
|
convo = 0;
|
|
1575
|
}
|
|
1576
|
break;
|
|
1577
|
case 9:
|
|
1578
|
if (convo == 1)
|
|
1579
|
{
|
|
1580
|
text_speed = 2;
|
|
1581
|
msgsetloc(msg_max++, "Don't ask that, idiot!!&YOU'RE mike!!!", "obj_mike_attack_controller_slash_Step_0_gml_1861_0");
|
|
1582
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
1583
|
convo += 1;
|
|
1584
|
}
|
|
1585
|
else if (convo == 2)
|
|
1586
|
{
|
|
1587
|
text_speed = 0.1;
|
|
1588
|
msgsetloc(msg_max++, "Oh yeahs.", "obj_mike_attack_controller_slash_Step_0_gml_1868_0");
|
|
1589
|
msgsetloc(msg_max++, "So whys can't I say&whatever's I want?", "obj_mike_attack_controller_slash_Step_0_gml_1869_0");
|
|
1590
|
main_text = 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_z;
return myblcon;
}
} (obj_mike_battle.x - 64, obj_mike_battle.y, 10);
|
|
1591
|
with (obj_mike_battle)
|
|
1592
|
talking = true;
|
|
1593
|
convo += 1;
|
|
1594
|
}
|
|
1595
|
else if (convo == 3)
|
|
1596
|
{
|
|
1597
|
text_speed = 2;
|
|
1598
|
msgsetloc(msg_max++, "All right, that's it!!", "obj_mike_attack_controller_slash_Step_0_gml_1877_0");
|
|
1599
|
main_text = 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_z;
return myblcon;
}
} ((camerax() + camerawidth()) - 32, obj_mike_battle.y - 96, 10);
|
|
1600
|
convo += 1;
|
|
1601
|
combo = true;
|
|
1602
|
}
|
|
1603
|
else if (convo == 4)
|
|
1604
|
{
|
|
1605
|
text_speed = 2;
|
|
1606
|
msgsetloc(msg_max++, "Look, I admit it!&There's more than&one Mike!!! More&than one!!!", "obj_mike_attack_controller_slash_Step_0_gml_1885_0");
|
|
1607
|
msgsetloc(msg_max++, "And now that you know,&there's no way we can&let you out of here&alive!!!", "obj_mike_attack_controller_slash_Step_0_gml_1886_0");
|
|
1608
|
main_text = 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_z;
return myblcon;
}
} (mike_small.newx - 80, mike_small.y, 10);
|
|
1609
|
with (mike_small)
|
|
1610
|
talking = true;
|
|
1611
|
convo = 0;
|
|
1612
|
combo = false;
|
|
1613
|
move_party = false;
|
|
1614
|
}
|
|
1615
|
break;
|
|
1616
|
case 17:
|
|
1617
|
if (convo == 1)
|
|
1618
|
{
|
|
1619
|
text_speed = 2;
|
|
1620
|
msgsetloc(msg_max++, "What? No, no way!!", "obj_mike_attack_controller_slash_Step_0_gml_1903_0");
|
|
1621
|
msgsetloc(msg_max++, "I mean, wait.&These ARE&our normal attacks!!", "obj_mike_attack_controller_slash_Step_0_gml_1904_0");
|
|
1622
|
main_text = 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_z;
return myblcon;
}
} (mike_small.newx - 80, mike_small.y, 10);
|
|
1623
|
with (mike_small)
|
|
1624
|
talking = true;
|
|
1625
|
convo += 1;
|
|
1626
|
}
|
|
1627
|
else if (convo == 2)
|
|
1628
|
{
|
|
1629
|
text_speed = 0.1;
|
|
1630
|
msgsetloc(msg_max++, "All right, take out&your gun, buddy!!!", "obj_mike_attack_controller_slash_Step_0_gml_1912_0");
|
|
1631
|
main_text = 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_z;
return myblcon;
}
} (mike_big.x - 64, mike_big.y + 32, 10);
|
|
1632
|
with (mike_big)
|
|
1633
|
talking = true;
|
|
1634
|
convo += 1;
|
|
1635
|
}
|
|
1636
|
else if (convo == 3)
|
|
1637
|
{
|
|
1638
|
mus_volume(global.currentsong[1], 0, 120);
|
|
1639
|
scr_screenflashscr_screenflash
function scr_screenflash(arg0)
{
var __o = instance_create(0, 0, obj_screenflash);
__o.alpha = arg0;
return __o;
} (0.25);
|
|
1640
|
snd_loop(snd_mike_ending);
|
|
1641
|
with (mike_medium)
|
|
1642
|
{
|
|
1643
|
image_speed = 0.25;
|
|
1644
|
sprite_index = spr_shadowman_reload;
|
|
1645
|
visible = false;
|
|
1646
|
repeat (8)
|
|
1647
|
instance_create(x + random_range(sprite_width / 3, -sprite_width / 3), y + random_range(sprite_height / 3, -sprite_height / 3), obj_mike_smoke);
|
|
1648
|
}
|
|
1649
|
with (mike_big)
|
|
1650
|
{
|
|
1651
|
sprite_index = spr_zapper_jump;
|
|
1652
|
image_speed = 0.5;
|
|
1653
|
repeat (8)
|
|
1654
|
{
|
|
1655
|
visible = false;
|
|
1656
|
instance_create(x + random_range(sprite_width / 3, -sprite_width / 3), y + random_range(sprite_height / 3, -sprite_height / 3), obj_mike_smoke);
|
|
1657
|
}
|
|
1658
|
}
|
|
1659
|
convo += 1;
|
|
1660
|
wave = 100;
|
|
1661
|
timer = 0;
|
|
1662
|
exit;
|
|
1663
|
}
|
|
1664
|
else if (convo == 4)
|
|
1665
|
{
|
|
1666
|
text_speed = 2;
|
|
1667
|
msgsetloc(msg_max++, "Wait, timeout, timeout!!!", "obj_mike_attack_controller_slash_Step_0_gml_1953_0");
|
|
1668
|
main_text = 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_z;
return myblcon;
}
} (mike_small.newx - 80, mike_small.y, 10);
|
|
1669
|
with (mike_small)
|
|
1670
|
talking = true;
|
|
1671
|
convo = 0;
|
|
1672
|
ending = true;
|
|
1673
|
mus_volume(global.currentsong[1], 0, 50);
|
|
1674
|
}
|
|
1675
|
break;
|
|
1676
|
}
|
|
1677
|
timer = 0;
|
|
1678
|
wave = 2;
|
|
1679
|
}
|
|
1680
|
}
|
|
1681
|
if (wave == 5)
|
|
1682
|
{
|
|
1683
|
if (obj_mike_battle.x == obj_mike_battle.newx && obj_mike_battle.action == 0)
|
|
1684
|
wave = 4;
|
|
1685
|
}
|
|
1686
|
}
|
|
1687
|
if (wave == 100)
|
|
1688
|
{
|
|
1689
|
timer += 1;
|
|
1690
|
if (timer == 5)
|
|
1691
|
{
|
|
1692
|
with (mike_small)
|
|
1693
|
{
|
|
1694
|
friction = 0.25;
|
|
1695
|
gravity = 1;
|
|
1696
|
vspeed = -6;
|
|
1697
|
hspeed = -5;
|
|
1698
|
image_xscale = -2;
|
|
1699
|
sad = true;
|
|
1700
|
}
|
|
1701
|
}
|
|
1702
|
if (timer > 120)
|
|
1703
|
{
|
|
1704
|
with (obj_mike_battle)
|
|
1705
|
visible = true;
|
|
1706
|
wave = 4;
|
|
1707
|
timer = -30;
|
|
1708
|
snd_stop(snd_mike_ending);
|
|
1709
|
with (obj_mike_smoke)
|
|
1710
|
act = 1;
|
|
1711
|
}
|
|
1712
|
}
|
|
1713
|
if (action == 16)
|
|
1714
|
{
|
|
1715
|
timer += 1;
|
|
1716
|
move_party = true;
|
|
1717
|
if (timer > 60)
|
|
1718
|
{
|
|
1719
|
timer = 0;
|
|
1720
|
phase = 3;
|
|
1721
|
action = 17;
|
|
1722
|
}
|
|
1723
|
}
|
|
1724
|
if (action == 18)
|
|
1725
|
{
|
|
1726
|
timer += 1;
|
|
1727
|
if (timer >= 30)
|
|
1728
|
{
|
|
1729
|
with (obj_mike_controller)
|
|
1730
|
battle_active = false;
|
|
1731
|
with (obj_volumebar)
|
|
1732
|
instance_destroy();
|
|
1733
|
with (obj_mike_battle)
|
|
1734
|
move = true;
|
|
1735
|
with (obj_mike_minigame_bg)
|
|
1736
|
act = 1;
|
|
1737
|
action = 19;
|
|
1738
|
finished = 1;
|
|
1739
|
mus_volume(global.batmusic[1], 0, 15);
|
|
1740
|
}
|
|
1741
|
}
|
|
1742
|
if (action == 20)
|
|
1743
|
{
|
|
1744
|
display_hits = true;
|
|
1745
|
action = 0;
|
|
1746
|
}
|
|
1747
|
if (counter == 0 && action < 14)
|
|
1748
|
{
|
|
1749
|
sound_play(snd_screenshake);
|
|
1750
|
var side = choose(cameray(), cameray() + cameraheight());
|
|
1751
|
if (instance_number(obj_mike_spike) > 0)
|
|
1752
|
side = cameray() + cameraheight();
|
|
1753
|
if (pawtype == 1)
|
|
1754
|
{
|
|
1755
|
for (i = 0; i < 3; i++)
|
|
1756
|
{
|
|
1757
|
instance_create_depth(x - 90, side, depth - 1, obj_mike_paw);
|
|
1758
|
instance_create_depth(x + 90, side, depth - 1, obj_mike_paw);
|
|
1759
|
}
|
|
1760
|
}
|
|
1761
|
else
|
|
1762
|
{
|
|
1763
|
for (i = 0; i < 5; i++)
|
|
1764
|
instance_create_depth(x, side, depth - 1, obj_mike_paw);
|
|
1765
|
}
|
|
1766
|
}
|