Derxwna Kapsyla
Derxwna "The Badman" Kapsyla
- 437
- Posts
- 13
- Years
- Everywhere, yet Nowhere
- Seen yesterday
In Pokemon games, the music for the Bike and Surf would fade to the music for the new location you transitioned into. In Essentials-made games, it doesn't do that. How to do it is a simple and quick tweak of the scripts.
In [PokemonField], do a search for the following lines:
It should be in the section "def pbAutoplayOnTransition" Where it says pbBGMPLay(surfbgm) and pbBGMPlay(bikebgm), either comment or delete it, and replace it with $game_map.autoplayAsCue. When that's finished, your section should look like this:
Granted, there's probably an easier way to do it, but this was how I handled it.
You'll also want to do the same to the section below it, labeled with "def pbAutoplayOnSave", this will make it so it doesn't keep the music running when you reload the map after a save.
Hopefully this helps people out, I don't need credit for this at all. Here's hoping this inspires somebody to optimize it maybe!
In [PokemonField], do a search for the following lines:
Code:
if $PokemonGlobal.surfing && surfbgm
pbBGMPlay(surfbgm)
elsif $PokemonGlobal.bicycle && bikebgm
pbBGMPlay(bikebgm)
else
$game_map.autoplayAsCue
end
end
Code:
if $PokemonGlobal.surfing && surfbgm
$game_map.autoplayAsCue
elsif $PokemonGlobal.bicycle && bikebgm
$game_map.autoplayAsCue
else
$game_map.autoplayAsCue
end
end
You'll also want to do the same to the section below it, labeled with "def pbAutoplayOnSave", this will make it so it doesn't keep the music running when you reload the map after a save.
Hopefully this helps people out, I don't need credit for this at all. Here's hoping this inspires somebody to optimize it maybe!