The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Expanding the amount of move tutors (https://www.pokecommunity.com/showthread.php?t=355414)

Squeetz September 10th, 2015 4:10 PM

Expanding the amount of move tutors
 
Hi.


I have a slight problem. I've moved the move tutor table and repointed the previous pointers, but then comes the compatability table.
I have no idea how many Blocks the table is, or where exactly it is located. (In firered With MrDS patch)
If anyone knows where it's located and how long it is, I'd be really happy if you'd tell.
I also heard that doing this messes up some Tools? Can't I just edit the offsets in the .ini? (G3HS specifically)

azurile13 September 10th, 2015 4:48 PM

The compatibility table is at 0x08459B7E. Each entry is a 2 byte bitmap with a 1 indicating compatibility. But I think you have a bigger problem than the table location. You need to fix the routine because the existing only supports the amount of tutors that are currently in the game. I think there was a detailed tutorial somewhere around here, but you'll have to dig for it because I'm having a difficult time finding it.

Squeetz September 10th, 2015 5:42 PM

Quote:

Originally Posted by azurile13 (Post 8923019)
The compatibility table is at 0x08459B7E. Each entry is a 2 byte bitmap with a 1 indicating compatibility. But I think you have a bigger problem than the table location. You need to fix the routine because the existing only supports the amount of tutors that are currently in the game. I think there was a detailed tutorial somewhere around here, but you'll have to dig for it because I'm having a difficult time finding it.

I can see you found the same thread that I found about the ASM;
Quote:

Originally Posted by DoesntKnowHowToPlay
Move tutor compatibilities are located at x459B80 (right after the tutor moves themselves actually), and are just a series of two-byte bitmaps, one for each mon. As such, having more than 16 tutors while retaining reasonable compatibilities isn't feasible without editing the ASM involved (although I can't imagine it'd be very hard). You would break support for all one of the tutor-editing tools I know of though.

I don't care about the Tools it would supposedly 'break'. All I need to know is how long the table is.

azurile13 September 10th, 2015 6:14 PM

Quote:

Originally Posted by Squeetz (Post 8923088)
I can see you found the same thread that I found about the ASM;

I don't care about the Tools it would supposedly 'break'. All I need to know is how long the table is.

Uhm. It isn't the tools that matter. I'm reading the routine right now. You cannot expand move tutors without changing it. It loads the species bitmap as a halfword, then asrs (shifts bits) it by the move tutor index, which is quite a poor move tutor "expansion." The "reasonable compatibilities" DoesntKnowHowToPlay is referring to isn't about tools; it's about actual in game compatibilities.

Squeetz September 11th, 2015 5:03 AM

Quote:

Originally Posted by azurile13 (Post 8923105)
Uhm. It isn't the tools that matter. I'm reading the routine right now. You cannot expand move tutors without changing it. It loads the species bitmap as a halfword, then asrs (shifts bits) it by the move tutor index, which is quite a poor move tutor "expansion." The "reasonable compatibilities" DoesntKnowHowToPlay is referring to isn't about tools; it's about actual in game compatibilities.

Yeah, my bad. I talked to FBI about it.


All times are GMT -8. The time now is 2:30 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
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 - 2016 The PokéCommunity / PokéCommunity.com.
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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.