Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding bank14, good chunk of text transcribed and labelled in bank0d, renaming farcall to callab, and much more #112

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

DrippingYellow
Copy link

@DrippingYellow DrippingYellow commented Jan 11, 2025

Forgive me if this is a messy commit, I'm not used to the process of GitHub development.

I've spent the past two weeks or so slaving away at several parts of the SpaceWorld 97 disassembly, with the major changes in no particular order being:

  • Bank $14: has had all of its functions in shim.sym (mostly relating to the stats screen and party menu) properly decompiled, and many more that happened to be found in between. Text and a few functions are labelled, but most are not. There is still about $dc8 bytes left near the end bank, which I have labelled as "Unknown53274".

  • Fly Destinations, Landmarks, Spawn Points: Moved into separate data files, and have been constantified where not previously. Spawn Point and Fly Point constants can be merged if they are redundant, since Fly Point ID is always Spawn Point ID - 1.

  • object_struct changes: Removed the Palette holdover from final GSC, which caused values from Walking to StepType to all be offset by one, and added placeholder value. Additionally split Radius into two bytes, RadiusX and RadiusY, to match treatment in code.

  • Band $0d: Labelled several functions and text, transcribed good chunk of text from raw bytes to actual text, and constantified and labelled move grammar.

  • FarCall name changes: Per issue 69, farcall and its ilk are renamed to match pokered, which is its closest parallel (Port refactorings and formatting from pokered/pokegold/pokecrystal #69)

There might be other minor changes or added labels that I haven't brought up. If there are glaring problems with any of my changes (i.e. naming inconsistencies. I think my "PartyMenuInBattle" functions might be a culprit, oops!), please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants