From cd2aa2e44673037edf093be4831d4c55bb6936a5 Mon Sep 17 00:00:00 2001 From: Issac332 <119879937+Issac8658@users.noreply.github.com> Date: Wed, 27 May 2026 16:46:00 +0300 Subject: [PATCH] bububebe --- scripts/Game_Character_1.rb | 3 --- scripts/Game_Player.rb | 8 +++----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/Game_Character_1.rb b/scripts/Game_Character_1.rb index 92149c4..fae8d62 100644 --- a/scripts/Game_Character_1.rb +++ b/scripts/Game_Character_1.rb @@ -125,9 +125,6 @@ class Game_Character # * 0 = Determines if all directions are impassable (for jumping) #-------------------------------------------------------------------------- def passable?(x, y, d) - if Settings[:debug] && Input.press?(Input::DEBUGACTION) - return true - end # Get new coordinates new_x = x + (d == 6 ? 1 : d == 4 ? -1 : 0) new_y = y + (d == 2 ? 1 : d == 8 ? -1 : 0) diff --git a/scripts/Game_Player.rb b/scripts/Game_Player.rb index aa70dab..867c6ed 100644 --- a/scripts/Game_Player.rb +++ b/scripts/Game_Player.rb @@ -22,6 +22,9 @@ class Game_Player < Game_Character # * 0 = Determines if all directions are impassable (for jumping) #-------------------------------------------------------------------------- def passable?(x, y, d) + if Settings[:debug] && Input.press?(Input::DEBUGACTION) + return true + end # Get new coordinates new_x = x + (d == 6 ? 1 : d == 4 ? -1 : 0) new_y = y + (d == 2 ? 1 : d == 8 ? -1 : 0) @@ -30,11 +33,6 @@ class Game_Player < Game_Character # Impassable return false end - # If debug mode is ON and ctrl key was pressed - #if Settings[:debug] and Input.press?(Input::LCTRL) - # Passable - # return true - #end super end #--------------------------------------------------------------------------