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