Tweaked footsteps
This commit is contained in:
parent
09b5e173c9
commit
7332a89eb0
|
@ -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'],
|
||||||
]
|
]
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue