PDA

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


Pazuzu
February 8th, 2007, 09: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
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!
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!

martijn
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 :)

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

frank$or
February 18th, 2007, 02: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. >.< )

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

Do you know what the first dex offset is?

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

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

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

clakes707
June 30th, 2007, 08: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!

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

trivium
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.

the3rdhardyboy
July 9th, 2007, 02: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, 07:01 AM
It would be most helpful if someone had this figured out for Sapphire. How long would something like that take?

D-Trogh
July 11th, 2007, 07: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..

Link2999
July 11th, 2007, 08: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)

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

spenceroone3
November 2nd, 2007, 07: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, 02: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.

*locks*

--FG