Fixed being able to bypass a caught mon being forced into the party, fixed Rotom Catalog, fixed incorrect writing of some enums to PBS files, fixed Jukebox's awareness of audio files, fixed bug when battle default weather is primordial, disabled path cache to add speed

This commit is contained in:
Maruno17
2024-01-01 20:35:28 +00:00
parent d5c7b8cc15
commit 8c5911e4a4
10 changed files with 17 additions and 13 deletions

View File

@@ -106,10 +106,12 @@ class PokemonJukeboxScreen
pbPlayDecisionSE
files = []
Dir.chdir("Audio/BGM/") do
Dir.glob("*.ogg") { |f| files.push(f) }
Dir.glob("*.wav") { |f| files.push(f) }
Dir.glob("*.mid") { |f| files.push(f) }
Dir.glob("*.ogg") { |f| files.push(f) }
Dir.glob("*.mp3") { |f| files.push(f) }
Dir.glob("*.midi") { |f| files.push(f) }
Dir.glob("*.mid") { |f| files.push(f) }
Dir.glob("*.wma") { |f| files.push(f) }
end
files.map! { |f| File.basename(f, ".*") }
files.uniq!