1 |
function scr_start_enemy_attacking_trihecta_separatedscr_start_enemy_attacking_trihecta_separatedfunction scr_start_enemy_attacking_trihecta_separated() //gml_Script_scr_start_enemy_attacking_trihecta_separated
{
instance_create(319, 320, obj_dialogue_box_battle_transformation_any)
var battle_menu_number = global.battle_menu_number
var fight_number = global.fight_number
var act_number = global.act_number
var enemy_dead = global.enemy_dead
var enemy_dead_2 = global.enemy_dead_2
var enemy_dead_3 = global.enemy_dead_3
var enemy_spared = global.enemy_spared
var enemy_spared_2 = global.enemy_spared_2
var enemy_spared_3 = global.enemy_spared_3
end_loop = false
if (battle_menu_number == 1)
{
if (fight_number == 1)
{
if (enemy_dead == false && enemy_spared == false)
{
instance_create(232, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_tri)
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)
}
else
{
var random_number = irandom_range(1, 2)
if (random_number == 1)
{
if (enemy_dead_2 == false && enemy_spared_2 == false)
{
instance_create(122, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_hec)
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)
}
else if (enemy_dead_3 == false && enemy_spared_3 == false)
{
instance_create(346, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_ta)
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)
}
}
else if (random_number == 2)
{
if (enemy_dead_3 == false && enemy_spared_3 == false)
{
instance_create(346, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_ta)
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)
}
else if (enemy_dead_2 == false && enemy_spared_2 == false)
{
instance_create(122, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_hec)
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)
}
}
}
}
else if (fight_number == 2)
{
if (enemy_dead_2 == false && enemy_spared_2 == false)
{
instance_create(122, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_hec)
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)
}
else
{
random_number = irandom_range(1, 2)
if (random_number == 1)
{
if (enemy_dead == false && enemy_spared == false)
{
instance_create(232, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_tri)
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)
}
else if (enemy_dead_3 == false && enemy_spared_3 == false)
{
instance_create(346, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_ta)
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)
}
}
else if (random_number == 2)
{
if (enemy_dead_3 == false && enemy_spared_3 == false)
{
instance_create(346, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_ta)
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)
}
else if (enemy_dead == false && enemy_spared == false)
{
instance_create(232, 42, obj_quote_bubble_battle_6)
instance_create(0, 0, obj_quote_battle_tri)
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)
}
}
}
}
... () //gml_Script_scr_start_enemy_attacking_trihecta_separated |
2 |
{ |
3 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_any) |
4 |
var battle_menu_number = global.battle_menu_number |
5 |
var fight_number = global.fight_number |
6 |
var act_number = global.act_number |
7 |
var enemy_dead = global.enemy_dead |
8 |
var enemy_dead_2 = global.enemy_dead_2 |
9 |
var enemy_dead_3 = global.enemy_dead_3 |
10 |
var enemy_spared = global.enemy_spared |
11 |
var enemy_spared_2 = global.enemy_spared_2 |
12 |
var enemy_spared_3 = global.enemy_spared_3 |
13 |
end_loop = false |
14 |
if (battle_menu_number == 1) |
15 |
{ |
16 |
if (fight_number == 1) |
17 |
{ |
18 |
if (enemy_dead == false && enemy_spared == false) |
19 |
{ |
20 |
instance_create(232, 42, obj_quote_bubble_battle_6) |
21 |
instance_create(0, 0, obj_quote_battle_tri) |
22 |
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) |
23 |
} |
24 |
else |
25 |
{ |
26 |
var random_number = irandom_range(1, 2) |
27 |
if (random_number == 1) |
28 |
{ |
29 |
if (enemy_dead_2 == false && enemy_spared_2 == false) |
30 |
{ |
31 |
instance_create(122, 42, obj_quote_bubble_battle_6) |
32 |
instance_create(0, 0, obj_quote_battle_hec) |
33 |
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) |
34 |
} |
35 |
else if (enemy_dead_3 == false && enemy_spared_3 == false) |
36 |
{ |
37 |
instance_create(346, 42, obj_quote_bubble_battle_6) |
38 |
instance_create(0, 0, obj_quote_battle_ta) |
39 |
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) |
40 |
} |
41 |
} |
42 |
else if (random_number == 2) |
43 |
{ |
44 |
if (enemy_dead_3 == false && enemy_spared_3 == false) |
45 |
{ |
46 |
instance_create(346, 42, obj_quote_bubble_battle_6) |
47 |
instance_create(0, 0, obj_quote_battle_ta) |
48 |
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) |
49 |
} |
50 |
else if (enemy_dead_2 == false && enemy_spared_2 == false) |
51 |
{ |
52 |
instance_create(122, 42, obj_quote_bubble_battle_6) |
53 |
instance_create(0, 0, obj_quote_battle_hec) |
54 |
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) |
55 |
} |
56 |
} |
57 |
} |
58 |
} |
59 |
else if (fight_number == 2) |
60 |
{ |
61 |
if (enemy_dead_2 == false && enemy_spared_2 == false) |
62 |
{ |
63 |
instance_create(122, 42, obj_quote_bubble_battle_6) |
64 |
instance_create(0, 0, obj_quote_battle_hec) |
65 |
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) |
66 |
} |
67 |
else |
68 |
{ |
69 |
random_number = irandom_range(1, 2) |
70 |
if (random_number == 1) |
71 |
{ |
72 |
if (enemy_dead == false && enemy_spared == false) |
73 |
{ |
74 |
instance_create(232, 42, obj_quote_bubble_battle_6) |
75 |
instance_create(0, 0, obj_quote_battle_tri) |
76 |
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) |
77 |
} |
78 |
else if (enemy_dead_3 == false && enemy_spared_3 == false) |
79 |
{ |
80 |
instance_create(346, 42, obj_quote_bubble_battle_6) |
81 |
instance_create(0, 0, obj_quote_battle_ta) |
82 |
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) |
83 |
} |
84 |
} |
85 |
else if (random_number == 2) |
86 |
{ |
87 |
if (enemy_dead_3 == false && enemy_spared_3 == false) |
88 |
{ |
89 |
instance_create(346, 42, obj_quote_bubble_battle_6) |
90 |
instance_create(0, 0, obj_quote_battle_ta) |
91 |
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) |
92 |
} |
93 |
else if (enemy_dead == false && enemy_spared == false) |
94 |
{ |
95 |
instance_create(232, 42, obj_quote_bubble_battle_6) |
96 |
instance_create(0, 0, obj_quote_battle_tri) |
97 |
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) |
98 |
} |
99 |
} |
100 |
} |
101 |
} |
102 |
else if (fight_number == 3) |
103 |
{ |
104 |
if (enemy_dead_3 == false && enemy_spared_3 == false) |
105 |
{ |
106 |
instance_create(346, 42, obj_quote_bubble_battle_6) |
107 |
instance_create(0, 0, obj_quote_battle_ta) |
108 |
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) |
109 |
} |
110 |
else |
111 |
{ |
112 |
random_number = irandom_range(1, 2) |
113 |
if (random_number == 1) |
114 |
{ |
115 |
if (enemy_dead == false && enemy_spared == false) |
116 |
{ |
117 |
instance_create(232, 42, obj_quote_bubble_battle_6) |
118 |
instance_create(0, 0, obj_quote_battle_tri) |
119 |
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) |
120 |
} |
121 |
else if (enemy_dead_2 == false && enemy_spared_2 == false) |
122 |
{ |
123 |
instance_create(122, 42, obj_quote_bubble_battle_6) |
124 |
instance_create(0, 0, obj_quote_battle_hec) |
125 |
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) |
126 |
} |
127 |
} |
128 |
else if (random_number == 2) |
129 |
{ |
130 |
if (enemy_dead_2 == false && enemy_spared_2 == false) |
131 |
{ |
132 |
instance_create(122, 42, obj_quote_bubble_battle_6) |
133 |
instance_create(0, 0, obj_quote_battle_hec) |
134 |
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) |
135 |
} |
136 |
else if (enemy_dead == false && enemy_spared == false) |
137 |
{ |
138 |
instance_create(232, 42, obj_quote_bubble_battle_6) |
139 |
instance_create(0, 0, obj_quote_battle_tri) |
140 |
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) |
141 |
} |
142 |
} |
143 |
} |
144 |
} |
145 |
} |
146 |
else if (battle_menu_number == 2) |
147 |
{ |
148 |
if (act_number == 1) |
149 |
{ |
150 |
instance_create(232, 42, obj_quote_bubble_battle_6) |
151 |
instance_create(0, 0, obj_quote_battle_tri) |
152 |
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) |
153 |
} |
154 |
else if (act_number == 2) |
155 |
{ |
156 |
instance_create(122, 42, obj_quote_bubble_battle_6) |
157 |
instance_create(0, 0, obj_quote_battle_hec) |
158 |
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) |
159 |
} |
160 |
else if (act_number == 3) |
161 |
{ |
162 |
instance_create(346, 42, obj_quote_bubble_battle_6) |
163 |
instance_create(0, 0, obj_quote_battle_ta) |
164 |
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) |
165 |
} |
166 |
} |
167 |
else |
168 |
{ |
169 |
random_number = irandom_range(1, 3) |
170 |
while (end_loop == false) |
171 |
{ |
172 |
if (random_number == 1 && enemy_dead == false && enemy_spared == false) |
173 |
{ |
174 |
instance_create(232, 42, obj_quote_bubble_battle_6) |
175 |
instance_create(0, 0, obj_quote_battle_tri) |
176 |
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) |
177 |
end_loop = true |
178 |
break |
179 |
} |
180 |
else if (random_number == 2 && enemy_dead_2 == false && enemy_spared_2 == false) |
181 |
{ |
182 |
instance_create(122, 42, obj_quote_bubble_battle_6) |
183 |
instance_create(0, 0, obj_quote_battle_hec) |
184 |
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) |
185 |
end_loop = true |
186 |
break |
187 |
} |
188 |
else if (random_number == 3 && enemy_dead_3 == false && enemy_spared_3 == false) |
189 |
{ |
190 |
instance_create(346, 42, obj_quote_bubble_battle_6) |
191 |
instance_create(0, 0, obj_quote_battle_ta) |
192 |
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) |
193 |
end_loop = true |
194 |
break |
195 |
} |
196 |
else |
197 |
{ |
198 |
var seed_1 = sign(enemy_dead + enemy_spared) |
199 |
var seed_2 = sign(enemy_dead_2 + enemy_spared_2) |
200 |
var seed_3 = sign(enemy_dead_3 + enemy_spared_3) |
201 |
random_number = irandom_range((1 + seed_1), (3 - seed_3)) |
202 |
if (random_number == 2 && seed_2 == 1) |
203 |
{ |
204 |
random_number = irandom_range((1 + seed_1), (2 - seed_3)) |
205 |
if (random_number == 2) |
206 |
random_number = 3 |
207 |
} |
208 |
continue |
209 |
} |
210 |
} |
211 |
} |
212 |
} |