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

Start Syncing HGSS Battle Loading - Preliminary cleanup #314

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

adrienntindall
Copy link
Contributor

No description provided.

@lhearachel
Copy link
Collaborator

Reformat according to clang-format rules

@adrienntindall
Copy link
Contributor Author

Ready to review -- sorry bout the delays

@@ -4475,7 +4475,7 @@
.short \arg0
.endm

.macro ScrCmd_337 arg0, arg1
.macro ScrCmd_HasSeenSpecies arg0, arg1
Copy link
Collaborator

Choose a reason for hiding this comment

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

polish: Rename the ASM macros without the ScrCmd_ prefix.

Also, if you could document the arguments on the macro, that would be much appreciated. 🙏

@@ -7,7 +7,7 @@ typedef struct {
u32 unk_00;
int unk_04;
int unk_08[4];
TrainerData unk_18[4];
Trainer unk_18[4];
Copy link
Collaborator

Choose a reason for hiding this comment

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

note: Just noting here that we aren't documenting this right now without further info.

BOOL sub_0206B044(VarsFlags *varsFlags, u16 param1);
u16 sub_0206B054(VarsFlags *varsFlags);
u16 sub_0206B064(VarsFlags *varsFlags);
u16 VarsFlags_GetProfessorAssistantStarterSpecies(VarsFlags *varsFlags);
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: GetPlayerCounterpartStarterSpecies.


void PoketchData_Enable(PoketchData *poketchData);
void PoketchData_Enable(Poketch *poketch);
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: Rename PoketchData -> Poketch. (and the file from poketch_data.c to poketch.c)

@@ -6,48 +6,48 @@
#include "pokemon.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: Should we rename the files to pokedex.{c,h}?

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