From 91e25907eb0d71e5dca9fe833741bd1d4341b313 Mon Sep 17 00:00:00 2001 From: mshirt Date: Sat, 10 Dec 2016 01:20:21 -0600 Subject: [PATCH] Adding a quickfix for the sunroom bug --- scripts/Puzzle_Pixel.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/Puzzle_Pixel.rb b/scripts/Puzzle_Pixel.rb index f4aa204..f6454bc 100644 --- a/scripts/Puzzle_Pixel.rb +++ b/scripts/Puzzle_Pixel.rb @@ -125,6 +125,13 @@ def puzzle_check(puzzle) Script.tmp_s1 = result end +def lightbulb_room_fix + 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 + end +end + def pixel_puzzle_niko_correct(puzzle) niko_x = $game_variables[7] niko_y = $game_variables[8]