Code/gml_Object_ba5_Mouse_10.gml

8 lines
510 B
Plaintext

hover = 1
if ((!hoversound) && global.recipemode != "index" && global.indexphase != "ex" && (global.recipemode == "g" || global.recipemode == "m" || global.recipemode == "sweet" || global.recipemode == "bitter" || global.recipemode == "sour" || global.recipemode == "girly" || global.recipemode == "manly" || global.recipemode == "classy" || global.recipemode == "promo"))
{
hoversound = 1
audio_play_sound(mouse_hover, 1, false)
audio_sound_gain(mouse_hover, ((global.sfxvolume - 20) / 100), 0)
}