1 |
if (blue == 1) |
2 |
blue = floor(random(2)) + 1; |
3 |
for (i = 0; i < totalbt; i += 1) |
4 |
{ |
5 |
dir = 0 + ((i * 360) / totalbt); |
6 |
xx = x + lengthdir_x(radius, dir - 90); |
7 |
yy = y + lengthdir_y(radius, dir - 90); |
8 |
loopbullet = instance_create(xx, yy, blt_loopbulletgrow); |
9 |
loopbullet.speed = speed; |
10 |
loopbullet.anglechange = 360 / (circ / speed); |
11 |
loopbullet.direction = dir; |
12 |
loopbullet.xadd = xadd; |
13 |
loopbullet.idealradius = idealradius; |
14 |
loopbullet.dmg = global.monsteratk[myself]; |
15 |
loopbullet.specialtimer = specialtimer; |
16 |
if (blue == 3) |
17 |
blue = 2; |
18 |
if (blue == 1) |
19 |
{ |
20 |
loopbullet.blue = 1; |
21 |
blue = 3; |
22 |
} |
23 |
if (blue == 2) |
24 |
blue = 1; |
25 |
} |