From 3f53cad6011c29d05a41f5a7ce2eb141f0c7bb0e Mon Sep 17 00:00:00 2001 From: Mathew Date: Fri, 27 Nov 2015 22:29:19 -0500 Subject: [PATCH] Fix light layer shake --- scripts/Spriteset_Map.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Spriteset_Map.rb b/scripts/Spriteset_Map.rb index 84b8362..7368e36 100644 --- a/scripts/Spriteset_Map.rb +++ b/scripts/Spriteset_Map.rb @@ -244,10 +244,12 @@ class Spriteset_Map # Set screen color tone and shake position @viewport.tone = $game_screen.tone + $game_map.ambient * (1.0 - @bulb.opacity / 255.0) @viewport.ox = $game_screen.shake + @viewport_lights.ox = $game_screen.shake # Set screen flash color @viewport_flash.color = $game_screen.flash_color # Update viewports @viewport.update @viewport_flash.update + @viewport_lights.update end end