The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read


Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Thread Tools
Old June 3rd, 2013, 02:07 PM
12341 #4xx012
Join Date: Oct 2012
In Pokemon Red\Blue Pokedex Data is stored as bits in RAM areas.

In RAM Bit 0 represents that the current pokemon has not been seen/owned, while bit 1 represents that the same pokemon has been seen/is owned.
Actually, as the ROM originally is, 152 entries could work because 152 is a multiply of 8, so the max number of Pokedex Entries must be a multiply of 8.

What I'm trying to do is Expanding the max amount of Pokedex Entries, allowing a larger amount of entries.

A ROM expansion could be handful for this job, but the problem is the repointing of the RAM Areas, (RAM banks are between A000-BFFF), the problem is where I could store the new entries and make them work correctly.

That's the only problem for now, If I get new results, I'll elt you know.
I'm not active on this forum anymore.
Reply With Quote
Old June 10th, 2013, 04:24 AM
LudicoloDude's Avatar
Join Date: Mar 2012
Location: Hoenn
Age: 16
Gender: Male
Nature: Jolly
This is cool, I have always wanted to play a first gen game with more than the original 151 Pokémon. I know this next question is a bit off topic and might be on a forum somewhere, but would it be possible to add EV's and IV's to the game like third gen and higher?
Reply With Quote
Old June 11th, 2013, 10:57 AM
A Sunny Moo's Avatar
A Sunny Moo
Join Date: Jun 2013
Gender: Male
Ludicolo, the problem with this is that the EV's that you gain from another Pokemon is a value that is stored with the Pokemon. The OP is already dealing with a limited amount of space for each Pokemon entry. I don't know if there is a limit on the amount of data that can be stored in a Pokemon's entry, or if it can be expanded, but I know that storing EV information would take more than just a couple of bytes of information.
Reply With Quote
Old June 21st, 2013, 05:37 AM
12341 #4xx012
Join Date: Oct 2012
I wasn't asking of IV's and EV's, I was asking how's possible the repoint of the RAM areas in RED\BLUE so it's possible expand the Pokedex up to 152 - some will say:<< throught asm.>>
<<ohoh... thanks>>, but saying "asm" doesn't solves the problem, infact a hex-editing operation is needed in order to move the RAM areas.

The ROM expansion is very useful, and the new banks could keep the new RAM Areas, the problem is the pointer - editable also throught asm - of course - but isn't needed only change the Hexnumber that points to the Banks\adress in which the RAM areas are located?? (after the moving of course).

someone then may say <<you have to do a disassembly>> I already saw someone trying that, but I noted also he was able to add only a pokemon #152 (like I did only by hex-editing) while the other entries were totally ignored by the game.

say only <<hex editing>>, <<asm>> or <<disassembly>> isn't the solution, - and learn asm doesn't mean that then you don't have to hex-edit anymore at all.
I'm not active on this forum anymore.
Reply With Quote
Old August 28th, 2013, 10:35 AM
ShantyTown's Avatar
Forever Young
Join Date: Aug 2013
Gender: Male
I'm working on a Red Version hack right now, and I've successfully extended the Pokedex past 152. There was some discussion at Skeetendo that helped me understand what needed to be done.

As you said, the location in RAM for the "seen pokemon" (0xD30A) needs to be repointed to somewhere else in RAM that has more than 19 consecutive free bytes. I wasn't sure which, if any, locations in RAM were unused by the game. I got around this issue by decreasing the number of Pokemon stored in the player's PC Box from 20 to 19. The 20th Pokemon slot in the PC is at RAM location 0xDD09 and goes until 0xDD29, so that gives us a total of 33 free bytes for "seen pokemon". Of course, you'll have to go through the ROM and limit the number of pokemon in the box to 19, instead of 20. This was fairly straightforward, given the red version disassembly project.

Note that there is no need to repoint the "owned pokemon" RAM location because the "seen pokemon" RAM data is located directly after the "owned pokemon" data. That means that the "owned pokemon" data has an extra 19 bytes to work with after moving the "seen pokemon".

Hope this helps!
Check out my Gen 1 hacks: & Red Battle Factory

I'm mostly unavailable until the end of July.
Reply With Quote
Old November 8th, 2013, 03:31 PM
12341 #4xx012
Join Date: Oct 2012
Oh my dog!
I forgot about this thread!

I have to say that I laready fixed that problem since October and I've finished to fix it this month.
Now I could keep 248 Pokemon in the pokedex.

Once my hack is finished, I'll spoil some information about Pokedex Expansion + some information of how to push the Red ROM out of its limits.

Check it out then!
I'm not active on this forum anymore.
Reply With Quote
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 10:23 AM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.