Decompile unk_02031904 (Pokeathlon save data)#472
Closed
amyanger wants to merge 1 commit intopret:masterfrom
Closed
Decompile unk_02031904 (Pokeathlon save data)#472amyanger wants to merge 1 commit intopret:masterfrom
amyanger wants to merge 1 commit intopret:masterfrom
Conversation
Decompile 23 functions managing the POKEATHLON_SAV struct: save system hooks, athlete point management, prize flags, daily shop tracking, and pokemon participation bitfields.
Collaborator
|
#468 was opened 2 days ago to make this exact change, why are you submitting a PR now to decompile the exact same function? |
Contributor
|
And it's not even matching. So what's the point? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
unk_02031904.smanaging thePOKEATHLON_SAVstruct (0xB80 bytes)POKEATHLON_SAVstruct layout insave_pokeathlon.h(previously opaque)sizeof/Init/Get), athlete point management (add/sub/get, capped at 99,999), prize unlock flags (27 bits), daily shop tracking, and per-pokemon event participation bitfieldsasm/unk_02031904.sandasm/include/unk_02031904.incmain.lsfto point to new C objectFunctions decompiled
Save_Pokeathlon_sizeofSave_Pokeathlon_InitSave_Pokeathlon_Getsub_02031974sub_02031978/sub_0203197C/sub_02031984/sub_02031990/sub_0203199Csub_020319A4sub_020319A8/sub_020319F8sub_020319DC/sub_020319E4/sub_020319F0SavePokeathlon_AddAthletePoints/SubAthletePoints/GetAthletePointssub_02031A78/sub_02031A98sub_02031AB8/sub_02031ACC/sub_02031AE4Test plan
-W errorenabled, zero warnings)