1 |
switch counter_current |
2 |
{ |
3 |
case 0: |
4 |
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_ceroba_diamond) |
5 |
counter_timer = 15 |
6 |
counter_current++ |
7 |
break |
8 |
case 1: |
9 |
if (counter_timer > 0) |
10 |
{ |
11 |
counter_timer-- |
12 |
return; |
13 |
} |
14 |
instance_create(320, 320, obj_battle_enemy_attack_ceroba_beam_vertical) |
15 |
counter_timer = 20 |
16 |
counter_current++ |
17 |
break |
18 |
case 2: |
19 |
if (counter_timer > 0) |
20 |
{ |
21 |
counter_timer-- |
22 |
return; |
23 |
} |
24 |
instance_create(260, 320, obj_battle_enemy_attack_ceroba_beam_vertical) |
25 |
instance_create(380, 320, obj_battle_enemy_attack_ceroba_beam_vertical) |
26 |
counter_timer = 20 |
27 |
counter_current++ |
28 |
break |
29 |
case 3: |
30 |
if (counter_timer > 0) |
31 |
{ |
32 |
counter_timer-- |
33 |
return; |
34 |
} |
35 |
instance_create(220, 320, obj_battle_enemy_attack_ceroba_beam_vertical) |
36 |
instance_create(420, 320, obj_battle_enemy_attack_ceroba_beam_vertical) |
37 |
counter_timer = 30 |
38 |
counter_current++ |
39 |
break |
40 |
case 4: |
41 |
if (counter_timer > 0) |
42 |
{ |
43 |
counter_timer-- |
44 |
return; |
45 |
} |
46 |
instance_create(320, -30, obj_battle_enemy_attack_ceroba_opener_spray_spawner) |
47 |
counter_timer = 45 |
48 |
counter_current++ |
49 |
break |
50 |
case 5: |
51 |
if (counter_timer > 0) |
52 |
{ |
53 |
counter_timer-- |
54 |
return; |
55 |
} |
56 |
instance_create(320, (obj_dialogue_box_battle_transformation_any.bbox_bottom - 28), obj_battle_enemy_attack_ceroba_beam_horizontal) |
57 |
counter_timer = 15 |
58 |
counter_current++ |
59 |
break |
60 |
case 6: |
61 |
if instance_exists(obj_battle_enemy_attack_ceroba_opener_spray_spawner) |
62 |
return; |
63 |
if (counter_timer > 0) |
64 |
{ |
65 |
counter_timer-- |
66 |
return; |
67 |
} |
68 |
var explosion = instance_create(320, (obj_dialogue_box_battle_transformation_any.bbox_bottom + 60), obj_battle_enemy_attack_ceroba_flower_exploding) |
69 |
with (explosion) |
70 |
ring_object = 2727 |
71 |
counter_timer = 30 |
72 |
counter_current++ |
73 |
break |
74 |
case 7: |
75 |
if (counter_timer > 0) |
76 |
{ |
77 |
counter_timer-- |
78 |
return; |
79 |
} |
80 |
instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_ceroba_diamond) |
81 |
counter_timer = 35 |
82 |
counter_current++ |
83 |
break |
84 |
case 8: |
85 |
if (counter_timer > 0) |
86 |
{ |
87 |
counter_timer-- |
88 |
return; |
89 |
} |
90 |
instance_create(obj_heart_battle_fighting_parent.x, 320, obj_battle_enemy_attack_ceroba_beam_vertical) |
91 |
instance_create(320, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_ceroba_beam_horizontal) |
92 |
counter_timer = 45 |
93 |
counter_current++ |
94 |
break |
95 |
case 9: |
96 |
if (counter_timer > 0) |
97 |
{ |
98 |
counter_timer-- |
99 |
return; |
100 |
} |
101 |
instance_destroy() |
102 |
return; |
103 |
} |