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

[Battle] White 2 triple battle infighting

  • 6
    Posts
    6
    Years
    • Seen Sep 17, 2020
    I'm trying to make a White 2 ROM hack where all trainer battles are simply changed to triple battles with enchanced difficulty and customized teams for special trainers.
    Now I'm testrunning the hack and everything seems to work just fine except for the fact that enemy trainer's Pokemon sometimes attack eachother, going as far as to use helping hand on one of my pokemon.
    At first I thought it was because of the difficulty the Pokemon where set to 0 (I thought having difficulty set to 0 might completily randomize what moves Pokemon where going to use and who they where going to use it on), but gym leaders,whose Pokemon are set to high intelligence/difficulty, also seem to be doing it.
    I'm using BTWET to change the trainer battles if that matters.
    Does anyone know how to fix this?
     
    The trainer difficulty/AI setting is made up of a few flags, which most editors show as one number. In some games the AI has a flag that needs to be set to stop it attacking itself in double and triple battles; it's the 8th bit in the intelligence/difficulty setting, so all you need to do is change that setting to certain numbers. The usual settings are these:

    • Dumb (won't use most moves that do nothing, but otherwise uses moves randomly): 1 for single battles, 129 for double battles (129 in binary = 1000 0001)
    • Less dumb (Not sure what changes here): 3 for single battles, 131 for double battles (131 in binary = 1000 0011)
    • Best (still dumb, but it's what gym leaders etc. usually use): 7 for single battles, 135 for double battles (131 in binary = 1000 0111)
    TL;DR: set the AI value to 135, this should stop them attacking themselves. At least, it does in XY. Should be the same in BW2.
     
    Did you manage to get it working?
    I've been searching for a triple battles and/or rotation battles hack for quite a while but never found one
     
    Back
    Top