ROM Hack [Tutorial:PKHeX] How to Gen Legal/Legit Pokémon for Beginners

Majickhat55

The Red Woman
OP
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
How to create legal Pokémon with PKHeX for beginners

Section I: Main

I am not going to go into too much detail regarding exceptions to nature/IV spreads; ball/combinations; Shiny Events, etc after Gen 5. This is to encourage you to do your own research while also giving you specific examples from past generations.

1. Open PKHeX (it will automatically load your current “main” if the directory is present) and drag the “main” file to the open window.

2. Here you will see this familiar window:
upload_2017-5-19_3-39-42.png


On the very first tab, you will see a variety of options. To start, you obviously have to have a Pokémon in mind. For this tutorial, we will create a legal Faraway Island Mew from Pokémon Emerald.
For the species, we are going to choose “Mew” from the dropdown list. Next, we either choose to set a Nickname or not. When creating foreign Pokémon, the name will be changed to the foreign one. If you want to retain your languages name, nickname the Pokémon and check the box.
For this one, we will leave the box unchecked.
For the Exp/Level, you must research the available level(s) at the specific location that your Pokémon can be captured. I suggest using a combination of Serebii.com, Bulbapedia.com and Pokemondb.net.

Since we are making Mew, from Faraway island we can look the information up to see what level he can be caught:

upload_2017-5-19_3-39-58.png



Now we know he is only available at one level; 30.

Moving on to nature. This part can either be extremely simple, or a little complicated depending on if you want your Pokémon to appear legal or legitimate. If you choose the former then it really doesn’t matter what nature you choose; if you want it to look legitimate than you should consider that:

Only 4 natures are possible for 31/31/31/31/31/31 Pokémon caught in generations 3 & 4 (exceptions below). These natures are calm, docile, modest, and timid.

  • Wild Pokémon with variable genders (including Heatran) caught in Diamond, Pearl, and Platinum have 7 possible natures for 31/31/31/31/31/31. These are calm, docile, hasty, modest, quirky, sassy, and timid. Wild Pokémon with variable genders caught in Heart Gold and Soul Silver have 6 possible natures for 31/31/31/31/31/31. These are calm, docile, modest, quiet, sassy, and timid.
  • Shinies obtained through the Pokeradar in Diamond, Pearl, and Platinum can have any IV/nature combination.
  • Wild Pokémon (excluding Legendaries) from Ruby, Sapphire, Fire Red, Leaf Green, and Emerald have 9 possible natures for 31/31/31/31/31/31. These are calm, careful, docile, hardy, lax, modest, naive, rash, and timid.
Now for this Pokémon we will set the nature to “Modest” because we plan to give him a perfect IV spread of 31/31/31/31/31/31; which we know is a legitimate combination.

The held item can be anything except: Game specific items (i.e Blue/red Orb), MegaStones, Z-Stones, etc). The item does not matter if you are not trading the Pokémon.

For the friendship section, you need to know the “base happiness” of the Pokémon you are creating. Again, there are multiple places that you can check to see what the happiness level of the Pokémon is, I like Pokemondb.net.

upload_2017-5-19_3-40-18.png



Here we can see that his base happiness is “100” so we’ll set it to that.

The next section is the ability. Most legendaries only have one ability, for Mew it is “Synchronize”. Even though, PKHeX gives the option of selecting three abilities from the dropdown menu, the third is always considered the “Hidden Ability”. This is something else that requires research. While some Pokémon have their hidden abilities available, a lot of them do not; or only through special circumstances. You must research the abilities of your Pokémon to be sure it can exist in game.

If the first two abilities are the same, you may choose either.

For the language, it does not matter unless you desire to create a specific Pokémon only available to one region as in this tutorial. For Mew, we are going to choose “JPN” and do the same thing for “Country” and “3DS Region” (As mentioned earlier, you will notice the “Nickname” field has been filled in with the foreign name).

Now you should have something like this:
upload_2017-5-19_3-40-32.png





Section II: Met

This is probably the section where people mess up the most when generating Pokémon. I’m not exactly sure why, because it is very straight forward. The first section is the game of origin, which you should know by default when you decided to create your chosen Pokémon. It can get very specific when genning Pokémon with older movesets, or moves only available through tutors from previous generations etc. Again, this is when research comes into play. Look it up to be 100% sure the Pokémon can come from that game, at the level/nature you’ve set.
For Mew, we are going to set the Origin Game as “Emerald”.

The next section is the met location. If you are generating a breeded Pokémon then you will want to set this as any route or town in the GAME you want it to be “HATCHED” in. So, if you chose “Moon” as your origin game, you can select any route or town in Pokémon Moon as the met location. Then, you must check the “As Egg” box near the bottom. From the dropdown menu, on “location” choose Day-Care Helpers. The date MUST be a date BEFORE the met date in the field above. For most Pokémon from previous generations, you will want to choose “Poké Transfer”. The only time this is different, is if you are generating Event Only Pokémon, some of whom have VERY specific locations. For Mew, we will select “Poké Transfer” as stated.

Next it is as simple as choosing the Pokéball for your chosen Pokémon. Regarding legit vs legal, there are some combinations in terms of generations and available pokeballs. This is normally reserved for Dream balls, Apricorn balls in Gen 6, and Beast balls in Gen 7. Since we are creating a shiny Mew from gen 3, it makes sense to me to use a Masterball.

Now you have to set the met level. For ALL breeded Pokémon, this is going to be set to “1”. For everything else, you should be able to copy the level you chose in the previous step. If you are generating a battle-ready Pokémon, then you will want to research to available level of your Pokémon if you didn’t in section I. Following the former, we’ll set Mew’s level to “30”.

The met date really does not have any bearing on legality. You can set this freely, as only Pokémon born in the Generation you are genning for will display and actual date. (i.e. If you create a Gen 7 Pokémon in Gen 7, it will display an exact date). Any Pokémon from previous generations will simply read “…. Has traveled across space and time”. However, for legitimacy we will set our met date to “7/27/2005” when we know the Event Item was being distributed.

The “Fateful encounter” box is reserved for Event Only/Special Pokémon. You will not use this in most cases. Since this specific Mew, does receive the flag for a fateful encounter upon transfer, we are going to check this box.

Your Pokémon should look similar to this:
upload_2017-5-19_3-40-47.png





Section III: Stats

This is going to be a pretty short section as most things are obvious. You can choose to set the IV/EVs yourself specifically, or you can choose to randomize them. Be aware, no Pokémon can have more than 510 EV points total across all six stats and can have no more than 31 IVs. You can also set the hidden power at will, or set all IVs to 31 by holding CTRL and clicking “randomize IVs”. If you would like a specific characteristic, you can follow this chart to set your IVs to correspond to the one you want. For Mew, I will give him 31 IVs in all stats which will give him a hidden power of “dark” and the characteristic “Takes plenty of Siestas”
upload_2017-5-19_3-41-7.png



** As mentioned in section I, if you want the Pokémon to appear legit, you must recognize legitimate Nature/IV spreads for the chosen generation**

The contest stats have absolutely no bearing on legality so feel free to choose any number up to 255 in each stat. Although, for legitimacy sake I will be leaving this section blank.

So, we are left with something like this:
upload_2017-5-19_3-41-25.png





Section IV: Attacks

The attack section is very specific as well. Depending on the Pokémon you chose to create you must take extra care to research the attacks that are available. Attacks can be restricted by generation, level, events and tutors. Pokemondb.com offers a great section of Pokémon attacks based on their respective generation and how they are learned. I highly recommend using it to double check the legality of your Pokémon attacks.
upload_2017-5-19_3-41-38.png



For the example, Mew can learn any move. So, I figured we could have some fun and give him a few sought-after generation three moves. We will give him, Defog, Soft-Boiled, Will-O-Wisp, and Knock Off. Apparently, he is a staller Mew . Since he was born in Gen 3, but is being traded to Gen 7 all moves including and up to the latest generation are available to him provided all the conditions are met.
The PP Up section on the sidebar is completely optional. If you wish you can “feign” the use of PP Ups and give all your Pokémon’s attacks the max PP they can receive.


Relearn moves usually include egg moves, or moves learned at a lower level. Sometimes Pokémon (especially Event/Special Pokémon from previous generations) do not have relearn moves at all, so you may leave it blank. If the Pokémon may have relearned moves, you can click outside of the box for the program to populate the fields with suggested moves. For Mew, we will leave this section blank.

Now on to the next section.


upload_2017-5-19_3-41-51.png



Section V: OT/Misc.

The TID/OT information at the top of the tab will be filled in automatically when you load your save file. If it is not, you can click outside the field to populate it, or enter your information manually if you know it. If you are generating for someone else you must use their information in this field, not your own. For Mew, we will leave the field as is.

