1 |
function scr_start_enemy_attacking_feisty_fivescr_start_enemy_attacking_feisty_fivefunction scr_start_enemy_attacking_feisty_five() //gml_Script_scr_start_enemy_attacking_feisty_five
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any)
instance_create(round(obj_dialogue_box_battle_transformation_any.bbox_left + (obj_dialogue_box_battle_transformation_any.bbox_right - obj_dialogue_box_battle_transformation_any.bbox_left) / 2), round(obj_dialogue_box_battle_transformation_any.bbox_top + (obj_dialogue_box_battle_transformation_any.bbox_bottom - obj_dialogue_box_battle_transformation_any.bbox_top) / 2), obj_heart_battle_fighting_red)
with (obj_enemy_controller_feisty_four)
{
if (global.attack_cycle == 0)
case_exec = "T0 Quote Ed"
else if (global.attack_cycle == 1)
case_exec = "T1 Vanish Ed"
else if (global.attack_cycle == 2)
case_exec = "T2 Vanish Moray"
else if (global.attack_cycle == 3)
case_exec = "T3 Quote Mooch 1"
else if (global.attack_cycle == 4)
case_exec = "T4 Appear Ed"
else if (global.attack_cycle == 5)
case_exec = "T5 Vanish Ed"
else if (global.attack_cycle == 6)
case_exec = "T6 Vanish Moray"
else if (global.attack_cycle == 7)
case_exec = "T7 Quote Mooch"
else if (global.attack_cycle == 8)
case_exec = "T8 Vanish Mooch"
else if (global.attack_cycle == 9)
{
case_exec = "T9 Vanish Moray"
event_user(0)
case_exec = "T9 Vanish Ed"
event_user(0)
}
else if (global.attack_cycle == 10)
{
case_exec = "T10 Vanish Ace"
event_user(0)
case_exec = "T10 Vanish Mooch"
event_user(0)
}
if (global.attack_cycle != 9 && global.attack_cycle != 10)
event_user(0)
}
} () //gml_Script_scr_start_enemy_attacking_feisty_five |
2 |
{ |
3 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any) |
4 |
instance_create(round(obj_dialogue_box_battle_transformation_any.bbox_left + (obj_dialogue_box_battle_transformation_any.bbox_right - obj_dialogue_box_battle_transformation_any.bbox_left) / 2), round(obj_dialogue_box_battle_transformation_any.bbox_top + (obj_dialogue_box_battle_transformation_any.bbox_bottom - obj_dialogue_box_battle_transformation_any.bbox_top) / 2), obj_heart_battle_fighting_red) |
5 |
with (obj_enemy_controller_feisty_four) |
6 |
{ |
7 |
if (global.attack_cycle == 0) |
8 |
case_exec = "T0 Quote Ed" |
9 |
else if (global.attack_cycle == 1) |
10 |
case_exec = "T1 Vanish Ed" |
11 |
else if (global.attack_cycle == 2) |
12 |
case_exec = "T2 Vanish Moray" |
13 |
else if (global.attack_cycle == 3) |
14 |
case_exec = "T3 Quote Mooch 1" |
15 |
else if (global.attack_cycle == 4) |
16 |
case_exec = "T4 Appear Ed" |
17 |
else if (global.attack_cycle == 5) |
18 |
case_exec = "T5 Vanish Ed" |
19 |
else if (global.attack_cycle == 6) |
20 |
case_exec = "T6 Vanish Moray" |
21 |
else if (global.attack_cycle == 7) |
22 |
case_exec = "T7 Quote Mooch" |
23 |
else if (global.attack_cycle == 8) |
24 |
case_exec = "T8 Vanish Mooch" |
25 |
else if (global.attack_cycle == 9) |
26 |
{ |
27 |
case_exec = "T9 Vanish Moray" |
28 |
event_user(0) |
29 |
case_exec = "T9 Vanish Ed" |
30 |
event_user(0) |
31 |
} |
32 |
else if (global.attack_cycle == 10) |
33 |
{ |
34 |
case_exec = "T10 Vanish Ace" |
35 |
event_user(0) |
36 |
case_exec = "T10 Vanish Mooch" |
37 |
event_user(0) |
38 |
} |
39 |
if (global.attack_cycle != 9 && global.attack_cycle != 10) |
40 |
event_user(0) |
41 |
} |
42 |
} |