Code/gml_Object_ba4_Mouse_10.gml

8 lines
433 B
Plaintext

hover = 1
if ((!hoversound) && global.recipemode != "index" && global.indexphase != "ex" && global.recipemode != "spicy" && global.recipemode != "classic" && global.recipemode != "b" && global.recipemode != "f" && global.recipemode != "p" && global.recipemode != "s" && global.recipemode != "z")
{
hoversound = 1
audio_play_sound(mouse_hover, 1, false)
audio_sound_gain(mouse_hover, ((global.sfxvolume - 20) / 100), 0)
}