The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Resources (https://www.pokecommunity.com/forumdisplay.php?f=490)
-   -   Code Mega Evolutions and Primal Reversion (https://www.pokecommunity.com/showthread.php?t=348182)

xerveltal March 22nd, 2016 5:21 AM

I have a problem,the AI trainer mega evo system works if the AI trainer has only one pokemon, if the trainer has 2 or more pokemon, and i tried to mega evolve his last pokemon, the Mega evolve system will triger to the first pokemon on his team. for example, his first pokemon is Groudon(holding nothing) and 2nd pokemon is Pidgeot (Holding Potion), and the AI tries the mega evolve system, this will happen.

http://imgur.com/cD188rR
http://imgur.com/x0O6Adz

curiters March 22nd, 2016 4:09 PM

Quote:

Originally Posted by xerveltal (Post 9174555)
I have a problem,the AI trainer mega evo system works if the AI trainer has only one pokemon, if the trainer has 2 or more pokemon, and i tried to mega evolve his last pokemon, the Mega evolve system will triger to the first pokemon on his team. for example, his first pokemon is Groudon(holding nothing) and 2nd pokemon is Pidgeot (Holding Potion), and the AI tries the mega evolve system, this will happen.

http://imgur.com/cD188rR
http://imgur.com/x0O6Adz

try to put in front your mega poke

xerveltal March 22nd, 2016 4:24 PM

Quote:

Originally Posted by curiters (Post 9175245)
try to put in front your mega poke

what do you mean? I want the gymleader to have his last pokemon to mega evolve. But it seems imposible

curiters March 22nd, 2016 4:53 PM

Quote:

Originally Posted by xerveltal (Post 9175266)
what do you mean? I want the gymleader to have his last pokemon to mega evolve. But it seems imposible

try to put first the mega poke in front of his/her team 1st. Mega pokemon 2.normal pokes 3. normal pokes etc...

xerveltal March 22nd, 2016 5:09 PM

Quote:

Originally Posted by curiters (Post 9175298)
try to put first the mega poke in front of his/her team 1st. Mega pokemon 2.normal pokes 3. normal pokes etc...

okay thanks, can you recommend me a trainer editor to use?

xerveltal March 22nd, 2016 6:16 PM

Quote:

Originally Posted by quil09 (Post 9116662)
Can someone help me how to fix this? This is what happens when the AI's 2nd to 6th Pokemon Mega Evolve. Did I do something wrong? I'm using MrDs patch.

http://i.imgur.com/WfZ2u4h.pnghttp://i.imgur.com/hX32AD7.png

The message uses the AI's first Pokemon and the Pokemon's sprite is not updating. But I think the Base stats and the ability of the Pokemon changes properly.

I have the same issue to

curiters March 22nd, 2016 6:51 PM

Quote:

Originally Posted by xerveltal (Post 9175309)
okay thanks, can you recommend me a trainer editor to use?

advance trainer is good to " custom item custom attacks"

pokefreak890 April 28th, 2016 11:59 AM

okay so for my base since i ended up using 800000 i cant insert mega evolutions by the normal method so what i did was insert the offset i want to insert it in linker.lsc and when i fisnhed it i checked that offset and it wasnt there and yes it was in a 0,4,8,C so if someone could help me out with this that would be great

Kostas April 29th, 2016 4:47 AM

I did all the steps and the G3HS part.
Actually I don't know what to do next.
For example I added in G3HS mega evolution for Typhlosion with "?????" as item like it says. What I am supposed to do next? Can someone help me?
Thanks!

deidara9216 May 6th, 2016 7:09 AM

brothers there a way to do this same process in other pkm as emerald as saphiro or ruby.
I could tell the message of the post in which you can. Thank you

deidara9216 May 6th, 2016 7:20 AM

Quote:

Originally Posted by Kwstaspaokara (Post 9220136)
I did all the steps and the G3HS part.
Actually I don't know what to do next.
For example I added in G3HS mega evolution for Typhlosion with "?????" as item like it says. What I am supposed to do next? Can someone help me?
Thanks!

I do not quite understand your question. q but remember, you must create a mega ring or bracelet q this default in the second ylera of items ??? below the TM.
for q mega evolution can react with the megas

pokefreak890 May 7th, 2016 8:47 AM

so i need help with inserting mega evolution to a different offset so i ended up using 800000 so what i did is go to linker.lsc and i put a new offset and then i click save and then i do the make and insert.py and i get a test.gba but when i go to the new offset nothing is there can someone help me

PokéMew May 7th, 2016 2:07 PM

Quote:

Originally Posted by pokefreak890 (Post 9230634)
so i need help with inserting mega evolution to a different offset so i ended up using 800000 so what i did is go to linker.lsc and i put a new offset and then i click save and then i do the make and insert.py and i get a test.gba but when i go to the new offset nothing is there can someone help me

You need to edit line 53 of insert.py as well:
Code:

where = 0x800000


Change it to your new offset as well as linker.lsc and you should be fine.

pokefreak890 May 7th, 2016 4:07 PM

i dont see a insert.py in my folder i see a insert as a python file but when i click on it nothing happens except for quick text that shows up and disappears

PokéMew May 7th, 2016 4:24 PM

Quote:

Originally Posted by pokefreak890 (Post 9230962)
i dont see a insert.py in my folder i see a insert as a python file but when i click on it nothing happens except for quick text that shows up and disappears

Right click it and open it with notepad++ (download it if you dont have it)

pokefreak890 May 7th, 2016 4:27 PM

it worked thanks pokemew

Zef May 17th, 2016 4:12 AM

hey, i've inserted mega evolution successfully but i have a question. is it possible to get the opponent to mega evolve? i can't figure it out

pokefreak890 May 17th, 2016 3:15 PM

It is possible to have the AI mega evolve but i don't know how and I'm also wondering how it is done my hack can't be done without it

Lance32497 May 17th, 2016 4:35 PM

Quote:

Originally Posted by pokefreak890 (Post 9246872)
It is possible to have the AI mega evolve but i don't know how and I'm also wondering how it is done my hack can't be done without it

You must edit the var used in mega evo hack. There are two, player's and opponent's var
4001 for player and 4002 for opponent, you have to change these var and set it via script. The value must be the key stone index ID.

pokefreak890 May 17th, 2016 4:45 PM

what exactly do u mean? okay so my default keystone ID is 0x34 for the mega bracelet and also how would the script be setup and also one more question do i have to change the 0x4002 to the keystone ID or not

Lance32497 May 17th, 2016 5:16 PM


Quote:

Originally Posted by pokefreak890 (Post 9246952)
what exactly do u mean? okay so my default keystone ID is 0x34 for the mega bracelet and also how would the script be setup and also one more question do i have to change the 0x4002 to the keystone ID or not

nope, change 4001 and 4002 to other unused and non-temporary vars like 4011 and 4012
find config.h in scr folder then open it in notepad
you will find these codes
Code:

#define KEYSTONE_PLAYER_VAR 0x4001
#define KEYSTONE_OPPONENT_VAR 0x4002
#define KEYSTONE_DEFAULT 0x161


make it
Code:

#define KEYSTONE_PLAYER_VAR 0x4011
#define KEYSTONE_OPPONENT_VAR 0x4012
#define KEYSTONE_DEFAULT 0x161


then save and assemble it on your rom
Now you must have a trainer holding 0x34 Item and a Pokemon let's say Lucario, holding a Lucrionite, The mega evolution of that pokemon must have been set already.

In a script
Code:

...
setvar 0x4011 0x45 /That will be your player's key stone/
setvar 0x4012 0x34 /activates 0x34 as opponent's key stone/
trainerbattle 0x3 0xTrainerID 0x0 @afterbattle
...



pokefreak890 May 18th, 2016 3:49 AM

the script wont compile for me

this is my script

#org 0x900000
setvar 0x4011 0x34
setvar 0x4012 0x35
trainerbattle 0x3 0xTrainerID 0x0

so for the trainer ID for testing purposes i put 0x176 which is a team rocket grunt but it wont seem to compile and another question do i have to have multiple of these scripts inserted to have multiple opponents do mega evolution as well?

Nuisance May 19th, 2016 2:58 AM

Does anyone know how to make it work with multiplayer battles? (link battles)

pokefreak890 May 19th, 2016 6:46 AM

okay so i finally made it to a point in my hack where i have edited all trainers and im about to edit the last gym leader in fire red and i want him to mega evolve his mon so i did everything regarding changing the 4001 and 4002 to 4011 and 4012 but i have trouble compiling the script

this is my script

#org 0x900000
setvar 0x4011 0x34
setvar 0x4012 0x35
trainerbattle 0x3 0xTrainerID 0x0

so for the trainer ID for testing purposes i put 0x176 which is a team rocket grunt but it wont seem to compile and another question do i have to have multiple of these scripts inserted to have multiple opponents do mega evolution as well?

Lance32497 May 19th, 2016 7:56 AM

Quote:

Originally Posted by pokefreak890 (Post 9249031)
okay so i finally made it to a point in my hack where i have edited all trainers and im about to edit the last gym leader in fire red and i want him to mega evolve his mon so i did everything regarding changing the 4001 and 4002 to 4011 and 4012 but i have trouble compiling the script

this is my script

#org 0x900000
setvar 0x4011 0x34
setvar 0x4012 0x35
trainerbattle 0x3 0xTrainerID 0x0

so for the trainer ID for testing purposes i put 0x176 which is a team rocket grunt but it wont seem to compile and another question do i have to have multiple of these scripts inserted to have multiple opponents do mega evolution as well?

yeas it won't really compile, your script is lacking something
#org 0x900000
setvar 0x4011 0x34
setvar 0x4012 0x35
trainerbattle 0x3 0xTrainerID 0x0 0xPointertotext


All times are GMT -8. The time now is 8:56 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.