1 | if (can_shake == true) |
2 | { |
3 | x = xstart + (irandom_range(-1, 1)) |
4 | y = ystart + (irandom_range(-1, 1)) |
5 | alarm[0] = shake_timer |
6 | } |
7 | else |
8 | { |
9 | x = xstart |
10 | y = ystart |
11 | } |