The “latest handler (Not OT)” section is only used when the Pokémon has been “traded”. That means if it is a Pokémon you received from someone else, or one that you are generating from a previous generation. The name does not matter as this field does not require any TID/SID information. For Mew, we will just put our OT in this field as well.

Markings are either generated by the game itself, or correspond to the generation the Pokémon is from and cannot be changed. Other markings are optional.

The ribbons tab contains all available ribbons in the game. These are completely optional as well and have no bearing on legality. NOTE: Event specific ribbons will prevent your Pokémon from trading through Wi-Fi; They will trade through direct Wi-Fi trades (If the Pokémon is legal with the ribbon) otherwise ALL Pokémon will trade via local. Since we want Mew to be legit as possible, we will not be using Ribbons.

Medals have no bearing on legality. These can be chosen freely. Though I would advise caution when choosing medals not available in current generations on current generation Pokémon.


Memories are something you normally do not have to mess with unless generating a Pokémon from scratch. Here, if your Pokémon is traded, the “Memories with OT” tab will be greyed out while reading “The Pokémon seems to have a good memory”. In the next tab “Memories with: Not OT” the top option “Memory type” depends on how the Pokémon was received. For traded Pokémon, choose the option “{0} became {1}’s friend when it arrived via Link trade at {2}. {4} that {3}”. Then for the area you may choose “somewhere” if unsure, or “Pokémon Center”. For the next section of “Intensity” just leave the default “The Pokémon Remembers”. And for the last section “feeling” you may choose what you desire.
upload_2017-5-19_3-42-11.png





Finalizing the Creation

Now return to the first tab called “Main”. At the very top you will see “PID” with a grey button next to it called “reroll”. Click this button, if you choose to make your Pokémon shiny, you may also click the “Star” icon to the left of the PID.

After rolling the PID, return to the last tab “OT/Misc.”. At the very bottom, you will see “Encryption Constant” with a grey button called “reroll” and a number similar to the PID. You must click this as well, then for a final time, return the “main” tab and reroll the PID once more to ensure it matches the new encryption constant.

And that’s it! You should now have a 100% legal Pokémon as recognized through PKHeX and of course the game itself! Have fun Genning!!

upload_2017-5-19_3-42-21.png


CREDITS: @Kaphotics for PKHeX, Bulbapedia.com and pokemondb.net.

If you appreciate this tutorial, I appreciate a coffee :D

EDIT: With recent updates to PKHeX legality involving PID/Nature/Encounters/IV with Pokemon in Gen 3/4/ generating these pokemon from scratch will ALWAYS result in an illegal pokemon as read by PKHeX. The pokemon are still recognized as "legal" by the game as it does not take PID into consideration when determining legality once transferred to Gen 6/7.

However, if you would like them to appear as legit as possible I would recommend using RNGReporter. This will allow you to retrieve a legal spread from your assumed RNG seed target pokemon to use in PKHeX. Alternatively, you can actively RNG for these pokemon in these games via emulator and transfer them with PKHeX.
https://github.com/Admiral-Fish/RNGReporter/releases
 
Last edited by Majickhat55,

neovari1102

Well-Known Member
Newcomer
Joined
May 20, 2017
Messages
49
Trophies
0
Age
27
XP
98
Country
I'm a beginner, I don't really understand the "relearn moves". are those moves I can get by the old woman in poke center near the poke league ?
And can I leave it blank to all the pokemon ? if not, how can I know what moves should I put in for certain pokemon ?
 

Majickhat55

The Red Woman
OP
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
I'm a beginner, I don't really understand the "relearn moves". are those moves I can get by the old woman in poke center near the poke league ?
And can I leave it blank to all the pokemon ? if not, how can I know what moves should I put in for certain pokemon ?
They only HAVE to have relearn moves if the pokemon you created was breeded, otherwise you can leave them blank. If you click JUST outside of the box you can type in the relearn moves, the program will suggest them for you.
 
  • Like
Reactions: neovari1102

kkusagami

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
170
Trophies
1
XP
1,336
Country
Malaysia
Hello, @Majickhat55 i have problem to create 6iv shiny legendaries pokemon that caught from gen3 and gen 4 games. I used pokegen to find shiny PID but all of them cant have 6 x 31 iv ,only 2~4 stats are 31 iv that shows legal ,how to make 6iv shiny legendaries to be legal?
 

Majickhat55

The Red Woman
OP
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
Hello, @Majickhat55 i have problem to create 6iv shiny legendaries pokemon that caught from gen3 and gen 4 games. I used pokegen to find shiny PID but all of them cant have 6 x 31 iv ,only 2~4 stats are 31 iv that shows legal ,how to make 6iv shiny legendaries to be legal?
IVs in Gen 3/4 directly correspond to natures. You need to change the nature of the pokemon to one that can be 6 IV then find a shiny PID for that.
 

