Tweaked footsteps

This commit is contained in:
Mathew Velasquez 2015-11-24 16:06:31 -05:00
parent 09b5e173c9
commit 7332a89eb0
2 changed files with 3 additions and 2 deletions

View File

@ -36,5 +36,6 @@ FOOTSTEP_SFX = [
# Red Factory Interior # Red Factory Interior
[], [],
# Red observation deck # Red observation deck
['step_metal_light'], ['step_metal_light',
'step_tile'],
] ]

View File

@ -264,7 +264,7 @@ class Game_Player < Game_Character
return unless $game_temp.footstep_sfx return unless $game_temp.footstep_sfx
tag = $game_map.terrain_tag(@x, @y) - 1 tag = $game_map.terrain_tag(@x, @y) - 1
if tag >= 0 && tag < $game_temp.footstep_sfx.size 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 end
end end