snow 18 Posted September 8, 2012 (edited) Disable Map Tint in Battles Author: Snow No credit neccessary. I could have sworn I already posted this at this website, but after searching, I could not find it. Features: - Uses a switch to determine whether or not the map's tint should be transferred over into the battle scene. - If no switch is set, then battles will have event tints disabled altogether without a switch required. - When the battle ends and the player is transferred to the map, the tint will be restored automatically. How To Use: Paste under Materials and below any battle scripts. Script: #================================================= # No battle Screen Tint #-------------------------------------------- class Spriteset_Battle TINT_SWITCH = 0 #<--- Switch ID # If switch is ON, the battle will use the map's tint # If switch is OFF, the battle will not use a tint # You can also leave the switch ID at 0 to disable battle tints altogether. def update_viewports unless $game_switches[TINT_SWITCH] @viewport1.tone.set(0, 0, 0, 0) else @viewport1.tone.set($game_troop.screen.tone) end @viewport1.ox = $game_troop.screen.shake @viewport2.color.set($game_troop.screen.flash_color) @viewport3.color.set(0, 0, 0, 255 - $game_troop.screen.brightness) @viewport1.update @viewport2.update @viewport3.update end end Edited September 8, 2012 by snow 4 Share this post Link to post Share on other sites
oriceles 3 Posted February 1, 2015 (edited) I tried this but is not working Edit: Worked after using a dummy switch, the leaving the switch on 0 option is the one not working. Edited February 1, 2015 by oriceles Share this post Link to post Share on other sites
+ Retired 274 Posted February 1, 2015 Did you try in a vanilla project with no other scripts? Share this post Link to post Share on other sites
oriceles 3 Posted February 1, 2015 Did you try in a vanilla project with no other scripts? # You can also leave the switch ID at 0 to disable battle tints altogether. This is the feature not working, I set a dummy switch and voila. Share this post Link to post Share on other sites
+ Retired 274 Posted February 1, 2015 You should try it in a vanilla project with no other scripts. You most likely have another script which changes lighting or tints. Share this post Link to post Share on other sites
PnFforever 0 Posted January 24, 2016 I got one question, I don't really get the whole switching ON and OFF of the script. How do they work? Share this post Link to post Share on other sites
lonequeso 1,921 Posted January 24, 2016 Ooo. I really need this. I have a couple very dark caves where the enemies are almost impossible to see. Thanks for sharing! Share this post Link to post Share on other sites