mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Only flash and shake screen when enabling Flip Mode
It's a bit inconsistent how every time you toggle flip mode, it does this flashing and shaking (and different SFX), regardless of whether or not you're turning it on or off. To be more consistent with what happens when you toggle screen effects, only turning on Flip Mode should do the flashing/shaking/game-saved sound, and turning it off should just play the Viridian squeak.
This commit is contained in:
@@ -1103,11 +1103,18 @@ void menuactionpress()
|
||||
}
|
||||
else if (game.currentmenuoption == 3 && game.unlock[18]) //enable/disable flip mode
|
||||
{
|
||||
music.playef(18);
|
||||
game.screenshake = 10;
|
||||
game.flashlight = 5;
|
||||
graphics.setflipmode = !graphics.setflipmode;
|
||||
game.savemystats = true;
|
||||
if (graphics.setflipmode)
|
||||
{
|
||||
music.playef(18);
|
||||
game.screenshake = 10;
|
||||
game.flashlight = 5;
|
||||
}
|
||||
else
|
||||
{
|
||||
music.playef(11);
|
||||
}
|
||||
}
|
||||
else if (game.currentmenuoption == 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user