1 | if (global.turntimer > 8) |
2 | { |
3 | xset = floor(random(3)); |
4 | if (xset == xsetmem) |
5 | xset += 1; |
6 | if (xset == 3) |
7 | xset = 0; |
8 | xsetmem = xset; |
9 | g = instance_create(obj_lborder.x + (xset * 23), obj_dborder.y, obj_risespearbullet); |
10 | g.type = offchoice; |
11 | alarm[0] = global.firingrate; |
12 | } |