Jump to content

(Questions) Individual music for legendary groups


Recommended Posts

Hey,

 

I want to give the legendaries different Battle themes. I know that legendaries are defined in a group and have a different Battle music than regular encounters. How can i split this group for different music based on specific legendaries?

Link to comment
Share on other sites

You'll need to have access to Debug for compiling and edit the ttype.rb file, then compiling after. You can find each of their battle themes if you search up their names (:KELDEO, :HEATRAN, :CELEBI, etc.).

 

Note: This is only for their Battle theme, not their Wild Encounter theme (when you actually capture it instead of battling it in a team of 6).

  • Wild Encounter themes are edited in metatext.rb, which doesn't require compiling. However, this changes the BGM for every Wild Encounter, not just for Legendaries.
  • In order to change static event Wild Encounter BGM without changing all Wild Encounter themes in the area, you'll need to have and go into RPG Maker XP and find every event involving the Wild Encounter trigger with the Legendaries, then right before the Battle script triggers, you need to insert a "Change Battle BGM" script. You can only select music in your BGM folder, so you need to have the music in your BGM folder already.
    • I'm not sure how this works for roaming encounters like Rayquaza. They should be handled in PokemonRoaming.rb (e19) or Roaming.rb (e19.5) folders, but I'm not sure how to call BGM in those scripts, so you'll have to experiment and find out unless someone else tells you the answer.
Link to comment
Share on other sites

17 hours ago, TrainGhidoran said:

It is especially about encountering a legendary in a random wild Battle (e.g. selecting a legendary AS a wild encounter in debug mode)

Then you need RPG Maker XP to edit the map event correlating to the Wild Encounter event. Otherwise, you can go into metatext.rb to change the Wild Battle music for the whole area, but this will not be for specifically the legendary encounter.

 

Note: This will not work if you're trying to select their battle through debug mode. Debug always selects the Wild Battle music of the map you're in.

Link to comment
Share on other sites

22 hours ago, TrainGhidoran said:

It is especially about encountering a legendary in a random wild Battle (e.g. selecting a legendary AS a wild encounter in debug mode)

Actually you can do this pretty easily. In the Utilities.rb script, find this part:

 

Screenshot.thumb.png.bbf9d409f49e1f2c9add937f21be6fe3.png

 

Just replace "Battle- Legendary" with whatever track you want to use for all the legendaries. If you want different tracks for different legendaries, you'll have to tinker around a bit with the code there. For example, you could change this:

  return pbStringToAudioFile("Battle- Legendary") if PBStuff::LEGENDARYLIST.include?(species)

To something like this:

  case species
    when :CRESSELIA then return pbStringToAudioFile("Battle- Cresselia")
    when :HEATRAN then return pbStringToAudioFile("Battle- Heatran")
    when :UXIE, :MESPRIT, :AZELF then return pbStringToAudioFile("Battle- Pixies")
  end

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...