mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-22 08:49:46 +01: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:
parent
7bd2f92f03
commit
3178aec5d2
1 changed files with 10 additions and 3 deletions
|
@ -1102,12 +1102,19 @@ void menuactionpress()
|
||||||
map.nexttowercolour();
|
map.nexttowercolour();
|
||||||
}
|
}
|
||||||
else if (game.currentmenuoption == 3 && game.unlock[18]) //enable/disable flip mode
|
else if (game.currentmenuoption == 3 && game.unlock[18]) //enable/disable flip mode
|
||||||
|
{
|
||||||
|
graphics.setflipmode = !graphics.setflipmode;
|
||||||
|
game.savemystats = true;
|
||||||
|
if (graphics.setflipmode)
|
||||||
{
|
{
|
||||||
music.playef(18);
|
music.playef(18);
|
||||||
game.screenshake = 10;
|
game.screenshake = 10;
|
||||||
game.flashlight = 5;
|
game.flashlight = 5;
|
||||||
graphics.setflipmode = !graphics.setflipmode;
|
}
|
||||||
game.savemystats = true;
|
else
|
||||||
|
{
|
||||||
|
music.playef(11);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (game.currentmenuoption == 4)
|
else if (game.currentmenuoption == 4)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue