1 | dmg = 0; |
2 | image_speed = 0.5; |
3 | grchoice = round(random(1)); |
4 | if (grchoice == 1) |
5 | gravity_direction = 90; |
6 | if (grchoice == 0) |
7 | graivty_direction = 270; |
8 | gravity = 0.2 + random(0.1); |
9 | friction = 0.15; |
10 | if (x < (global.idealborder[0] + 10)) |
11 | hspeed = 1 + random(2); |
12 | if (x > (global.idealborder[1] - 10)) |
13 | hspeed = -1 - random(2); |