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

Message_Bank_Pokedex and Pokedex_Height_Check #336

Merged
merged 6 commits into from
Jan 21, 2025

Conversation

h2o-DS
Copy link
Contributor

@h2o-DS h2o-DS commented Jan 12, 2025

ov21_021E6014 -> pokedex_height_check
message_bank_unk_0697 -> message_bank_pokedex
Identified all uses of message_bank_pokedex
Started documentation of pokedex_height_check, the screen in the pokedex where the pokemon is compared to the trainer's silhouette.

There are still a decent amount undocumented because there are a couple structs that are widely used across overlay 21 that I don't feel confident enough naming yet.

ov21_021E6014 -> pokedex_weight_check
message_bank_unk_0697 -> message_bank_pokedex
Identified all uses of message_bank_pokedex
Started documentation of pokedex_weight_check
Fixed Misidentifications
@h2o-DS h2o-DS changed the title Message_Bank_Pokedex and Pokedex_Weight_Check Message_Bank_Pokedex and Pokedex_Height_Check Jan 12, 2025
src/overlay021/ov21_021D0D80.c Outdated Show resolved Hide resolved
src/overlay021/ov21_021D76B0.c Outdated Show resolved Hide resolved
src/overlay021/ov21_021DE668.c Outdated Show resolved Hide resolved
src/overlay021/pokedex_height_check.c Outdated Show resolved Hide resolved
src/overlay021/pokedex_height_check.c Outdated Show resolved Hide resolved
src/overlay021/pokedex_height_check.c Outdated Show resolved Hide resolved
Added all found gmm constants for message_bank_pokedex
Renamed message_bank_pokedex gmm constants
Documented several simple functions
@h2o-DS
Copy link
Contributor Author

h2o-DS commented Jan 19, 2025

Added all the gmm constants I could find for this message bank. Will make identifying future files in overlay 21 much easier.

Copy link
Collaborator

@lhearachel lhearachel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks mergeable to me, short of a few small caveats. Great work. 🙂

include/overlay021/ov21_021D0D80.h Outdated Show resolved Hide resolved
src/overlay021/ov21_021D4C0C.c Outdated Show resolved Hide resolved
src/overlay021/ov21_021D5AEC.c Show resolved Hide resolved
Changed instances of `int heapID` in overlay021 to `enum HeapId heapID`
DisplayMessage -> Pokedex_DisplayMessage
@h2o-DS
Copy link
Contributor Author

h2o-DS commented Jan 19, 2025

I have changed all instances of int heapID in overlay 21 to enum HeapId heapID.

@lhearachel lhearachel merged commit ac990fd into pret:main Jan 21, 2025
2 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 21, 2025
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