Adding bank14, good chunk of text transcribed and labelled in bank0d, renaming farcall to callab, and much more #112
+4,012
−1,897
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 alwaysSpawn Point ID - 1
.object_struct changes: Removed the
Palette
holdover from final GSC, which caused values fromWalking
toStepType
to all be offset by one, and added placeholder value. Additionally splitRadius
into two bytes,RadiusX
andRadiusY
, 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.