1 | x -= 3 |
2 | if (x < ((__view_get((0 << 0), 0)) - 40)) |
3 | instance_destroy() |
4 | if (y < ystart) |
5 | vsp += grav |
6 | else |
7 | { |
8 | y = ystart |
9 | vsp = 0 |
10 | } |
11 | if (y == ystart && irandom_range(0, 10) == 1) |
12 | vsp = irandom_range(-2, -1) |
13 | y += vsp |
14 | image_angle += 15 |