• 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] Help enabling mega evolutions

pokefreak890

The One that will make everything great
853
Posts
9
Years
    • Seen May 18, 2023
    Hello so I have wattson with a manetric holding a mega stone now my question is how do I enable mega evolutions for the trainers I don't recall seeing how to do it unless I might have skimmed passed it which is a possibility if anyone can help me that would be great
     

    Lunos

    Random Uruguayan User
    3,115
    Posts
    15
    Years
  • Hello so I have wattson with a manetric holding a mega stone now my question is how do I enable mega evolutions for the trainers I don't recall seeing how to do it unless I might have skimmed passed it which is a possibility if anyone can help me that would be great
    I just remembered about this thread and I thought I should quote my post in the battle_engine_v2's thread here.
    First, you have to make sure to configure their trainerbattle correctly.
    In their entry at src/data/trainers.h, give them the F_TRAINER_PARTY_HELD_ITEM party flag, and set their trainerbattle type to ItemCustomMoves, or any other that lets you configure a trainer's Pokémon's held item.
    Then make sure to set that same trainerbattle type in the trainer's party entry at src/data/trainer_parties.h, and give them a Pokémon that can mega evolve (that is, a Pokémon that they can evolve into via the EVO_MEGA_EVOLUTION evolution method). Said Pokémon must be holding their mega stone too.

    Once you've done that, just build a ROM and test it out.
     
    Back
    Top