您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A replacement of the Pokemon Showdown battle music with many other tracks from the Pokemon series
This userscript modifies the default battle soundtrack selection of Pokemon Showdown. The music tracks that are suffled through are the following:
And more will be added soon!
The reason why the amount of code in this script is so egregiously large is because to get this custom music to load properly, many of the game's functions had to be tweaked. In this case, replacing the functions necessary involved copying massive portions of the game's code and making slight adjustments. This is, however, allowed under the Pokemon Showdown Client's license on GitHub. The actual custom music stuff is from lines 2077 to 2112; The rest of the file is just tweaks to get the audio files to load properly.
This userscript is not finished, and more additions and tweaks will be made soon