|
1
|
function scr_start_enemy_attacking_feisty_fivescr_start_enemy_attacking_feisty_five
function 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);
}
} ()
|
|
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
|
{
|
|
9
|
case_exec = "T0 Quote Ed";
|
|
10
|
}
|
|
11
|
else if (global.attack_cycle == 1)
|
|
12
|
{
|
|
13
|
case_exec = "T1 Vanish Ed";
|
|
14
|
}
|
|
15
|
else if (global.attack_cycle == 2)
|
|
16
|
{
|
|
17
|
case_exec = "T2 Vanish Moray";
|
|
18
|
}
|
|
19
|
else if (global.attack_cycle == 3)
|
|
20
|
{
|
|
21
|
case_exec = "T3 Quote Mooch 1";
|
|
22
|
}
|
|
23
|
else if (global.attack_cycle == 4)
|
|
24
|
{
|
|
25
|
case_exec = "T4 Appear Ed";
|
|
26
|
}
|
|
27
|
else if (global.attack_cycle == 5)
|
|
28
|
{
|
|
29
|
case_exec = "T5 Vanish Ed";
|
|
30
|
}
|
|
31
|
else if (global.attack_cycle == 6)
|
|
32
|
{
|
|
33
|
case_exec = "T6 Vanish Moray";
|
|
34
|
}
|
|
35
|
else if (global.attack_cycle == 7)
|
|
36
|
{
|
|
37
|
case_exec = "T7 Quote Mooch";
|
|
38
|
}
|
|
39
|
else if (global.attack_cycle == 8)
|
|
40
|
{
|
|
41
|
case_exec = "T8 Vanish Mooch";
|
|
42
|
}
|
|
43
|
else if (global.attack_cycle == 9)
|
|
44
|
{
|
|
45
|
case_exec = "T9 Vanish Moray";
|
|
46
|
event_user(0);
|
|
47
|
case_exec = "T9 Vanish Ed";
|
|
48
|
event_user(0);
|
|
49
|
}
|
|
50
|
else if (global.attack_cycle == 10)
|
|
51
|
{
|
|
52
|
case_exec = "T10 Vanish Ace";
|
|
53
|
event_user(0);
|
|
54
|
case_exec = "T10 Vanish Mooch";
|
|
55
|
event_user(0);
|
|
56
|
}
|
|
57
|
if (global.attack_cycle != 9 && global.attack_cycle != 10)
|
|
58
|
event_user(0);
|
|
59
|
}
|
|
60
|
}
|