• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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
    10
    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
     
    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