| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
var battle_box = 3154; |
| 4 |
var side = choose(1, 2); |
| 5 |
var xx = battle_box.bbox_left + 16; |
| 6 |
var xx2 = battle_box.bbox_right - 16; |
| 7 |
var yy = battle_box.bbox_top - 16; |
| 8 |
var obstacle1 = 3120; |
| 9 |
var obstacle2 = 248; |
| 10 |
var obstacle_speed = 5; |
| 11 |
if (side == 2) |
| 12 |
{ |
| 13 |
obstacle1 = 248; |
| 14 |
obstacle2 = 3120; |
| 15 |
} |
| 16 |
instance_create_depth(xx, yy, -50, obstacle1); |
| 17 |
instance_create_depth(xx2, yy, -50, obstacle2); |
| 18 |
instance_destroy(); |
| 19 |
with (obstacle1) |
| 20 |
{ |
| 21 |
direction = 270; |
| 22 |
speed = obstacle_speed; |
| 23 |
} |
| 24 |
with (obstacle2) |
| 25 |
{ |
| 26 |
direction = 270; |
| 27 |
speed = obstacle_speed; |
| 28 |
} |