From 3178aec5d2ddc3028071dfbfc3f7e7a3aec53ad4 Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 18 May 2020 18:09:12 -0700 Subject: [PATCH] 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. --- desktop_version/src/Input.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/desktop_version/src/Input.cpp b/desktop_version/src/Input.cpp index 734688b3..b3005c6d 100644 --- a/desktop_version/src/Input.cpp +++ b/desktop_version/src/Input.cpp @@ -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) {