Code/gml_Object_ba4_Mouse_10.gml

8 lines
433 B
Plaintext
Raw Normal View History

2023-11-25 21:14:46 +02:00
hover = 1
if ((!hoversound) && global.recipemode != "index" && global.indexphase != "ex" && global.recipemode != "spicy" && global.recipemode != "classic" && global.recipemode != "b" && global.recipemode != "f" && global.recipemode != "g" && 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)
}