1 |
if live_call() |
2 |
return global.live_result; |
3 |
var robot_item_x_player = obj_pl.x |
4 |
var robot_item_y_player = obj_pl.y - 9 - (sprite_height - sprite_yoffset) |
5 |
if (robot_item_is_carried && (!robot_item_is_jumping)) |
6 |
{ |
7 |
x = robot_item_x_player |
8 |
y = robot_item_y_player |
9 |
depth = -9999 |
10 |
var pl_image_index = floor(obj_pl.image_index) |
11 |
if (obj_pl.direction == 0 || obj_pl.direction == 180) |
12 |
{ |
13 |
if (pl_image_index == 1) |
14 |
y += 1 |
15 |
} |
16 |
else if (pl_image_index == 1 || pl_image_index == 3) |
17 |
y -= 1 |
18 |
} |