1 | if (vspeed > 0 && con == 0) |
2 | depth = -31; |
3 | if (y > 340 && con == 0) |
4 | { |
5 | if (vspeed > 0) |
6 | { |
7 | depth = -14; |
8 | gravity = 0; |
9 | friction = 0.9; |
10 | } |
11 | else |
12 | { |
13 | depth = -14; |
14 | vspeed = 0; |
15 | } |
16 | } |
17 | image_angle = direction; |
18 | visible = true; |