| 1 |
var song_pitch = audio_sound_get_pitch(mus_showdown); |
| 2 |
if (song_pitch > 0.75) |
| 3 |
audio_sound_pitch(mus_showdown, song_pitch - 0.01); |
| 4 |
if (starlo_take_aim_fade_out == true) |
| 5 |
{ |
| 6 |
if (starlo_take_aim_overlay_alpha > 0.1) |
| 7 |
{ |
| 8 |
starlo_take_aim_overlay_alpha = lerp(starlo_take_aim_overlay_alpha, 0, 0.2); |
| 9 |
} |
| 10 |
else |
| 11 |
{ |
| 12 |
starlo_take_aim_overlay_alpha = 0; |
| 13 |
instance_destroy(); |
| 14 |
} |
| 15 |
} |
| 16 |
else if (starlo_take_aim_overlay_alpha < 0.98) |
| 17 |
{ |
| 18 |
starlo_take_aim_overlay_alpha = lerp(starlo_take_aim_overlay_alpha, 1, 0.15); |
| 19 |
} |
| 20 |
else |
| 21 |
{ |
| 22 |
starlo_take_aim_overlay_alpha = 1; |
| 23 |
} |