Advertiser Content

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
Hi everyone, I'm here to help you with doing Mega Evolution in your rom, I made a patch of Touched's Mega Evolution System for people who don't know how to compile it and want an easier way to do it.
(If you want some information about it, take a look at the original thread.)

- The offsets used are 0x970000 to 0x9716A3, make sure it is avaliable before patching.

How to use in G3HS:
Spoiler:
Open the .ini of your G3HS, then go to your rom settings, then replace:
evolutionmethods = Breeding Only,Friendship,Friendship (Day),Friendship (Night),Level-Up,Trade,Trade (Hold Item),Stone,ATK > DEF,ATK = DEF,ATK < DEF,PID (Wurmple->Silcoon),PID (Wurmple->Cascoon),Spawn a Second,Create Spawn,Beauty
evomethodsproperties = None,None,None,None,Level,None,Item,Item,Level,Level,Level,Level,Level,Level,Level,None
with

evolutionmethods = Breeding Only,Friendship,Friendship (Day),Friendship (Night),Level-Up,Trade,Trade (Hold Item),Stone,ATK > DEF,ATK = DEF,ATK < DEF,PID (Wurmple->Silcoon),PID (Wurmple->Cascoon),Spawn a Second,Create Spawn,Beauty,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,Mega Evolution
evomethodsproperties = None,None,None,None,Level,None,Item,Item,Level,Level,Level,Level,Level,Level,Level,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,Item
If you have added new evolution methods, you have to edit it again to your respective evolution methods, then make sure you have a backup of your .ini file.

or

1- Take the number of evolution methods you have, including the original ones from Breeding to Beauty (16 for an example);
2- Subtract your number (16) from 255;
3- Take the result (239), then place "None" 238 times and after it place the Mega Evolution/Item.


Activating:
Spoiler:
You need to insert on existing script or create a new script with the following lines:
setvar 0x40FF 0x161
setvar 0x40EF 0x161

LuizComZ

C4PT4IN BET4

Age 15
Male
Brazil
Seen August 31st, 2019
Posted March 2nd, 2019
18 posts
3 Years
Very cool I was having difficulty inserting the system of mega evolution by the Touched tutorial.
But one doubt:
How is the activation script? Is that I'm not good at scripting.
I tried to do one like this:
Spoiler:

#dynamic 0x970000
#org 0x970000
setvar 0x40FF 0x161
setvar 0x40EF 0x161
releaseall
end

BluRose

blu rass

Age 18
Male
rip x
Seen 1 Day Ago
Posted 4 Weeks Ago
765 posts
5.6 Years
Very cool I was having difficulty inserting the system of mega evolution by the Touched tutorial.
But one doubt:
How is the activation script? Is that I'm not good at scripting.
I tried to do one like this:
Spoiler:

#dynamic 0x970000
#org 0x970000
setvar 0x40FF 0x161
setvar 0x40EF 0x161
releaseall
end
weelll
that should be good but you don't need to use "releaseall" unless if you've used "lockall" in the same script
am i cool yet

LuizComZ

C4PT4IN BET4

Age 15
Male
Brazil
Seen August 31st, 2019
Posted March 2nd, 2019
18 posts
3 Years
weelll
that should be good but you don't need to use "releaseall" unless if you've used "lockall" in the same script
So I need to remove releaseall? substitute him with release? what I need to do exatally(sorry bad english)

This one gonna work?
Spoiler:
#dynamic 0x800000
#org 0x800000
#org @textstring
setvar 0x40FF 0x161
setvar 0x40EF 0x161
msgbox @talk1 0x6

#org @talk1
= mega evo actived

BluRose

blu rass

Age 18
Male
rip x
Seen 1 Day Ago
Posted 4 Weeks Ago
765 posts
5.6 Years
So I need to remove releaseall? substitute him with release? what I need to do exatally(sorry bad english)

This one gonna work?
Spoiler:
#dynamic 0x800000
#org 0x800000
#org @textstring
setvar 0x40FF 0x161
setvar 0x40EF 0x161
msgbox @talk1 0x6

#org @talk1
= mega evo actived
no reason that shouldn't :P
am i cool yet

BluRose

blu rass

Age 18
Male
rip x
Seen 1 Day Ago
Posted 4 Weeks Ago
765 posts
5.6 Years
I did not understand.

its gonna work? yes or no? you can PM me too
assuming mbcn10ww implemented it as well as i believe he can, then yes, that should work.
i can not pm you currently; you are a very new member.
press the start button afterwards in-battle and it should activate at the start of the turn directly after choosing a move.
am i cool yet

Tetra

