1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-24 13:38:29 +02: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:
Misa 2020-05-18 18:09:12 -07:00 committed by Ethan Lee
parent 7bd2f92f03
commit 3178aec5d2

View File

@ -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)
{