1 | if (shot > 0) |
2 | { |
3 | x = nowx; |
4 | y = nowy; |
5 | image_speed = 1; |
6 | shot2 += 1; |
7 | if (shot2 >= 5) |
8 | { |
9 | playdo = 0; |
10 | audio_stop_sound(myloop); |
11 | snd_play(snd_bomb); |
12 | if (!instance_exists(obj_shaker)) |
13 | scr_shake |
14 | instance_create(x, y, obj_plusbomb_explosion); |
15 | visible = false; |
16 | shot2 = -1; |
17 | shot = -1; |
18 | } |
19 | } |