语音系统升级

This commit is contained in:
MrZ626
2020-09-22 11:09:46 +08:00
parent 98b2fe6260
commit 1b2c0efe9c
3 changed files with 55 additions and 61 deletions

View File

@@ -719,7 +719,7 @@ do--load
--------------------------
if not setting.appLock then
SFX.play("welcome_sfx")
VOC.play("welcome")
VOC.play("welcome_voc")
end
else
S.cur=S.cur+1
@@ -2474,7 +2474,7 @@ do--setting_sound
S.jump=10
local t=Timer()-S.last
if t>1 then
VOC.play((t<1.5 or t>15)and"doubt"or rnd()<.8 and"happy"or"egg")
VOC.play((t<1.5 or t>15)and"nya_doubt"or rnd()<.8 and"nya_happy"or"egg")
S.last=Timer()
end
end