• 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 Conquest 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.

[Scripting Question] 1v2 Battles with two Opponents (v19.1)

  • 2
    Posts
    3
    Years
    • Seen Sep 14, 2024
    I currently work on creating a Pokemon fan game and while doing so, I came across something that annoys me, that I want to change.
    While it is possible to engage in a 1v2 Battle against a single Trainer, I can't figure out how to force the game into a 1v2 against 2 seperate trainers.

    I want to do this, so the Player cannot just walk by double battles, just by removing all but 1 Pokemon from their Party.

    It would be possible to just create a new trainer class, to simulate a 1v2 against two seperate opponents, by just combining their trainer classes into a new one, but that would let them use each others Pokemon, which I don't want.
    Other than that, the game seems to ignore my "setBattleRule" if I activate a double battle against two seperate trainers and it just crashes if I try to activate it with only one Pokemon in my Party.

    I think I have to modify something in the Script, but I don't want to mess around it, without knowing what I'm doing. So, if someone knows more about how the Double Battles work and has an Idea, how I could achieve the 1v2 against two seperate opponents, I would appreciate your help a lot. Thanks for Reading :)
     
    Back
    Top