1 | var box = 3154; |
2 | rand_hmin = box.bbox_top + 25; |
3 | rand_hmax = box.bbox_bottom - 5; |
4 | var create_x_dist = 30; |
5 | var wind_direction = irandom_range(0, 1); |
6 | if (wind_direction == 0) |
7 | create_x = box.bbox_left - create_x_dist; |
8 | else |
9 | create_x = box.bbox_right + create_x_dist; |
10 | weed_count = 0; |
11 | weed_max = 6; |
12 | weed_alarm = 25; |
13 | destroy_alarm = 10; |
14 | no_loop_destroy = false; |
15 | alarm[0] = 10; |
16 | if (!audio_is_playing(snd_mart_wind)) |
17 | audio_play_sound(snd_mart_wind, 20, 1); |