View Full Version : [Tutorial] [Repost | FR/LG/E] How to enable the National Dex

February 8th, 2007, 9:20 AM
How to enable the National Dex in Fire-Red/Leaf-Green/Emerald

It's been a while since I discovered the script part where your National Dex is enabled in Fire-Red, Leaf-Green and Emerald.
So I thought it's about time to let the others know how it's done, so they can use it in their own Hacks.

Requirements: Fire-Red/Leaf-Green/Emerald (US) ROM, ScriptED/Hex-Editor.

The whole secret is this piece of Hex code:
- Fire-Red/Leaf-Green: 256F01
- Emerald: 25F301

Which, when decompiled by ScriptED, would turn out as this command:
- Fire-Red/Leaf-Green: special 0x16F
- Emerald: special 0x1F3

When used in your script, your normal Pokédex will be turned into the National Dex, and allows all Pokémon to be listed.

A sample script for FR/LG in ScriptED could look like this:
#org 0x800000
checkflag 0x10A
if 1 jump 0x800050
special 0x16F
setflag 0x10A
fanfare 0x13E
msgbox 0x800100
callstd 0x6

#org 0x800050
msgbox 0x800070
callstd 0x6

#org 0x800070
= Like your new POKéDEX?

#org 0x800100
= Your POKéDEX was upgraded!
Alternatively, or when you prefer scripting by Hex-Editor, you can use the Hex command listed above and insert it in your script.

Keep in mind that this method only works in Fire-Red, Leaf-Green and Emerald ROMs. Ruby/Sapphire uses a different value for the command, which hasn't been discovered yet.

Document is Copyright 2006 by Scizz.
You are not allowed to copy anything without permission!

Martin Yiu
February 8th, 2007, 11:21 AM
Great! I've been waitin for this for sooo long! Thank you Scizz for repost!

February 8th, 2007, 11:47 AM
How could I apply this script to the technology guy in Pallet? I compiled the script example using ScriptED as it was, no modifications. Then I tried to assign the script offset code to the technology guy using Advance Map (800000 is what I used) but it didn't work...
Can you explain how to make the script work correctly?
Thanks in advance!
Edit: Never mind, it works! :) Had a zero too much :)

February 17th, 2007, 8:01 AM
Hey, can't i post the Scipted Command into Prof. Oaks speech after he gives you the dex?

February 18th, 2007, 2:52 AM
Hey, can't i post the Scipted Command into Prof. Oaks speech after he gives you the dex?

You could use an 'call' command to find the other script.
( Don't ask for a script. >.< )

April 12th, 2007, 10:13 AM
Nice Scizz, thnx :)

Do you know what the first dex offset is?

Krypton-knight EX
May 10th, 2007, 3:56 AM
Scizz you rock.I was lookin for this since the last 2 months

June 21st, 2007, 11:28 PM
can u plz post the tutorial for hex workshop doesnt look to clear for me

June 28th, 2007, 8:44 PM
Um! Scizz, do u know how to enable the National Dex for Ruby/Sapphire???

June 30th, 2007, 8:48 AM
i put the script into the guy in Pallet Town using scriptEd, but when I played the game in VBA, the guy wouldn't say anything when I talked to him. Please help me solve this, thanks!

July 3rd, 2007, 6:15 PM
SO what would it be for Emerald? And where?

July 4th, 2007, 11:46 PM
does anyone know how to do this with advancemaps, becvause i don't and i'm making a hack and this would really help if anyone knows.

July 9th, 2007, 2:56 AM
umm could u post the calculated script offset becaus eiv ebeen trying for th elast 3 weeks to try and get it to be calculated and it dont work

20% Brock
July 11th, 2007, 7:01 AM
It would be most helpful if someone had this figured out for Sapphire. How long would something like that take?

July 11th, 2007, 7:30 AM
Well.. In R/S the only problem is that the Pokémon are not shown in the PokéDex, but they do evolve..
In FR/LG/E they fixed this, you need the NationalDex before those Pkmn can evolve..

July 11th, 2007, 8:07 AM
This is good to know, but what's the original DEX's values in Emerald? I would like to switch the original with the National (25F301)

November 2nd, 2007, 7:40 PM
I'm not sure. But that National Dex script is great!

November 2nd, 2007, 7:45 PM
That is so offtopic. You're doing it again. YOU DON'T POST IN A THREAD OVER A MONTH OLD! (Though I also would like to know whatever happened to scizz)

Forest Grovyle
November 3rd, 2007, 2:11 AM
blueray, I'm giving you a warning. You again bumped a thread over a month old without any reference to the topic in your post. Do NOT do this again.

spenceroone3, please report instead of posting basically the same thing the member did. Don't discuss people's bans here, please.