PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > Other Generations Hacking > Other Research

Other Research For research regarding Gen III or other hacks that aren't Gen I/II.

Reply
 
Thread Tools Display Modes
Old 17th October 2014, 07:26 PM   #11
Crystal_
n00b
 
Join Date: Oct 2014
Posts: 6
Crystal_
Default

Having deeply thought about it, it's evident that the 256+ Pokemon project is really much more complicated than just extending certain routines. You have to consider that there are thousands of routines where single references to Pokemon pass through and you can't afford "losing" the <256 / >256 flag at any point. For example, consider the routine GetBaseData. You have to update it to support reading from two different tables based on the flag, but it's not like GetBaseData can magically know whether to set or reset the flag. You have to go through every single routine that calls GetBaseData or is somehow related to it and adjust it accordingly. Depending what the routine is about, you'll have to take the flag from different ram addresses (party, battle, box, temp...). The way I'm doing it is using the highest bit of the level, since the level byte is pretty much in every pokemon structure. So apart from getting CurPartySpecies as a parameter, GetBaseData would also requiere the flag as another parameter (I called it TableNumber), and this parameter will have to be previously taken from a certain level ram address.

I've been working in parallel in a similar project (kinda, because I haven't done anything for the past 20 days or so, since I basically don't have time). I was hoping I could dedicate this some time in a near future and that maybe I could get some people involved then too. But not right now, at least not for me.

Anyway, I've done some things already; i'm working over pokecrystal since otherwise it's simply not viable at all: https://github.com/xCrystal/pokecrystal507

You can see information about what I've done already and other notes in the wiki: https://github.com/xCrystal/pokecrys...pokecrystal507 . I have done pretty much nothing really, putting it into perspective.

I haven't thought much about how to handle the extra space for seen/own flags at this point, but my initial idea was to move it to somewhere in sram.
__________________
▶ Youtube Channel ◀

Last edited by Crystal_; 17th October 2014 at 07:46 PM.
Crystal_ is offline   Reply With Quote
Sponsored Links
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 06:33 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