From 941b611ba095a1d2c6250f923c4fb59c9f1071cb Mon Sep 17 00:00:00 2001 From: mshirt Date: Sat, 10 Dec 2016 02:27:01 -0600 Subject: [PATCH] minor changes to sun room fix --- scripts/Puzzle_Pixel.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Puzzle_Pixel.rb b/scripts/Puzzle_Pixel.rb index f6454bc..9d3819e 100644 --- a/scripts/Puzzle_Pixel.rb +++ b/scripts/Puzzle_Pixel.rb @@ -126,9 +126,11 @@ def puzzle_check(puzzle) end def lightbulb_room_fix - if ($game_player.x < 5) || ($game_player.x > 15) || ($game_player.y < 2) || ($game_player.y > 13) + if (($game_player.x < 5) || ($game_player.x > 15) || ($game_player.y < 2) || ($game_player.y > 13)) $game_player.x = 10 $game_player.y = 13 + $game_player.real_x = 10 * 4 * 32 + $game_player.real_y = 13 * 4 * 32 end end