1 |
if (init == 0) |
2 |
{ |
3 |
for (iy = 0; iy < 3; iy++) |
4 |
{ |
5 |
for (ix = 0; ix < 4; ix++) |
6 |
{ |
7 |
d = scr_bullet_createscr_bullet_createfunction scr_bullet_create(arg0, arg1, arg2)
{
var __newbullet = instance_create(arg0, arg1, arg2);
__newbullet.damage = damage;
__newbullet.target = target;
if (variable_instance_exists(self, "element"))
__newbullet.element = element;
return __newbullet;
} (x, y, obj_berdlyb_chirashibullet); |
8 |
xx = originx + (ix * 40) + (iy * 20) + irandom(35); |
9 |
yy = originy + (iy * 40) + irandom(35); |
10 |
d.___myrememberx = xx; |
11 |
d.___myremembery = yy; |
12 |
d.fireoffset += (ix + (3 - iy)) * 5; |
13 |
d.difficulty = difficulty; |
14 |
d.grazepoints = grazepoints; |
15 |
d.timer = round(angle_difference(135, point_direction(x, y, xx, yy)) / 10); |
16 |
if (!first_set) |
17 |
d.image_blend = c_gray; |
18 |
} |
19 |
} |
20 |
init = 1; |
21 |
} |