|
1
|
function scr_enemy_attack_crispy_slash_drawing_crispy_scrollscr_enemy_attack_crispy_slash_drawing_crispy_scroll
function scr_enemy_attack_crispy_slash_drawing_crispy_scroll()
{
global.attack_counter_max = 40;
if (global.attack_counter == 0 && global.timer_attacks_counter < 6)
{
if (global.timer_attacks_counter == 0)
{
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_1);
}
else if (global.timer_attacks_counter == 1)
{
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_2);
}
else if (global.timer_attacks_counter == 2)
{
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_1);
}
else if (global.timer_attacks_counter == 3)
{
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_2);
}
else if (global.timer_attacks_counter == 4)
{
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_1);
}
else if (global.timer_attacks_counter == 5)
{
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_3);
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_4);
}
global.timer_attacks_counter += 1;
}
} ()
|
|
2
|
{
|
|
3
|
global.attack_counter_max = 40;
|
|
4
|
if (global.attack_counter == 0 && global.timer_attacks_counter < 6)
|
|
5
|
{
|
|
6
|
if (global.timer_attacks_counter == 0)
|
|
7
|
{
|
|
8
|
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_1);
|
|
9
|
}
|
|
10
|
else if (global.timer_attacks_counter == 1)
|
|
11
|
{
|
|
12
|
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_2);
|
|
13
|
}
|
|
14
|
else if (global.timer_attacks_counter == 2)
|
|
15
|
{
|
|
16
|
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_1);
|
|
17
|
}
|
|
18
|
else if (global.timer_attacks_counter == 3)
|
|
19
|
{
|
|
20
|
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_2);
|
|
21
|
}
|
|
22
|
else if (global.timer_attacks_counter == 4)
|
|
23
|
{
|
|
24
|
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_1);
|
|
25
|
}
|
|
26
|
else if (global.timer_attacks_counter == 5)
|
|
27
|
{
|
|
28
|
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_3);
|
|
29
|
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_crispy_slash_warning_4);
|
|
30
|
}
|
|
31
|
global.timer_attacks_counter += 1;
|
|
32
|
}
|
|
33
|
}
|