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 frontier_cmd_arcade #311

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

adrienntindall
Copy link
Collaborator

Starting with the battle arcade cause I wanna use specifically that for a project

@tgsm tgsm marked this pull request as draft March 27, 2024 02:24
@adrienntindall adrienntindall marked this pull request as ready for review April 8, 2024 01:39
@adrienntindall
Copy link
Collaborator Author

Ready for review

@adrienntindall adrienntindall changed the title Begin decompiling frontier command srcs Decompile frontier_cmd_arcade Apr 8, 2024
asm/include/overlay_80_02235390.inc Outdated Show resolved Hide resolved
include/frontier/frontier_cmd_arcade.h Outdated Show resolved Hide resolved
include/frontier/overlay_80_022340E8.h Show resolved Hide resolved
include/frontier/overlay_80_022340E8.h Outdated Show resolved Hide resolved
include/frontier/overlay_80_022340E8.h Outdated Show resolved Hide resolved
src/frontier/frontier_cmd_arcade.c Outdated Show resolved Hide resolved
src/frontier/frontier_cmd_arcade.c Outdated Show resolved Hide resolved
src/scrcmd_c.c Show resolved Hide resolved
src/scrcmd_c.c Outdated Show resolved Hide resolved
src/scrcmd_c.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@PikalaxALT PikalaxALT left a comment

Choose a reason for hiding this comment

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

Item of particular note is ArcadeContext documentation. What do all these fields mean? FrontierContext documentation would be nice as well, to the extent possible, but some fields may not be possible to document just yet.

src/scrcmd_c.c Show resolved Hide resolved
src/scrcmd_c.c Outdated Show resolved Hide resolved
src/frontier/frontier_cmd_arcade.c Outdated Show resolved Hide resolved
src/frontier/frontier_cmd_arcade.c Outdated Show resolved Hide resolved
src/frontier/frontier_cmd_arcade.c Show resolved Hide resolved
src/frontier/frontier_cmd_arcade.c Outdated Show resolved Hide resolved
src/frontier/frontier_cmd_arcade.c Outdated Show resolved Hide resolved
Back from my plat vacation (for now) mostly just put it off cause I didn't want to rename 100 functions (but I will)
red031000
red031000 previously approved these changes Jun 2, 2024
@@ -64,7 +64,7 @@ u32 BattleArcadeData_Alloc(SaveData *saveData, u32 a1, u8 a2, u32 a3, u32 a4, u3
void BattleArcadeData_Init(void *a0, u32 a1);
void BattleArcadeData_Free(void *a0);
u8 BattleArcade_GetWonBattlePoints(ArcadeContext *ctx, Party *playerParty, Party *opponentParty, int a3);
void ov80_02235364(Party *a0, Party *a1, int a2, int a3);
void ov80_02235364(Party *party, Party *playerParty, int a2, int a3);
Copy link
Collaborator

Choose a reason for hiding this comment

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

what's the difference between these two Party * parameters?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not 100% sure since that specific function isn't decompiled yet, it's something related to the roulette event that swaps (some) of your party mons with the opponents party mons though

src/frontier/frontier_cmd_arcade.c Outdated Show resolved Hide resolved
asm/overlay_80_0222AB40.s Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants