1 | function scr_enemy_attack_dalv_lightning_bolt |
2 | { |
3 | global.attack_counter_max = 0 |
4 | if (global.attack_counter == 0 && global.timer_attacks_counter < 6) |
5 | { |
6 | if (global.timer_attacks_counter < 5) |
7 | instance_create((obj_dalv_body.x - 68), (obj_dalv_body.y - 76), obj_battle_enemy_attack_dalv_lightning_bolt) |
8 | else |
9 | { |
10 | with (obj_dalv_body) |
11 | cloak_direction = 2 |
12 | } |
13 | global.timer_attacks_counter += 1 |
14 | } |
15 | } |