1 | audio_play_sound(snd_enemy_bullet_shot, 1, 0) |
2 | for (var a = 0; a < array_length_1d(bullet_number); a++) |
3 | { |
4 | for (var i = 0; i < bullet_number[a]; i++) |
5 | { |
6 | var bullet = instance_create(x, y, obj_battle_enemy_attack_ceroba_flower_spray_bullet) |
7 | var bullet_arc = (bullet_number[a] - 1) * bullet_spread / 2 |
8 | bullet.speed = bullet_speed[a] |
9 | bullet.direction = (point_direction(x, y, 320, 320)) - bullet_arc + i * bullet_spread |
10 | } |
11 | } |
12 | alarm[0] = 16 |
13 | image_xscale = 1.5 |
14 | image_yscale = 1.5 |