PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > ROM Hacking > Research Workshop

Research Workshop Been researching into something recently? Whether it's Gen 1 or Gen 6 share it here and get some help/feedback.

Reply
 
Thread Tools Display Modes
Old 5th May 2014, 04:42 PM   #1
RED
One Man Team
 
Join Date: Jul 2013
Location: Tokyo, Japan
Age: 20
Posts: 31
RED
Talking 255 Tiles Hack & 256+ Pokemon

Because of boredness , I decided to do some hacking on applying 255 tiles hack and 256+ pokemon on Pokemon Gold. But I'm not sure If I'm going to complete it because I not that good on ASM.

255 Tiles Hack.


What I have done so far:
  • Load the tilesets graphics to Vram1
  • Palette assigning Set to 08-0F
  • Support 255 Blocks
Next things to do:
  • Fix the Battle Intro palette
  • Test if more bugs are still need to fix


256+ Pokemon Hack.


What I have done so far:
  • Extended the routine for pointer of Pokemon's GFX Pointers. Just checking the flag . Flag 0 is below 255 Pokemon graphics | Flag 1 256+ Pokemon Graphics
  • Extended the routine for Pokemon's stat structure.
  • Extended the routine for loading Pokemon palettes only for Pokedex.
Flag Set to 0

Flag Set to 1


Next things to do:
  • Extend the foot prints routine.
  • Extend the Name and class routine
  • Extend the the routine on how to call the 256+ Pokemon for both wild Pokemon battles and trainers battle.
  • Extend the routine for Pokemon info's.
  • On Pokedex instead of continuously counting 1 to 256+ Pokemon no. I'm going to put it on another mode.(eg. A-Z mode, New Pokedex mode. and so on)
'--------------------------------------------------------------
Just in case that I'm doing something wrong, just let me know and help me to correct that. Any help are all welcome.
__________________
And add me on Facebook, If you have some question in my hack and on hacking Pokemon G/S:
Red Cabusao

Upcoming TuT's
Fully working Pokeflute with music
Editing musics
Scrolling Town map
Editing attacks animation
Dive system
RED is offline   Reply With Quote
Likes Laquin, Elsa, Mateo liked this post
Sponsored Links
Old 5th May 2014, 06:08 PM   #2
Miksy91
Gotta fill something here.
 
Miksy91's Avatar
 
Join Date: Jul 2013
Location: Northern Europe
Age: 25
Posts: 130
Miksy91
Default

What are you going to do with pokedex info in ram? It would require twice as much information unless you took out either the seen or the catch table totally (could be the best way to implement it I think).

Anyway, looks good so far.
__________________
Miksy91 is offline   Reply With Quote
Old 6th May 2014, 06:35 AM   #3
Chamber
I'm a n00b D:
 
Chamber's Avatar
 
Join Date: Dec 2013
Posts: 25
Chamber
Default

An a great project!!, I wish you can finish.

Although they could not use the 255 tileset, it's okay that can be used 128 tileset and add some graphics from your hack.

I'd like to help in the process of expanding the number of pokemon, beginning to ask, where in the data is the pokemon you use to identify the flag?

An ambitious project worth being done.
Chamber is offline   Reply With Quote
Old 6th May 2014, 03:53 PM   #4
RED
One Man Team
 
Join Date: Jul 2013
Location: Tokyo, Japan
Age: 20
Posts: 31
RED
Default

Quote:
Originally Posted by Miksy91 View Post
What are you going to do with pokedex info in ram? It would require twice as much information unless you took out either the seen or the catch table totally (could be the best way to implement it I think).

