|
1
|
with (scr_afterimage_growscr_afterimage_grow
function scr_afterimage_grow()
{
afterimage = instance_create(x, y, obj_afterimage_grow);
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_blend = image_blend;
afterimage.image_speed = 0;
afterimage.depth = depth;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
afterimage.image_alpha = image_alpha;
return afterimage;
} ())
|
|
2
|
{
|
|
3
|
sprite_index = spr_darkshape_blast_impact;
|
|
4
|
image_xscale = 0.75;
|
|
5
|
image_yscale = 0.75;
|
|
6
|
fade = 0;
|
|
7
|
xrate = -0.075;
|
|
8
|
yrate = -0.075;
|
|
9
|
}
|
|
10
|
instance_destroy();
|
|
11
|
with (instance_create(x, y, obj_darkshape_blast))
|
|
12
|
{
|
|
13
|
hx = other.hx + 200 + irandom_range(-50, 50);
|
|
14
|
hy = (other.hy - 75) + irandom_range(-50, 50);
|
|
15
|
direction = point_direction(x, y, hx, hy) + random_range(178, 182);
|
|
16
|
image_angle = direction;
|
|
17
|
image_yscale = 0.5;
|
|
18
|
image_speed = 0;
|
|
19
|
snd_play(snd_heartshot_dr_b);
|
|
20
|
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;
} ("spd", 30, 2, 6, 0, "in");
|
|
21
|
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;
} ("sparksize", 0, 0.4, 12, 0, "in");
|
|
22
|
scr_script_delayedscr_script_delayed
function scr_script_delayed()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed);
__scriptdelay.script = argument[0];
__scriptdelay.alarm[0] = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
} (scr_lerpvar, 12, "spd", 2, 30, 12, 0, "out");
|
|
23
|
}
|