Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources

For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Closed Thread
Thread Tools
Old February 8th, 2007 (09:20 AM).
Pazuzu's Avatar
Flushing Meadows
Community Supporter
Join Date: Sep 2004
Location: Room 1202
Nature: Bold
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!
This signature has been disabled.
Height well exceeds 350px.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Old February 8th, 2007 (11:21 AM).
Martin Yiu
disappeared... forever
Join Date: Jan 2006
Great! I've been waitin for this for sooo long! Thank you Scizz for repost!

Old February 8th, 2007 (11:47 AM).
martijn's Avatar
HeartGold & Collosseum
Join Date: Jul 2006
Age: 25
Nature: Calm
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
I'm available if you'd like to exchange Friend Codes! Please check my profile and PM me if you're interested
Name: Wes

Diamond team: Rhydon - Infernape - Pachirisu - Pidgeot - Dewgong - Bellossom
Pearl team, pre-Nat. Dex 2nd Gym beaten: Espeon - Prinplup - Grovyle - Quillava - Staravia - Larvitar
Old February 17th, 2007 (08:01 AM).
BlueSonic's Avatar
Booted out - don't be like me!
Join Date: Aug 2005
Location: Braseberry City, Contri
Age: 23
Nature: Bold
Send a message via Windows Live Messenger to BlueSonic
Hey, can't i post the Scipted Command into Prof. Oaks speech after he gives you the dex?
Old February 18th, 2007 (02:52 AM).
Beginning Trainer
Join Date: Nov 2006
Nature: Adamant
Quote originally posted by _-Blade-_:
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. >.< )
Old April 12th, 2007 (10:13 AM).
Wuggles's Avatar
Pokémon Omega
Join Date: Mar 2007
Nature: Adamant
Nice Scizz, thnx

Do you know what the first dex offset is?
Come visit Pokemon Omega sometime!
Old May 10th, 2007 (03:56 AM).
Krypton-knight EX
Booted out - don't be like me!
Join Date: Mar 2007
Location: Jubilife city,sinnoh
Age: 20
Nature: Adamant
Send a message via Windows Live Messenger to Krypton-knight EX Send a message via Yahoo to Krypton-knight EX
Scizz you rock.I was lookin for this since the last 2 months
Old June 21st, 2007 (11:28 PM).
the3rdhardyboy's Avatar
Join Date: Apr 2007
Location: sydneh!!!!
Age: 20
Nature: Brave
can u plz post the tutorial for hex workshop doesnt look to clear for me
Pearl FC: 1805 9090 6114.
its a pretty cool cold aye

yes ive been a member since 2007 xD
Old June 28th, 2007 (08:44 PM).
ZodiacDaGreat's Avatar
Working on a Mobile System
Join Date: Feb 2007
Location: South Pacific
Age: 22
Gender: Male
Nature: Relaxed
Send a message via ICQ to ZodiacDaGreat
Um! Scizz, do u know how to enable the National Dex for Ruby/Sapphire???
Old June 30th, 2007 (08:48 AM).
Beginning Trainer
Join Date: Jun 2007
Nature: Adamant
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!
Old July 3rd, 2007 (06:15 PM).
Beginning Trainer
Join Date: Jul 2007
Nature: Adamant
SO what would it be for Emerald? And where?
Old July 4th, 2007 (11:46 PM).
trivium's Avatar
pokemon trainer
Join Date: May 2007
Location: Springgreen town, Systran
Nature: Brave
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.
Old July 9th, 2007 (02:56 AM).
the3rdhardyboy's Avatar
Join Date: Apr 2007
Location: sydneh!!!!
Age: 20
Nature: Brave
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
Pearl FC: 1805 9090 6114.
its a pretty cool cold aye

yes ive been a member since 2007 xD
Old July 11th, 2007 (07:01 AM).
20% Brock's Avatar
20% Brock
Freikorps Representative
Join Date: Jun 2007
Location: KY, USA
Age: 23
Gender: Male
Nature: Rash
Send a message via Windows Live Messenger to 20% Brock
It would be most helpful if someone had this figured out for Sapphire. How long would something like that take?
Old July 11th, 2007 (07:30 AM).
D-Trogh's Avatar
Join Date: Jul 2005
Location: Belgium
Age: 23
Gender: Male
Send a message via Windows Live Messenger to D-Trogh
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..
Old July 11th, 2007 (08:07 AM). Edited July 11th, 2007 by Link2999.
Link2999's Avatar
Beginning Trainer
Join Date: Jan 2007
Age: 22
Gender: Male
Nature: Modest
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)
Old November 2nd, 2007 (07:40 PM).
Join Date: Apr 2007
Location: Brisbane, Australia
Age: 18
Gender: Male
Nature: Quiet
I'm not sure. But that National Dex script is great!
Old November 2nd, 2007 (07:45 PM).
spenceroone3's Avatar
<he eats lots of burgers.
Join Date: Aug 2007
Location: In your closet
Nature: Hasty
Send a message via Windows Live Messenger to spenceroone3
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)
<wtf? A lugi-oh?
<What the hell did you do to my Arceus?
Old November 3rd, 2007 (02:11 AM).
Forest Grovyle's Avatar
Forest Grovyle
Resident Reptilian Artist
Join Date: Oct 2003
Location: The deepest, darkest corner of Ilex Forest
Age: 28
Gender: Female
Nature: Timid
Send a message via Skype™ to Forest Grovyle
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.



Forest Grovyle x wakachamo
~*paired since May 2007*~

Check out my Pokémon art tumblr at Poké-rama!
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25

All times are UTC -8. The time now is 08:31 AM.