Male
Seen 1 Day Ago
Posted October 27th, 2017
1,091 posts
10.2 Years
Regardless, patches aren't that good for a ROM, unless it's the only option. You should only be inserting the Mega Evolution how Touched planned for it to be inserted. Much more safer and you have control over what it's doing :)
Male
Seen July 8th, 2019
Posted January 26th, 2019
75 posts
5.3 Years
K so on request of the thread owner, i got this problem.
Ive inserted the patch on a rom which had mr.dollsteakpatch already.
Script is being activated
If i add no potion it doesnt work
If i add potion i get to see the symbol
BUT if i attack the pokemon then nothing happends...

setvar 0x40FF 0x161
setvar 0x40EF 0x161

Only added these 2 lines to an excisting script
Pokemon 'The Tree of Time'
Banner in progress!
https://www.pokecommunity.com/showthread.php?t=363830

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
K so on request of the thread owner, i got this problem.
Ive inserted the patch on a rom which had mr.dollsteakpatch already.
Script is being activated
If i add no potion it doesnt work
If i add potion i get to see the symbol
BUT if i attack the pokemon then nothing happends...

setvar 0x40FF 0x161
setvar 0x40EF 0x161

Only added these 2 lines to an excisting script
Are you pressing START when the symbol appears? Because you need to press START before selecting a move.
Male
Seen July 8th, 2019
Posted January 26th, 2019
75 posts
5.3 Years
Are you pressing START when the symbol appears? Because you need to press START before selecting a move.
Ye... i did not press start waauw sorry for wasting ur time...

Anyway i got a second question.
How can I make it work on PGE?
Also how can i add different evolution types from the ASM thread if I already applied this patch?
Pokemon 'The Tree of Time'
Banner in progress!
https://www.pokecommunity.com/showthread.php?t=363830

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
Ye... i did not press start waauw sorry for wasting ur time...

Anyway i got a second question.
How can I make it work on PGE?
Also how can i add different evolution types from the ASM thread if I already applied this patch?
I don't know how to make it work on PGE, I only used it on G3HS (in my opinion G3HS is a lot better to work with evolutions; you can use G3T too, it have support to the unused half word for some evolution methods).
You can easily add new evolution methods, because they are implemented manually, then you can choose where to place it in your rom, the Mega Evolution doesn't interfere anything, Touched made it for people to choose the Index of evolutions, then if the Mega Evo Index is from 0xF0 to 0xFF, you are free to use all Indexes before it (more than 200 Evolution Methods).
Male
Seen July 8th, 2019
Posted January 26th, 2019
75 posts
5.3 Years
I don't know how to make it work on PGE, I only used it on G3HS (in my opinion G3HS is a lot better to work with evolutions; you can use G3T too, it have support to the unused half word for some evolution methods).
You can easily add new evolution methods, because they are implemented manually, then you can choose where to place it in your rom, the Mega Evolution doesn't interfere anything, Touched made it for people to choose the Index of evolutions, then if the Mega Evo Index is from 0xF0 to 0xFF, you are free to use all Indexes before it (more than 200 Evolution Methods).
So I will have to manually insert those and then I can use the none and replace it with a new evolution method? Or does it need to be behind the mega evolution
Pokemon 'The Tree of Time'
Banner in progress!
https://www.pokecommunity.com/showthread.php?t=363830

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
So I will have to manually insert those and then I can use the none and replace it with a new evolution method? Or does it need to be behind the mega evolution
Yes, you need to add it manually.
Yes, you can replace the "None" for your new evolution methods.
Male
Seen July 8th, 2019
Posted January 26th, 2019
75 posts
5.3 Years
Yes, you need to add it manually.
Yes, you can replace the "None" for your new evolution methods.
And the offset for the first ''Noone'' after the beauty where can i find it?
Why did u enter so many ''Noone'' then?

Sorry for all the questions, trying to understand it!
Pokemon 'The Tree of Time'
Banner in progress!
https://www.pokecommunity.com/showthread.php?t=363830

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
And the offset for the first ''Noone'' after the beauty where can i find it?
Why did u enter so many ''Noone'' then?

Sorry for all the questions, trying to understand it!
You need to expand the Evolution Methods Table. The many "None" is because the way I wanted to do it, if you want to do it without them you need to compile the system by yourself with Touched's thread. I can't help you more because I didn't made these methods, I only made a patch to help some people implement it, you need to talk with the creators, try searching for "Adding New Evolution Methods" in the community or go to the ASM Resource Thread.

Puffle754

Male
Ridge Island
Seen June 13th, 2019
Posted April 6th, 2017
48 posts
8.5 Years
I'm running into a bit of a problem with the patch.

For some reason, P3GE refuses to save evolution values as high as you have set, it just keeps reverting back.

With a bit of testing, I found that if you remove 4 of the none entries, then it will save.

Could you either tweak the patch to work with this, or tell us where we could edit this in a hex editor?

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
I'm running into a bit of a problem with the patch.

For some reason, P3GE refuses to save evolution values as high as you have set, it just keeps reverting back.

With a bit of testing, I found that if you remove 4 of the none entries, then it will save.

Could you either tweak the patch to work with this, or tell us where we could edit this in a hex editor?
I haven't used PGE, and I don't have plans to make another patch, then I found the offsets of the evo index (but I don't know if it works, the Mega Evo was made in C then I think it needs additional editing than just changing the evo index, but try it if you want):

0x970848
0x9708DE
0x970A58

If it don't works, try Touched's thread and compile it, it's not hard to do because I did then I know what I'm talking about.

Hi everyone, I'm here to help you with doing Mega Evolution in your rom, I've made a patch of Touched's Mega Evolution System for people who don't know how to compile it and want an easier way to do it.
I only made it for G3HS because it is the best to work with evolutions in my opinion, sometimes I use G3T but not for new evo methods, I prefer to do manual editing on the evo table if not using G3HS.

Puffle754

Male
Ridge Island
Seen June 13th, 2019
Posted April 6th, 2017
48 posts
8.5 Years
I haven't used PGE, and I don't have plans to make another patch, then I found the offsets of the evo index (but I don't know if it works, the Mega Evo was made in C then I think it needs additional editing than just changing the evo index, but try it if you want):

0x970848
0x9708DE
0x970A58

If it don't works, try Touched's thread and compile it, it's not hard to do because I did then I know what I'm talking about.
My bad, I meant G3HS. I use both, so I must of got them mixed up...

Eitherway, I'm still running into the issue of G3HS not saving the mega evolution method. Whenever I set something to mega-evolve, it keeps reverting it to evolve with happiness during the day.

From the looks of it, I'm the only one with this problem, so I probably goofed something up. I attached my .ini file, could you take a peek at it, and see if I messed something up?

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
My bad, I meant G3HS. I use both, so I must of got them mixed up...

Eitherway, I'm still running into the issue of G3HS not saving the mega evolution method. Whenever I set something to mega-evolve, it keeps reverting it to evolve with happiness during the day.

From the looks of it, I'm the only one with this problem, so I probably goofed something up. I attached my .ini file, could you take a peek at it, and see if I messed something up?
I looked at your .ini, and you said when you remove 4 "None" it saves, it's because you really have four more "None" on 'evolutionmethodsproperties' than what I posted, and I found another problem, you have 3 less "None" on your 'evolutionmethods' than what I posted, then to fix it you only need:

evolutionmethods -> add 3 "None"

evolutionmethodsproperties -> remove 4 "None"

Puffle754

Male
Ridge Island
Seen June 13th, 2019
Posted April 6th, 2017
48 posts
8.5 Years
I looked at your .ini, and you said when you remove 4 "None" it saves, it's because you really have four more "None" on 'evolutionmethodsproperties' than what I posted, and I found another problem, you have 3 less "None" on your 'evolutionmethods' than what I posted, then to fix it you only need:

evolutionmethods -> add 3 "None"

evolutionmethodsproperties -> remove 4 "None"
So, I made the fixes to the .ini, and yet, I was still running into errors. I was looking through the Touched's original post to see if I could find any hints to what wasn't working, when I realized somthing kind of embarrassing. This whole time, I forgot the keystone. ._.

From the sounds of it, my .ini wouldn't have worked anyway prior to fixing it, thanks for being patient with me. :)

By the way, may be worth having a reminder about the keystone (Gold Teeth by defult) in the OP, just to prevent newbies like me from derping up.

mbcn10ww

Male
Brazil
Seen 1 Week Ago
Posted October 4th, 2019
367 posts
3.1 Years
So, I made the fixes to the .ini, and yet, I was still running into errors. I was looking through the Touched's original post to see if I could find any hints to what wasn't working, when I realized somthing kind of embarrassing. This whole time, I forgot the keystone. ._.

From the sounds of it, my .ini wouldn't have worked anyway prior to fixing it, thanks for being patient with me. :)

By the way, may be worth having a reminder about the keystone (Gold Teeth by defult) in the OP, just to prevent newbies like me from derping up.
No problem, I'm happy to help you, and I haven't made any information about things like the Key Stone because I made it by default, then before patching anything, everyone have to look at the original thread to know how it works.
See ya. ^^
Advertiser Content