I am here to provide to you today a patch of touched's mega evolution system, for use in your hacks.
Why did I do this?
Well, since there are people out there that don't want to set up the mega evolution system themselves, I have gone through the trouble of doing it for you, as well as providing some materials to help you set up an editor to be compatible with mega evolution.
Now, you might say: "doesn't mbcn10ww have a patch for the mega evolution system?"
and you would be correct, however the link provided in that post is dead, and it seems it isn't going to be updated.
Included with this are 2 patches:
Mega Gold Teeth: Where the gold teeth (item slot 0x161) is the mega item.
Mega 10B: The mega item is an unused ? slot, this is used if you already want to use or are already using slot 0x161, like: if you want to do a Kanto game with mega evolution.
A roms.ini file for PGE, this is to make PGE (Pokemon game editor by Gamer2020) compatible with mega evolution, how I would do this is like so:
1. Download PGE (if you haven't already)
2. Make a copy of PGE and call it something along the lines of: "PGE Mega"
3. Go into the ini folder, and replace the roms.ini with my roms.ini
and that's it
(There's also a "how to use" .txt file, but I'm going to go over what's in that)
How to use, and things to note
Once you've installed the mega evolution system by patching it with lunar ips, open you rom in the modded PGE and choose the Pokemon you want to have mega evolve, then add an evolution for that Pokemon, for the evolution method, scroll down all the way. Then choose "Mega Evolution", and for the item, choose your Mega Stone. Next do the same method for the mega evolved Pokemon, but for the item choose the ? item above the master ball, and make the evolution be to the original non-mega Pokemon. This will make it so it reverts after the battle.
To activate it in game:
1. Give your player the mega key item, and the Pokemon you want to mega, as well as the Mega Stone item
2. Set var 0x40FE to whatever the mega key item your using's id is (either 0x161, or 0x10B)
3. Set var 0x40FF to whatever item name you want you opponent to use, (if not set it will use the default item, the one 0x40FE was set to)
4. Get into a battle with your Pokemon you set up for mega evolution
5. Press start, choose an attack, and watch
To make an opponent have a mega:
Just make the Pokemon on their team you want to mega hold the corresponding mega stone, and the AI will do the rest.
As for things to note:
The data is written to 0x800000, just make sure you don't have any data there. Better yet, apply this patch to a clean ROM
The symbol that rises up from a Pokemon is the curse symbol, you'll have to insert the mega evolution symbol yourself.
This patch is intended for Fire Red ONLY.
Sometimes a mega evolved Pokemon will attack itself on the first turn of being mega, (This is preventable, just use a status move the first turn) IF YOU FIND A BUG, REPORT IT
From a hack of mine (Still in development):
Touched: Mega Evolution System
PokéMew: For the instructions that helped set up and insert the repo
Leon and UltimaSoul: For the ROM base that helped me set up the PGE INI
Lunos: For helping me set up the repo initially
Devkitpro- Devkitpro team
Makegnu- Stuart Feldman
Python- Guido van Rossum
Lunar IPS- FuSoYa
If you use this, give credit to: "Child Amnesiac's Mega Evolution Patches"
First of all, I LOVE the music in the battle. Will definitely check out Pokémon Sevii. And second, this is an extremely nice patch for those who don't know how to use Devkitpro or python and are confused by how to insert it. But if you fix the Mega Evolution symbol, this would be amazing!