| 1 | script_execute(scr_depth); |
| 2 | if (image_index >= 16 && image_speed > 0) |
| 3 | { |
| 4 | image_speed = 0; |
| 5 | image_index = 17; |
| 6 | } |
| 7 | if (floor(image_index) == 10) |
| 8 | { |
| 9 | image_speed = 0; |
| 10 | if (!alarm[0]) |
| 11 | alarm[0] = 10; |
| 12 | } |
| 13 | if (floor(image_index) == 11) |
| 14 | { |
| 15 | if (!audio_is_playing(snd_groundbreak)) |
| 16 | audio_play_sound(snd_groundbreak, 1, 0); |
| 17 | shake = true; |
| 18 | alarm[1] = 1; |
| 19 | alarm[2] = 25; |
| 20 | } |