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.
Yeah, just make it random for a wild pokemon to have either of their 3 possible abilities. Check out src/wild_encounter.c there https://github.com/pret/pokeemerald/blob/master/src/wild_encounter.c#L346 and once the pokemon was created, you could call SetMonData to modify their MON_ABILITY_NUM.
Hey, that was because I had not merged the latest pokeemerald commits. I just updated all my three repos and you should be able to merge all my stuff without any problems.
Small update since many people asked me about this earlier. Hidden abilities are added in without the need of rewriting the structs, I dealt with that. Here's info from the updated main post:
If you're curious, I removed isEgg field from battle pokemon(since eggs cannot participate in battles)...
1. No, so far ony mega evo is coded.
2. Pretty easy, each weather has two flags WEATHER_X and WEATHER_X_PERMAMENT, so it's a matter of checking a pokemon species and if it's groudon set it to be permament, otherwise use regular 5-8 turns weather.