From 7332a89eb09d345310529fe3b3a8d49c80113f16 Mon Sep 17 00:00:00 2001 From: Mathew Velasquez Date: Tue, 24 Nov 2015 16:06:31 -0500 Subject: [PATCH] Tweaked footsteps --- scripts/Data_Footsteps.rb | 3 ++- scripts/Game_Player.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/Data_Footsteps.rb b/scripts/Data_Footsteps.rb index c6edf4b..bf050d7 100644 --- a/scripts/Data_Footsteps.rb +++ b/scripts/Data_Footsteps.rb @@ -36,5 +36,6 @@ FOOTSTEP_SFX = [ # Red Factory Interior [], # Red observation deck - ['step_metal_light'], + ['step_metal_light', + 'step_tile'], ] diff --git a/scripts/Game_Player.rb b/scripts/Game_Player.rb index 6e98ca2..c4befc9 100644 --- a/scripts/Game_Player.rb +++ b/scripts/Game_Player.rb @@ -264,7 +264,7 @@ class Game_Player < Game_Character return unless $game_temp.footstep_sfx tag = $game_map.terrain_tag(@x, @y) - 1 if tag >= 0 && tag < $game_temp.footstep_sfx.size - Audio.se_play("Audio/SE/#{$game_temp.footstep_sfx[tag]}.wav") + Audio.se_play("Audio/SE/#{$game_temp.footstep_sfx[tag]}.wav", 50) end end end