Code/gml_Object_ba5_Mouse_7.gml

46 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-11-25 21:14:46 +02:00
if (global.recipemode != "index" && global.indexphase != "ex" && (global.recipemode == "p" || global.recipemode == "sweet" || global.recipemode == "bitter" || global.recipemode == "sour" || global.recipemode == "girly" || global.recipemode == "manly" || global.recipemode == "classy" || global.recipemode == "promo"))
{
audio_play_sound(jukechange, 2, false)
audio_sound_gain(jukechange, ((global.sfxvolume - 20) / 100), 0)
}
if (global.recipemode == "sweet")
{
global.indexphase = "home"
global.recipeindex = 6
}
else if (global.recipemode == "bitter")
{
global.indexphase = "home"
global.recipeindex = 12
}
else if (global.recipemode == "sour")
{
global.indexphase = "home"
global.recipeindex = 24
}
else if (global.recipemode == "girly")
{
global.indexphase = "home"
global.recipeindex = 22
}
else if (global.recipemode == "manly")
{
global.indexphase = "home"
global.recipeindex = 8
}
else if (global.recipemode == "classy")
{
global.indexphase = "home"
global.recipeindex = 15
}
else if (global.recipemode == "promo")
{
global.indexphase = "home"
global.recipeindex = 18
}
else if (global.recipemode == "p")
{
global.indexphase = "home"
global.recipeindex = 20
}