1 | if (live_call()) |
2 | return global.live_result; |
3 | var flower_count = 5; |
4 | spawn_interval -= 1; |
5 | if (spawn_interval <= 0 && y > 0 && y < room_height) |
6 | { |
7 | for (var i = 0; i < flower_count; i++) |
8 | { |
9 | var bullet = instance_create_depth(x, y, depth - 1, obj_battle_enemy_attack_flowey_spiral_attack_10); |
10 | bullet.move_spd = 5; |
11 | bullet.spawner = id; |
12 | bullet.direction = ((i + 1) * (360 / flower_count)) + spawn_dir; |
13 | spawn_dir += spawn_dir_inc; |
14 | } |
15 | spawn_interval = spawn_interval_max; |
16 | } |