1 | if (oo == 0) |
2 | oo = 1; |
3 | else |
4 | oo = 0; |
5 | if (oo == 0) |
6 | obj.x = thisx - shx; |
7 | if (oo == 1) |
8 | obj.x = thisx + shx; |
9 | shx -= 1; |
10 | if (shx > 0) |
11 | { |
12 | alarm[1] = shaketime; |
13 | } |
14 | else |
15 | { |
16 | obj.x = thisx; |
17 | instance_destroy(); |
18 | } |