1 | image_speed = 0; |
2 | y += (40 + random(40)); |
3 | hspeed = 6 + random(2); |
4 | hspeed *= choose(-1, 1); |
5 | if (hspeed < 0) |
6 | { |
7 | image_index = 1; |
8 | x = global.idealborder[1] + 40; |
9 | } |
10 | if (hspeed > 0) |
11 | { |
12 | x = global.idealborder[0] - 40; |
13 | image_index = 0; |
14 | } |
15 | alarm[0] = 10; |