• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Using Bug Bite shows an error and repeats, and how to make level up music play only once

  • 12
    Posts
    10
    Years
    • Seen Feb 22, 2016
    Whenever an opponent uses Bug Bite the attack triggers an error message and repeats. It does this infinitely.

    Spoiler:


    When a Pokemon levels up the music plays again if I wait long enough. Is there a way to make it so the game only plays the level up music once?
     
    To correct the Bug Bite error, you've to go to PokeBattle_MoveEffects script section, in line 6851 and change ret to return 0.
    Theoretically, to play a single effect, by temporarily stopping the background song, you've to use pbMEPlay for your "levelUp" song.
     
    Thanks for all the help! I was actually wrong with the victory track. It is the track that plays when you defeat a trainer. It repeats and I cannot figure out how to stop it. I can search my code and find all the instances of "victory". It shows that it is playing a ME track but I don't know how to stop it from repeating.
     
    It seems a bit strange and, in addition, we don't even have a piece of code. Could you show us, at least, the code where begins the sound effect whereof you told us about? Because I've a song that starts as soon as a trainer has been defeated, but, once finished, will not restart.
     
    Back
    Top