• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll 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.

[Scripting Question] TrainerVictoryME

  • 65
    Posts
    12
    Years
    • Seen Jan 4, 2022
    I have set the Trainer victory ME in debug mode and checked it in the PBS but the game continues to pull from the default ME file. I don't know what to do. I even deleted the default music and it still pulls it. Also tried $PokemonGlobal.nextBattleME="my file name" I triple checked that all the files were in the right folders and they are.
     
    Last edited:
    Yes I am I figure that's the problem cuz it's pulling from the EBDX victory file but that's located in the BGM folder for some reason so I can't use my own unless I replace the one labeled "Victory against trainer" or something along those lines I can't just add files and pull from them either cuz it isn't recognized. But I have a better one than the default but now I'm just stuck with that is there a way around that?
     
    It also seems to be the same issue for determining different BGM for Gym leaders, I get an error that there is no music file when I use $PokemonGlobal.nextBattleBGM="Blah Blah"
     
    all I get is errors Exception "Errno::EINVAL' at 019:FileTests:82 - Invalid argument @ rb_sysopen - Audio/BGM/Mini.ogg" and it strings on for several lines searching for different audio file types.

    This is how I worded the PBS IN EBDX:

    #-------------------------------
    [GENTLEMAN,Mortimer]
    BattleBGM = Mini.ogg
    VictoryTheme = Norm.ogg

    The music files work when applied using Debug mode. So I'm not sure what's wrong.
     
    Last edited:
    Back
    Top