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

Battle Style Set

66
Posts
11
Years
    • Seen Oct 30, 2023
    Didn't really found something in the wiki. How can I make a battle against a trainer set? (No switching pokemon between battle)
     
    66
    Posts
    11
    Years
    • Seen Feb 9, 2017
    I don't see why $PokemonSystem.battlestyle=1 wouldn't work.
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    It would work, but the game shouldn't be changing the player's options for them. You'd need to revert it to whatever it was previously once the battle is over.

    It'd be simpler just to make the battle style Set by overriding it if a particular game switch is on. Find where the value of $PokemonSystem.battlestyle is used in battle, and add appropriate code.
     
    Back
    Top