|
1
|
timer++;
|
|
2
|
var jp = variable_global_exists("lang") && global.lang == "ja";
|
|
3
|
with (linked_block)
|
|
4
|
{
|
|
5
|
x = other.x;
|
|
6
|
y = other.y;
|
|
7
|
}
|
|
8
|
if (timer == -20 && squish != 1)
|
|
9
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("squish", 0, 1, 15, -1, "out");
|
|
10
|
if (timer == 1)
|
|
11
|
{
|
|
12
|
if (obj_heart.sprite_index != spr_dodgeheart_long)
|
|
13
|
{
|
|
14
|
if (obj_growtangle.sprite_index == spr_ghost_house_yourtutu)
|
|
15
|
{
|
|
16
|
if (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat)
|
|
17
|
{
|
|
18
|
with (instance_create(camerax() + 160, cameray() + 15, obj_takingtoolong_short))
|
|
19
|
tutu = 1;
|
|
20
|
if (jp)
|
|
21
|
snd_play_volume(snd_tutu_fast_jp, 0.8);
|
|
22
|
else
|
|
23
|
snd_play_volume(snd_tutu_fast, 0.8);
|
|
24
|
timer = 60;
|
|
25
|
}
|
|
26
|
else
|
|
27
|
{
|
|
28
|
with (instance_create(camerax() + 160 + (4 * jp), cameray() + 15, obj_takingtoolong))
|
|
29
|
tutu = 1;
|
|
30
|
if (jp)
|
|
31
|
snd_play_volume(snd_taking_tutu_jp, 0.8);
|
|
32
|
else
|
|
33
|
snd_play_volume(snd_taking_tutu, 0.8);
|
|
34
|
}
|
|
35
|
}
|
|
36
|
else if (polite != 0)
|
|
37
|
{
|
|
38
|
if (abs(polite > 1) && (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat))
|
|
39
|
{
|
|
40
|
if (jp)
|
|
41
|
snd_play_volume(snd_taking_too_long_fast_jp, 0.8);
|
|
42
|
else
|
|
43
|
snd_play_volume(snd_taking_too_long_fast, 0.8);
|
|
44
|
with (instance_create(camerax() + 160, cameray() + 24, obj_takingtoolong))
|
|
45
|
text_speed = 2.5;
|
|
46
|
timer = 65 - (10 * polite);
|
|
47
|
}
|
|
48
|
else
|
|
49
|
{
|
|
50
|
if (polite == 1)
|
|
51
|
{
|
|
52
|
if (jp)
|
|
53
|
mysnd = snd_play_volume(snd_alt_takingtoolong_jp, 0.8);
|
|
54
|
else
|
|
55
|
mysnd = snd_play_volume(snd_alt_takingtoolong, 0.8);
|
|
56
|
}
|
|
57
|
else if (jp)
|
|
58
|
{
|
|
59
|
snd_play_volume(snd_takingtoolongtoolong_jp, 0.8);
|
|
60
|
}
|
|
61
|
else
|
|
62
|
{
|
|
63
|
snd_play_volume(snd_takingtoolongtoolong, 0.8);
|
|
64
|
}
|
|
65
|
with (instance_create(camerax() + 160 + (18 * jp), cameray() + 24, obj_takingtoolong))
|
|
66
|
{
|
|
67
|
polite = other.polite;
|
|
68
|
if (other.polite < 0)
|
|
69
|
polite = 2;
|
|
70
|
}
|
|
71
|
}
|
|
72
|
}
|
|
73
|
else if (small)
|
|
74
|
{
|
|
75
|
with (instance_create_depth(camerax() + 460, cameray() + 50, -1000, obj_takingtoolong))
|
|
76
|
{
|
|
77
|
small = true;
|
|
78
|
snd_play(snd_small_jackolantern_appear);
|
|
79
|
}
|
|
80
|
}
|
|
81
|
else if (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat)
|
|
82
|
{
|
|
83
|
if (jp)
|
|
84
|
snd_play_volume(snd_taking_too_long_fast_jp, 0.8);
|
|
85
|
else
|
|
86
|
snd_play_volume(snd_taking_too_long_fast, 0.8);
|
|
87
|
with (instance_create(camerax() + 160, cameray() + 24, obj_takingtoolong))
|
|
88
|
text_speed = 2.5;
|
|
89
|
timer = 60;
|
|
90
|
}
|
|
91
|
else
|
|
92
|
{
|
|
93
|
if (jp)
|
|
94
|
snd_play_volume(snd_taking_too_long_jp, 0.8);
|
|
95
|
else
|
|
96
|
snd_play_volume(snd_taking_too_long, 0.8);
|
|
97
|
instance_create(camerax() + 160 + (18 * jp), cameray() + 24, obj_takingtoolong);
|
|
98
|
}
|
|
99
|
}
|
|
100
|
else if (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat)
|
|
101
|
{
|
|
102
|
with (instance_create(x - 145, y + 80, obj_yourlong))
|
|
103
|
alt = true;
|
|
104
|
if (jp)
|
|
105
|
snd_play(snd_long_only_jp);
|
|
106
|
else
|
|
107
|
snd_play(snd_long_only);
|
|
108
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_xscale", 1, 3, 10, -2, "out");
|
|
109
|
timer = 60;
|
|
110
|
}
|
|
111
|
else
|
|
112
|
{
|
|
113
|
instance_create(x - 145, y + 80, obj_yourlong);
|
|
114
|
if (jp)
|
|
115
|
snd_play(snd_your_long_jp);
|
|
116
|
else
|
|
117
|
snd_play(snd_your_long);
|
|
118
|
}
|
|
119
|
}
|
|
120
|
if (timer == 10 && polite == 1 && (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat))
|
|
121
|
{
|
|
122
|
sound_stop(mysnd);
|
|
123
|
with (obj_takingtoolong)
|
|
124
|
instance_destroy();
|
|
125
|
with (instance_create_depth(obj_dbulletcontroller.pumpkin_x, obj_dbulletcontroller.pumpkin_y, depth, obj_ghosthouse_jackolantern))
|
|
126
|
politer = true;
|
|
127
|
with (obj_ghosthouse_trigger)
|
|
128
|
instance_destroy();
|
|
129
|
explosion = instance_create(x, y, obj_animation);
|
|
130
|
explosion.image_xscale = 2;
|
|
131
|
explosion.image_yscale = 2;
|
|
132
|
snd_play(snd_badexplosion);
|
|
133
|
explosion.sprite_index = spr_realisticexplosion;
|
|
134
|
instance_destroy();
|
|
135
|
}
|
|
136
|
if (timer > 70)
|
|
137
|
{
|
|
138
|
with (obj_battlesolid)
|
|
139
|
{
|
|
140
|
if (sprite_index == spr_ghost_house_the_chimney)
|
|
141
|
image_angle += 1;
|
|
142
|
}
|
|
143
|
}
|
|
144
|
if (timer == 30)
|
|
145
|
{
|
|
146
|
if (obj_heart.sprite_index == spr_dodgeheart_long)
|
|
147
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_xscale", 1, 3, 10, -2, "out");
|
|
148
|
}
|
|
149
|
if (small && timer == 45 && (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat))
|
|
150
|
timer = 175;
|
|
151
|
if (small && timer == 130)
|
|
152
|
{
|
|
153
|
if (jp)
|
|
154
|
snd_play_volume(snd_taking_too_long_small_jp, 0.8);
|
|
155
|
else
|
|
156
|
snd_play_volume(snd_taking_too_long_small, 0.8);
|
|
157
|
}
|
|
158
|
if (small && timer == 18 && (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat))
|
|
159
|
{
|
|
160
|
if (jp)
|
|
161
|
snd_play(snd_taking_too_long_small_fast_jp);
|
|
162
|
else
|
|
163
|
snd_play(snd_taking_too_long_small_fast);
|
|
164
|
}
|
|
165
|
if (timer == ((75 + (115 * small) + (30 * (abs(polite) > 1 && !politer))) - (10 * (polite == 1))) && tutu < 2)
|
|
166
|
{
|
|
167
|
if (small)
|
|
168
|
snd_play(snd_jackolantern_laugh_small);
|
|
169
|
else if (polite != 1)
|
|
170
|
snd_play(snd_jackolantern_laugh);
|
|
171
|
image_speed = 0.5;
|
|
172
|
alarm[0] = 70; gml_Object_obj_ghosthouse_jackolantern_Alarm_0.gml
exit;
|
|
173
|
if (obj_growtangle.sprite_index == spr_ghost_house_yourtutu || small)
|
|
174
|
obj_heart.wspeed = global.sp * (2/3);
|
|
175
|
else
|
|
176
|
obj_heart.wspeed = global.sp / (1 + (2 * other.polite));
|
|
177
|
if (!instance_exists(obj_jackenstein_enemy) || !obj_jackenstein_enemy.scaredycat)
|
|
178
|
{
|
|
179
|
with (obj_gh_fireball_bouncy)
|
|
180
|
{
|
|
181
|
hspeed = store_hspd * (1 + (0.5 * !(other.polite || other.small)));
|
|
182
|
vspeed = store_vspd * (1 + (0.5 * !(other.polite || other.small)));
|
|
183
|
image_speed = store_image * (1 + (0.5 * !(other.polite || other.small)));
|
|
184
|
active = true;
|
|
185
|
}
|
|
186
|
with (obj_gh_fireball_linear)
|
|
187
|
{
|
|
188
|
rate = base_rate * (1 + (0.5 * !(other.polite || other.small)));
|
|
189
|
active = true;
|
|
190
|
}
|
|
191
|
with (obj_gh_fireball_mobius)
|
|
192
|
{
|
|
193
|
rate = base_rate * (1 + (0.5 * !(other.polite || other.small)));
|
|
194
|
active = true;
|
|
195
|
}
|
|
196
|
with (obj_gh_fireball_hop)
|
|
197
|
{
|
|
198
|
rate = base_rate * (1 + (0.5 * !(other.polite || other.small)));
|
|
199
|
active = true;
|
|
200
|
}
|
|
201
|
with (obj_gh_fireball_square)
|
|
202
|
{
|
|
203
|
path_speed = 1 + (0.25 * !(other.polite || other.small));
|
|
204
|
active = true;
|
|
205
|
}
|
|
206
|
}
|
|
207
|
with (obj_ghosthouse_jackolantern)
|
|
208
|
{
|
|
209
|
if (id != other.id)
|
|
210
|
{
|
|
211
|
path_speed = store_speed;
|
|
212
|
pause = false;
|
|
213
|
other.polite = -3.75;
|
|
214
|
}
|
|
215
|
}
|
|
216
|
if (polite < 0)
|
|
217
|
obj_heart.wspeed = global.sp * 1.25;
|
|
218
|
if (politer)
|
|
219
|
polite = -2.8;
|
|
220
|
if (polite)
|
|
221
|
{
|
|
222
|
with (obj_battlesolid)
|
|
223
|
{
|
|
224
|
if (mask_index == spr_no_mask)
|
|
225
|
image_blend = merge_color(merge_color(c_green, c_lime, 0.5), c_black, 0.6);
|
|
226
|
else
|
|
227
|
image_blend = merge_color(c_green, c_lime, 0.5);
|
|
228
|
}
|
|
229
|
}
|
|
230
|
else
|
|
231
|
{
|
|
232
|
with (obj_battlesolid)
|
|
233
|
{
|
|
234
|
if (mask_index == spr_no_mask && sprite_index != spr_ghost_house_yourtutu_inner)
|
|
235
|
image_blend = merge_color(c_red, c_black, 0.6);
|
|
236
|
else
|
|
237
|
image_blend = c_red;
|
|
238
|
}
|
|
239
|
with (obj_gh_bouncebarrier)
|
|
240
|
image_blend = merge_color(c_red, c_black, 0.6);
|
|
241
|
}
|
|
242
|
if (obj_growtangle.sprite_index == spr_ghost_house_chimney)
|
|
243
|
{
|
|
244
|
with (obj_lightsource_battle)
|
|
245
|
{
|
|
246
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, obj_growtangle.x - 110, 30, -1, "out");
|
|
247
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("y", y, obj_growtangle.y - 108, 42, -1, "out");
|
|
248
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("radius", radius, radius + 16, 24, 3, "out");
|
|
249
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("radius_2", radius_2, radius_2 + 8, 24, 3, "out");
|
|
250
|
}
|
|
251
|
with (instance_create_depth(obj_growtangle.x - 108, obj_growtangle.y - 90, obj_darkness_overlay.depth - 1, obj_gh_exitsign))
|
|
252
|
{
|
|
253
|
image_angle = 90;
|
|
254
|
visible = true;
|
|
255
|
image_xscale = 2;
|
|
256
|
image_yscale = 2;
|
|
257
|
}
|
|
258
|
}
|
|
259
|
with (obj_battlesolid)
|
|
260
|
{
|
|
261
|
if (sprite_index == spr_ghost_house_the_chimney)
|
|
262
|
{
|
|
263
|
scr_doomscr_doom
function scr_doom(arg0 = id, arg1)
{
with (instance_create_depth(0, 0, 0, obj_doom))
{
alarm[0]
target = arg0;
persistent = arg0.persistent;
}
} (id, 75);
|
|
264
|
gravity = 0.1;
|
|
265
|
mask_index = spr_no_mask;
|
|
266
|
}
|
|
267
|
}
|
|
268
|
if (small)
|
|
269
|
instance_create(x, y, obj_gh_pumpkinspawner);
|
|
270
|
else if (!move_directly)
|
|
271
|
path_start(path, 1 + (0.2 * (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat)), path_action_stop, true);
|
|
272
|
}
|
|
273
|
if (timer > (75 + (110 * small)) && tutu < 2 && !fully_aggro && polite != 2)
|
|
274
|
{
|
|
275
|
if (move_directly)
|
|
276
|
{
|
|
277
|
x += lengthdir_x(direct_spd, direct_dir);
|
|
278
|
y += lengthdir_y(direct_spd, direct_dir);
|
|
279
|
direct_spd = scr_approach_curvescr_approach_curve
function scr_approach_curve(arg0, arg1, arg2, arg3 = 0.1)
{
return scr_approach(arg0, arg1, max(arg3, abs(arg1 - arg0) / arg2));
} (direct_spd, 3, 52 + adjust_delay);
|
|
280
|
if (abs(angle_difference(direct_dir, scr_at_playerscr_at_player
function scr_at_player(arg0 = x, arg1 = y)
{
return point_direction(arg0, arg1, obj_heart.x + (obj_heart.sprite_width / 2), obj_heart.y + (obj_heart.sprite_height / 2));
} (x, y))) > 60 || direct_adjust)
|
|
281
|
{
|
|
282
|
if (direct_adjust > 0)
|
|
283
|
{
|
|
284
|
direct_adjust--;
|
|
285
|
}
|
|
286
|
else
|
|
287
|
{
|
|
288
|
direct_adjust = ceil(adjust_delay);
|
|
289
|
adjust_delay *= 0.9;
|
|
290
|
}
|
|
291
|
direct_spd = 0.99;
|
|
292
|
if (direct_adjust > 0)
|
|
293
|
direct_dir += (angle_difference(scr_at_playerscr_at_player
function scr_at_player(arg0 = x, arg1 = y)
{
return point_direction(arg0, arg1, obj_heart.x + (obj_heart.sprite_width / 2), obj_heart.y + (obj_heart.sprite_height / 2));
} (x, y), direct_dir) / direct_adjust);
|
|
294
|
}
|
|
295
|
}
|
|
296
|
else
|
|
297
|
{
|
|
298
|
if (!pause && !(polite && place_meeting(x, y, obj_heart)))
|
|
299
|
path_speed = scr_approach_curvescr_approach_curve
function scr_approach_curve(arg0, arg1, arg2, arg3 = 0.1)
{
return scr_approach(arg0, arg1, max(arg3, abs(arg1 - arg0) / arg2));
} (path_speed, 3.5 - (2 * polite), 30 + (40 * power(path_speed, 0.8)) + (10 * polite));
|
|
300
|
if (point_distance(x, y, path_get_point_x(path, point_reached), path_get_point_y(path, point_reached)) < path_speed && polite >= 0 && obj_growtangle.sprite_index != spr_ghost_house_yourtutu)
|
|
301
|
{
|
|
302
|
point_reached++;
|
|
303
|
path_speed = sqrt(path_speed);
|
|
304
|
}
|
|
305
|
}
|
|
306
|
if (tutu != 1 && obj_growtangle.sprite_index == spr_ghost_house_yourtutu && x > (obj_heart.x - 24) && obj_heart.y < (obj_growtangle.y + 40))
|
|
307
|
event_user(0);
|
|
308
|
}
|
|
309
|
if (fully_aggro)
|
|
310
|
{
|
|
311
|
friction = 0.65 + (0.25 * hits);
|
|
312
|
if (point_distance(x, y, obj_heart.x + 5, obj_heart.y + 5) > 30 || speed < 5)
|
|
313
|
{
|
|
314
|
direction = (scr_at_playerscr_at_player
function scr_at_player(arg0 = x, arg1 = y)
{
return point_direction(arg0, arg1, obj_heart.x + (obj_heart.sprite_width / 2), obj_heart.y + (obj_heart.sprite_height / 2));
} (x, y) - 15) + random(30);
|
|
315
|
speed = 13 + (4 * hits);
|
|
316
|
if (speed_scale && hits == 0 && point_distance(x, y, obj_heart.x + 5, obj_heart.y + 5) < 240)
|
|
317
|
speed -= logn(3, 240 - point_distance(x, y, obj_heart.x + 5, obj_heart.y + 5));
|
|
318
|
}
|
|
319
|
}
|
|
320
|
if (tutu == 2)
|
|
321
|
{
|
|
322
|
if (timer == 180)
|
|
323
|
{
|
|
324
|
depth = obj_heart.depth - 2;
|
|
325
|
image_index = 1;
|
|
326
|
draw_hand = 1;
|
|
327
|
with (obj_your_tutu)
|
|
328
|
{
|
|
329
|
x = other.x + 6;
|
|
330
|
y = other.y + 10;
|
|
331
|
visible = true;
|
|
332
|
depth = obj_heart.depth - 1;
|
|
333
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, obj_heart.x + 1, 30, 1, "out");
|
|
334
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("y", y, obj_heart.y - 10, 30, 1, "out");
|
|
335
|
}
|
|
336
|
}
|
|
337
|
if (timer == 211)
|
|
338
|
{
|
|
339
|
with (obj_your_tutu)
|
|
340
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("y", y, obj_heart.y + 5, 25, 1, "out");
|
|
341
|
}
|
|
342
|
if (timer == 240)
|
|
343
|
{
|
|
344
|
with (instance_create(camerax() + 160, cameray() + 12, obj_takingtoolong))
|
|
345
|
tutu = 2;
|
|
346
|
if (jp)
|
|
347
|
sound_play(snd_your_tutu_jp);
|
|
348
|
else
|
|
349
|
sound_play(snd_your_tutu);
|
|
350
|
with (obj_your_tutu)
|
|
351
|
attached = true;
|
|
352
|
draw_hand = 2;
|
|
353
|
image_index = 2;
|
|
354
|
with (obj_battlesolid)
|
|
355
|
image_blend = merge_color(c_green, c_lime, 0.5);
|
|
356
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("hand_x", hand_x, x, 15, 1, "out");
|
|
357
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("hand_y", hand_y, y + 20, 15, 1, "out");
|
|
358
|
}
|
|
359
|
if (timer == 335)
|
|
360
|
{
|
|
361
|
depth = obj_heart.depth + 1;
|
|
362
|
hspeed = 3.75 * sign(x - obj_heart.x);
|
|
363
|
draw_hand = false;
|
|
364
|
image_xscale = -1;
|
|
365
|
var _flip = sign(y - (obj_growtangle.y + 80));
|
|
366
|
with (instance_create(obj_heart.x - (32 * _flip), obj_growtangle.y + 76 + (20 * _flip), obj_ghosthouse_trigger))
|
|
367
|
{
|
|
368
|
sprite_index = spr_solid_bar;
|
|
369
|
tutu = 3;
|
|
370
|
image_xscale = -3 * _flip;
|
|
371
|
image_yscale = 5;
|
|
372
|
visible = false;
|
|
373
|
}
|
|
374
|
with (instance_create(clamp(obj_heart.x + 150, obj_ghosthouse_lock.x - 65, obj_ghosthouse_lock.x + 15), obj_ghosthouse_lock.y, obj_ghosthouse_trigger))
|
|
375
|
{
|
|
376
|
tutu = 3;
|
|
377
|
image_xscale = 4;
|
|
378
|
image_yscale = 4;
|
|
379
|
sprite_index = spr_solid_bar_end;
|
|
380
|
visible = false;
|
|
381
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, obj_ghosthouse_lock.x - 65, 150);
|
|
382
|
}
|
|
383
|
}
|
|
384
|
if (timer == 350)
|
|
385
|
{
|
|
386
|
obj_heart.wspeed = global.sp / 2;
|
|
387
|
if (i_ex(obj_jackenstein_enemy) && obj_jackenstein_enemy.scaredycat)
|
|
388
|
obj_jackenstein_enemy.scaredycat = scaredy;
|
|
389
|
}
|
|
390
|
}
|