1 | other.moving = 0; |
2 | if (push == 0) |
3 | { |
4 | if (global.facing == 1) |
5 | { |
6 | x += 3; |
7 | other.x += 3; |
8 | other.moving = 1; |
9 | } |
10 | if (global.facing == 3) |
11 | { |
12 | if (x > xstart) |
13 | { |
14 | x -= 3; |
15 | other.x -= 3; |
16 | other.moving = 1; |
17 | } |
18 | } |
19 | } |