Anyway, looks good so far.
Thanks for the info, I tried to search the routine for how does the own and seen works. I know that the the OWN starts at RAM 0xDBE4 and ends at 0xDC03. Then the SEEN starts at 0xDC04 then ends at 0xDC13.And also on what I red on this site, it tells that there are a lot of free space on the RAM(correct me if I'm wrong)
__________________
And add me on Facebook, If you have some question in my hack and on hacking Pokemon G/S:
Red Cabusao

Upcoming TuT's
Fully working Pokeflute with music
Editing musics
Scrolling Town map
Editing attacks animation
Dive system
RED is offline   Reply With Quote
Old 6th May 2014, 06:11 PM   #5
Miksy91
Gotta fill something here.
 
Miksy91's Avatar
 
Join Date: Jul 2013
Location: Northern Europe
Age: 25
Posts: 130
Miksy91
Default

Quote:
Originally Posted by RED View Post
Thanks for the info, I tried to search the routine for how does the own and seen works. I know that the the OWN starts at RAM 0xDBE4 and ends at 0xDC03. Then the SEEN starts at 0xDC04 then ends at 0xDC13.And also on what I red on this site, it tells that there are a lot of free space on the RAM(correct me if I'm wrong)
If you doubled the amount of pokemon and kept both "SEEN" and "CAUGHT" info in ram, you would have to make room for additional 256 + 256 = 512 bits = 64 bytes = 0x40 bytes.

The free space in ram (in Gold and Silver) starts at $DEC0 and ends at $DEFF (= 0x40 byte-area). In other words, this would take all the free space you would normally use for all kinds of handy stuff that you want to include in the hack. I have personally stored > 0x10 bytes of data there and will need even more than that for DE.

It would be useful if the hacker had at least 0x20 bytes of free space to work with but storing all the pokedex information would "lock" that possiblity unless you do something with the names of copies of the player and such. All of those aren't just copies either - player's name is replaced with that of DUDE when the catching example is shown as an example.

By the way... if you're wondering why you couldn't include the pokedex info starting at $DF00 instead, the reason is that stack area starts from $DFFF and goes all the way (back) to $DF00. You could temporarily put something there, but it would be cleared when the gameboy would be shut down (and wouldn't be saved in the save memory either). You might be able to work out with that though.
__________________

Last edited by Miksy91; 6th May 2014 at 06:14 PM.
Miksy91 is offline   Reply With Quote
Old 7th May 2014, 04:24 PM   #6
RED
One Man Team
 
Join Date: Jul 2013
Location: Tokyo, Japan
Age: 20
Posts: 31
RED
Default

I already found some new free space on RAM, since I don't now how does Seen/Own routine works, I will just do some tweak. I can use $DF00 for temporary storing the Seen/Own BiT?/Flag?. I have a good plan for it. .

So here is what I done today.


Things I have done today.
  • Different mode for set of Pokemon
  • I extended the routine for Foot prints and Pokemon Class
Next thing I will do.
  • Extend the cries routine
  • Fix the Seen/Own
__________________
And add me on Facebook, If you have some question in my hack and on hacking Pokemon G/S:
Red Cabusao

Upcoming TuT's
Fully working Pokeflute with music
Editing musics
Scrolling Town map
Editing attacks animation
Dive system
RED is offline   Reply With Quote
Old 7th May 2014, 09:53 PM   #7
Mateo
Johto Region Champion
AdministratorPHO VIP
 
Mateo's Avatar
 
Join Date: Jul 2013
Location: Johto
Age: 27
Posts: 856
Mateo Mateo Mateo Mateo Mateo
Send a message via Skype™ to Mateo
Default

If you will release the notes on where you moved these things to and the like, I will add support for this to Pokémon Editor Ultimate as well. I've already been meaning to release a new version that supports extended menu sprites anyway, so I may as well add the option to load the extra Pokémon as well if people have the patch installed.
__________________
mateo.





"I'm gonna, uh, demonstrate the hot moves..." - Flannery
Mateo is offline   Reply With Quote
Old 9th May 2014, 07:10 AM   #8
Chamber
I'm a n00b D:
 
Chamber's Avatar
 
Join Date: Dec 2013
Posts: 25
Chamber
Default

Very good progress you've made.

I'll leave this to have a reference of things to do:

Quote:
Originally Posted by Kollboyman
What need would be done:
- Special code every time a Pokemon is called to disregard the last bit of the level variable when assigning a level, and putting that bit to use. Wild Pokemon, Pokemon added to your party, Pokemon given as a gift, Pokemon in a trainer's party, etc.
- When the bit is on, to read from a separate table for the following:
* Names
* Base Stats table
* Crys
* Pictures
* Moves and Evolution Data
* Colors
* Icons on the menu
* RAM Addresses of the second Pokedex Seen/Own boolean arrays, or to just expand the existing ones.
* Print Pokedex Numbers + 256 whenever the Pokedex variable is displayed.
* Anything else I can't remember at the moment. Feel free to bring them up.
Chamber is offline   Reply With Quote
Old 12th May 2014, 01:58 PM   #9
RED
One Man Team
 
Join Date: Jul 2013
Location: Tokyo, Japan
Age: 20
Posts: 31
RED
Default

Quote:
Originally Posted by Mateo View Post
If you will release the notes on where you moved these things to and the like, I will add support for this to Pokémon Editor Ultimate as well. I've already been meaning to release a new version that supports extended menu sprites anyway, so I may as well add the option to load the extra Pokémon as well if people have the patch installed.
That would be great, I need to finish this hack and test if it is perfectly working. But once all things are okay, I will send you all the notes you need.
__________________
And add me on Facebook, If you have some question in my hack and on hacking Pokemon G/S:
Red Cabusao

Upcoming TuT's
Fully working Pokeflute with music
Editing musics
Scrolling Town map
Editing attacks animation
Dive system
RED is offline   Reply With Quote
Likes Mateo liked this post
Old 22nd June 2014, 11:06 PM   #10
Chamber
I'm a n00b D:
 
Chamber's Avatar
 
Join Date: Dec 2013
Posts: 25
Chamber
Default

Can You post your work notes for continue the patch?
Chamber is offline   Reply With Quote
Reply

Tags
255, 256, hack, pokemon, tiles, [GB/GBC], [Ongoing]

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 12:05 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo.
Pokémon Hackers Online (PHO) is in no way affiliated with or endorsed by Nintendo LLC, Creatures, GAMEFREAK inc,
The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast.
All forum/site content (unless noted otherwise) and site designs are © 2006-2013 Pokémon Hackers Online (PHO).
Green Charizard Christos TreeckoLv100

"Black 2" by ARTPOP. Kyurem artwork by XOUS.

no new posts