• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Some help with pbBattleStart sounds?

39Gamer

39Games
55
Posts
10
Years
  • I put in a PBplaySE in pbBattleStart and the sound plays perfectly but I only want it for trainers, and have a different one for wild battles, could some help me with a code for this?
    Cheers
     

    Luka S.J.

    Jealous Croatian
    1,270
    Posts
    15
    Years
  • Code:
    if @battle.opponent
      pbSEPlay("trainer battle sound")
    else
      pbSEPlay("wild battle sound")
    end

    Simple, lol.
     
    142
    Posts
    15
    Years
  • Okay I find that this works well, now the only problem left to figure out is how to adjust the speed in which the party bars come in. Like I want them to come in the speed that they do in Gen V, so the SFX I used can line up with them.

    Where would I go about adjusting the speed of the party bar because that is the one other thing that I need to find out?
     
    Last edited:
    Back
    Top