1 | if (ignore_border == 0) |
2 | { |
3 | if (movement == 2) |
4 | { |
5 | if (vspeed < 0) |
6 | vspeed = 0; |
7 | } |
8 | if (movement == 12) |
9 | { |
10 | y = global.idealborder[2] + 4; |
11 | event_user(7); |
12 | if (vspeed < 0) |
13 | vspeed = 0; |
14 | if (movement == 12) |
15 | jumpstage = 1; |
16 | } |
17 | y = other.y + other.sprite_height; |
18 | if (confuse == 1 && obj_battlecontroller.runaway != 1) |
19 | y = other.y + other.sprite_height + 8; |
20 | } |