Decomped GetExplorerMazeTeamName

Decomped by @slaw-22
This commit is contained in:
AnonymousRandomPerson
2026-03-16 20:00:02 -04:00
parent bc95728e60
commit 1d020b7eff
7 changed files with 45 additions and 81 deletions

View File

@@ -4,6 +4,8 @@
#include "item.h"
#include "move.h"
#define MAX_GROUND_TEAM_MEMBERS 555
struct ground_move {
// 0x0: flags: 1-byte bitfield
// See move::flags0 for details
@@ -98,7 +100,7 @@ struct team_member_table {
//
// Subsequent entries are normal recruits. If a member is released, all subsequent members will
// be shifted up, so there should be no gaps in the list.
struct ground_monster members[555];
struct ground_monster members[MAX_GROUND_TEAM_MEMBERS];
// 0x936C: Currently active team members for each team, listed in team order. The first index is
// the team ID (see enum team_id), the second is the roster index within the given team.
//

View File

@@ -1,6 +1,13 @@
#ifndef PMDSKY_MAIN_02059060_H
#define PMDSKY_MAIN_02059060_H
struct WriteMonsterInfoToSave_struct {
u32 unk0;
u32 unk4;
s32 result;
u32 unkC;
};
// Returns the name of the explorer maze team. If the language of the team name is different from the
// language of selected in this game a default team name is written to the buffer instead.
// dest: [output] Buffer
@@ -8,5 +15,6 @@ void GetExplorerMazeTeamName(u8 *dest);
u64 sub_020590C0(void);
void sub_020590DC(u64 param0);
struct ground_monster* GetExplorerMazeMonster(s16 entry_number);
s32 WriteMonsterInfoToSave(void* start_addr, u32 total_len);
#endif //PMDSKY_MAIN_02059060_H