1 |
function collision_rectangle_all(argument0, argument1, argument2, argument3, argument4, argument5, argument6) //gml_Script_collision_rectangle_all |
2 |
{ |
3 |
var _a = undefined |
4 |
var _n = 0 |
5 |
var _h = abs(argument1 - argument3) |
6 |
var _id = collision_rectangle(argument0, argument1, argument2, argument3, argument4, argument5, argument6) |
7 |
while _id |
8 |
{ |
9 |
with (_id) |
10 |
{ |
11 |
_a[_n] = id |
12 |
_n++ |
13 |
y -= (abs(sprite_height) + _h) |
14 |
} |
15 |
_id = collision_rectangle(argument0, argument1, argument2, argument3, argument4, argument5, argument6) |
16 |
} |
17 |
for (var _i = 0; _i < _n; _i++) |
18 |
{ |
19 |
with (_a[_i]) |
20 |
y += (abs(sprite_height) + _h) |
21 |
} |
22 |
return _a; |
23 |
} |