1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
function stdBublesLoad()
sound_addSound("bubles", "sound/share/sp-bubles_00.ogg")
sound_addSound("bubles", "sound/share/sp-bubles_01.ogg")
sound_addSound("bubles", "sound/share/sp-bubles_02.ogg")
sound_addSound("bubles", "sound/share/sp-bubles_03.ogg")
sound_addSound("bubles", "sound/share/sp-bubles_04.ogg")
sound_addSound("bubles", "sound/share/sp-bubles_05.ogg")
end
function stdBubles()
--NOTE: original was (random(100) < 5)
if random(100) < 2 then
sound_playSound("bubles", 15)
end
end
|