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

Decompile overlay_02_02251E74.c #353

Merged
merged 14 commits into from
Nov 23, 2024
Merged

Conversation

adrienntindall
Copy link
Collaborator

Making this a draft early in case anyone sees what the heck these functions are even for so I can begin to properly document them

@adrienntindall adrienntindall marked this pull request as ready for review November 19, 2024 15:45
include/overlay_2/overlay_02_02251E74.h Outdated Show resolved Hide resolved
src/overlay_02_02251E74.c Outdated Show resolved Hide resolved
} CelebiTimeTravelState;

static BOOL Task_CelebiTimeTravelCutscene(TaskManager *taskMan) {
int *state = TaskManager_GetStatePtr(taskMan);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe our .clang-format has changed since you started this file, so it should probably be run again

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

looks like clang-format doesn't catch these anymore, so will fix what I can manually and if I miss some it's nbd

src/field/event_cutscene_shaymin.c Outdated Show resolved Hide resolved
src/field/event_cutscene_shaymin.c Outdated Show resolved Hide resolved
src/field/event_cutscene_shaymin.c Outdated Show resolved Hide resolved
src/field/event_cutscene_sinjoh.c Outdated Show resolved Hide resolved
src/field/overlay_2_gear_phone.c Outdated Show resolved Hide resolved
src/field/overlay_2_gear_phone.c Show resolved Hide resolved
src/field/overlay_2_gear_phone.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@tgsm tgsm left a comment

Choose a reason for hiding this comment

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

IHNMC 👍

Comment on lines +83 to +87
a1[0] = gearPhone->unk_arr5[0];
a1[1] = gearPhone->unk_arr5[1];
a1[3] = gearPhone->unk_var3;
a1[4] = gearPhone->unk_var4;
a1[2] = gearPhone->unk_var7;
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is probably a struct, but it can be figured out later

@tgsm tgsm merged commit 60aebbc into pret:master Nov 23, 2024
1 check passed
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