1 | var a = choose(0, 1); |
2 | if (forcedir == 1) |
3 | a = 1; |
4 | if (forcedir == -1) |
5 | a = 0; |
6 | if (a == 0) |
7 | { |
8 | with (instance_nearest(x - 200, y, obj_musicenemy_boombox)) |
9 | { |
10 | angleoffset = random(25); |
11 | makebullet = 2; |
12 | } |
13 | } |
14 | if (a == 1) |
15 | { |
16 | with (instance_nearest(x + 200, y, obj_musicenemy_boombox)) |
17 | { |
18 | angleoffset = random(25) * -1; |
19 | makebullet = 2; |
20 | } |
21 | } |