kkusagami

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
170
Trophies
1
XP
1,336
Country
Malaysia
IVs in Gen 3/4 directly correspond to natures. You need to change the nature of the pokemon to one that can be 6 IV then find a shiny PID for that.

yeah ,i did that ,but still impossible to get 6iv ,according to this thread ,it looks like some shiny /non shiny legendaries gen3/4 couldn't get perfect iv ,but some saying we need to use RNGreporter to find it out ,I download RNGreporter but i have no idea how to use that thing,any advice?

Thank you for reply,sir.
 

Majickhat55

The Red Woman
OP
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
yeah ,i did that ,but still impossible to get 6iv ,according to this thread ,it looks like some shiny /non shiny legendaries gen3/4 couldn't get perfect iv ,but some saying we need to use RNGreporter to find it out ,I download RNGreporter but i have no idea how to use that thing,any advice?

Thank you for reply,sir.
Well they are right, it depends on the type of encounter to be honest. There are a few exceptions to the rule obviously. Which pokemon specifically are you having trouble with maintaining 6iv and shiny? Also, Pokegen is outdated it doesn't always produce correct results but rngreporter requires pre-setup work and understanding of frames/seeds in correlation to pokemon encounters. If you're having trouble generating one from scratch, use an existing pokemon to edit instead.
 

kkusagami

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
170
Trophies
1
XP
1,336
Country
Malaysia
Well they are right, it depends on the type of encounter to be honest. There are a few exceptions to the rule obviously. Which pokemon specifically are you having trouble with maintaining 6iv and shiny? Also, Pokegen is outdated it doesn't always produce correct results but rngreporter requires pre-setup work and understanding of frames/seeds in correlation to pokemon encounters. If you're having trouble generating one from scratch, use an existing pokemon to edit instead.

all Shiny Groudon ,dialga,palkia,giratina from heartgold ,deoxys from emerald ,phione from diamond.

I also have non 6iv shiny shaymin and darkrai but reading through thread there i found someone posted flawless iv shiny shaymin and darkrai pkm and i downloaded it then converted it to my game.

--------------------- MERGED ---------------------------

any kind of edit won't works for gen3/4 mons because they all are PID / IV related ,although hyper training existed in S&M ,it is just my personal collection for the informations of how to makes flawless iv mon myself for gen3/4.
 

Majickhat55

The Red Woman
OP
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
all Shiny Groudon ,dialga,palkia,giratina from heartgold ,deoxys from emerald ,phione from diamond.

I also have non 6iv shiny shaymin and darkrai but reading through thread there i found someone posted flawless iv shiny shaymin and darkrai pkm and i downloaded it then converted it to my game.

--------------------- MERGED ---------------------------

any kind of edit won't works for gen3/4 mons because they all are PID / IV related ,although hyper training existed in S&M ,it is just my personal collection for the informations of how to makes flawless iv mon myself for gen3/4.
Yeah I meant edit as in just use it for a base so you only have to change so much, or even just the species/met location if it already had 6Iv/ corresponding nature it's easier to find a legit PID. I'd just use RNgreporter my friend, it's literally the best way to get a proper PID unless you want to guess forever. . Rarely you'll get a matching one from just randomizing it in PKHeX. As long as PKHeX reads it as legal (and so does the game) I'm not too fussed if it's "legit".
 

Kimari94

Member
Newcomer
Joined
Sep 24, 2018
Messages
5
Trophies
0
Age
30
XP
55
Country
United States
Hey I’m new to pkhex and I am having trouble getting my created Pokemon .pk files into my game.sav

I tried looking my Pokémon up in the database and selecting tools but there is no option to import to my .sav

Can someone please tell me what I need to do. Thank you in advance.
 

Majickhat55

The Red Woman
OP
Member
Joined
Mar 28, 2016
Messages
4,936
Trophies
1
Age
36
Location
Asshai
XP
2,958
Country
United States
Hey I’m new to pkhex and I am having trouble getting my created Pokemon .pk files into my game.sav

I tried looking my Pokémon up in the database and selecting tools but there is no option to import to my .sav

Can someone please tell me what I need to do. Thank you in advance.
You need to export the save and then use another program on the console to import it such as JKSV.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: Cool. I will nvr say a FUQing Curse word Again :D