1 | if (movement == 1 || movement == 2) |
2 | { |
3 | if (confuse == 0) |
4 | { |
5 | x -= global.sp; |
6 | if (control_check(1) == 1) |
7 | x += (global.sp / 2); |
8 | } |
9 | if (confuse == 1 && x < (global.idealborder[1] - 8)) |
10 | { |
11 | x += global.sp; |
12 | if (control_check(1) == 1) |
13 | x += (global.sp / 2); |
14 | } |
15 | } |