Code/gml_Object_ba5_Mouse_7.gml

51 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-01-12 02:36:02 +02:00
if (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"))
2023-11-25 21:14:46 +02:00
{
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
}
2024-01-12 02:36:02 +02:00
else if (global.recipemode == "g")
2023-11-25 21:14:46 +02:00
{
global.indexphase = "home"
2024-01-12 02:36:02 +02:00
global.recipeindex = 3
}
else if (global.recipemode == "m")
{
global.indexphase = "home"
global.recipeindex = 9
2023-11-25 21:14:46 +02:00
}