• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Eventing Question] Adding music when a trainer spots the player

  • 37
    Posts
    8
    Years
    • Seen Jan 21, 2021
    EDIT: figured it out. Mods can delete this now I think. The audio files need to be in ME rather than BGM, and I suggest using the solo double battle trainer on route 3 as a base for the latter issue - seems to be working now.

    I'm trying to add some of the traditional encounter intro music that play after a trainer locks eyes with you. According to the wiki, the audio track name should be input just before the trainer's gender in the PBS trainertypes file, but nothing is happening.

    Also, I'm trying to make a double battle trainer duo (e.g. Twins) notice the player when 1 tile away. Adding "Script: pbNoticePlayer(get_character(0))" like other trainers and a (1) in the event name after trainer doesn't seem to do anything. I also changed them to event touch, which begins the battle only if the player walks into them.

    Any ideas appreciated.
     
    Last edited:
    Back
    Top