|
1
|
image_index = floor(image_index);
|
|
2
|
var pips = image_index / 4;
|
|
3
|
if (sprite_index == spr_bullet_dice_all4s)
|
|
4
|
pips = 3;
|
|
5
|
event_user(0);
|
|
6
|
with (instance_create(x, y, obj_regularbullet))
|
|
7
|
{
|
|
8
|
image_blend = c_gray;
|
|
9
|
sprite_index = other.sprite_index;
|
|
10
|
image_xscale = other.image_xscale;
|
|
11
|
image_yscale = other.image_yscale;
|
|
12
|
image_angle = other.image_angle;
|
|
13
|
image_index = other.image_index;
|
|
14
|
image_blend = other.image_blend;
|
|
15
|
image_speed = 0;
|
|
16
|
mask_index = spr_nothing;
|
|
17
|
active = false;
|
|
18
|
grazed = true;
|
|
19
|
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", image_xscale, 3, 5);
|
|
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;
} ("image_yscale", image_yscale, 3, 5);
|
|
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;
} ("image_alpha", image_yscale, 0, 5);
|
|
22
|
}
|
|
23
|
bullet = instance_create(x, y, obj_bullet_dice_shockwave);
|
|
24
|
bullet.target = target;
|
|
25
|
bullet.damage = 44;
|
|
26
|
bullet.grazepoints = 4;
|
|
27
|
bullet.count = 0;
|
|
28
|
bullet.image_xscale = 1.5;
|
|
29
|
bullet.image_yscale = 1.5;
|
|
30
|
if (pips >= 3 || (sprite_index == spr_bullet_dice && image_index >= 8) || (sprite_index == spr_bullet_dice4pip && image_index >= 8))
|
|
31
|
{
|
|
32
|
bullet.image_xscale = 2;
|
|
33
|
bullet.image_yscale = 2;
|
|
34
|
}
|