• 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] How to make a Gym Leader fight you in a Double Battle?

  • 428
    Posts
    5
    Years
    I've got the Gym Leader event and Gym ready and set up. I just need to figure out how to make this Gym Leader battle you in a Double Battle. Right now he's only battling me in Single Battle format.

    Some scripts in default trainers are comments, and some are Scripts. But the default Gym Leader uses Conditional Branch scripts. How do I change those correctly to make this a double battle?
     
    Here's the method that's being used, so you can see what to put where in the script command (make sure there aren't any comments that will override this):
    Code:
    def pbTrainerBattle(trainerid,trainername,endspeech,doublebattle=false,trainerparty=0,canlose=false,variable=nil)
     
    Back
    Top