From 20affb43452690ca8d6e0ea135955644c33b00da Mon Sep 17 00:00:00 2001 From: ENLS <78400667+ENLSLive@users.noreply.github.com> Date: Tue, 6 Jun 2023 12:44:08 -0700 Subject: [PATCH] Update 004_Game_Map.rb (#210) --- Data/Scripts/004_Game classes/004_Game_Map.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/004_Game classes/004_Game_Map.rb b/Data/Scripts/004_Game classes/004_Game_Map.rb index 1505a940b..66e9af7d4 100644 --- a/Data/Scripts/004_Game classes/004_Game_Map.rb +++ b/Data/Scripts/004_Game classes/004_Game_Map.rb @@ -365,7 +365,7 @@ class Game_Map # 6: moves 1 tile in 0.05 seconds def start_scroll(direction, distance, speed = 4) return if direction <= 0 || direction == 5 || direction >= 10 - if [1, 3, 4, 6, 7, 9].include(direction) # horizontal + if [1, 3, 4, 6, 7, 9].include?(direction) # horizontal @scroll_distance_x = distance @scroll_distance_x *= -1 if [1, 4, 7].include?(direction) end