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:
Code:
#org 0x800000
lock
faceplayer
checkflag 0x10A
if 1 jump 0x800050
special 0x16F
setflag 0x10A
fanfare 0x13E
msgbox 0x800100
callstd 0x6
waitfanfare
release
end
#org 0x800050
msgbox 0x800070
callstd 0x6
release
end
#org 0x800070
= Like your new POKéDEX?
#org 0x800100
= Your POKéDEX was upgraded!
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!