1 | if live_call() |
2 | return global.live_result; |
3 | if (image_index >= (image_number - 1)) |
4 | { |
5 | image_alpha = 0 |
6 | if (!alarm[1]) |
7 | alarm[1] = spawn_delay |
8 | } |
9 | if (image_index >= 3 && (!audio_noloop)) |
10 | { |
11 | audio_noloop = true |
12 | var twinkle = audio_play_sound(snd_axis_twinkle, 1, 0) |
13 | audio_sound_pitch(twinkle, random_range(0.8, 1.2)) |
14 | audio_sound_gain(twinkle, 0.7, 0) |
15 | } |