Random doc/clean

This commit is contained in:
Kermalis
2026-02-03 18:24:17 -05:00
parent 6d8ff1950b
commit f631e58e81
59 changed files with 1142 additions and 1120 deletions

View File

@@ -10,6 +10,14 @@ typedef struct RGB_Struct
u8 unk4; // Never read, always 0x80. Unused transparency/alpha flag?
} RGB_Struct;
// Size: R=0x8 | B=0x6
typedef struct RGB_Struct16
{
s16 r;
s16 g;
s16 b;
} RGB_Struct16;
#define RGB_R 0
#define RGB_G 1
#define RGB_B 2

View File

@@ -1,6 +1,7 @@
#ifndef GUARD_STR_802C39C_H
#define GUARD_STR_802C39C_H
#include "structs/str_mission_rewards.h"
#include "structs/str_wonder_mail.h"
// size: 0x58
@@ -12,7 +13,7 @@ typedef struct unkStruct_802C39C
/* 0x10 */ s16 clientSpecies;
/* 0x12 */ s16 targetSpecies;
/* 0x14 */ u8 targetItem;
/* 0x18 */ unkStruct_802F204 unk18;
/* 0x18 */ MissionRewards rewards;
/* 0x40 */ u8 mailTitleType;
/* 0x41 */ u8 mailDescriptionType;
/* 0x42 */ u8 mailMissionType;

View File

@@ -0,0 +1,35 @@
#ifndef GUARD_STR_MISSION_REWARDS_H
#define GUARD_STR_MISSION_REWARDS_H
#define MAX_ITEM_REWARDS 3
enum RewardType
{
MONEY,
MONEY_EXTRA,
ITEM,
ITEM_EXTRA,
BLANK_4,
MONEY1,
MONEY1_EXTRA,
ITEM1,
ITEM1_EXTRA,
FRIEND_AREA,
END_REWARDS
};
// Size: 0x28
typedef struct MissionRewards
{
/* 0x0 */ u8 clientName[POKEMON_NAME_LENGTH];
/* 0xA */ u8 name2[POKEMON_NAME_LENGTH]; // target name?
/* 0x14 */ s16 clientSpecies;
/* 0x16 */ u8 rewardType; // See enum "RewardType"
/* 0x18 */ s32 moneyReward;
/* 0x1C */ u8 itemRewards[MAX_ITEM_REWARDS];
/* 0x1F */ u8 quantity;
/* 0x20 */ u8 friendAreaReward;
/* 0x24 */ u32 teamRankPtsReward;
} MissionRewards;
#endif // GUARD_STR_MISSION_REWARDS_H

View File

@@ -2,9 +2,8 @@
#define GUARD_STR_WONDER_MAIL_H
#include "constants/wonder_mail.h"
#include "structs/str_dungeon.h"
#include "structs/str_pokemon.h"
#include "structs/str_dungeon_mail_seed.h"
#include "structs/str_pokemon.h"
// size: 0x14
typedef struct WonderMail
@@ -21,20 +20,6 @@ typedef struct WonderMail
/* 0x13 */ u8 friendAreaReward;
} WonderMail;
// size: 0x28
typedef struct unkStruct_802F204
{
/* 0x0 */ u8 clientName[POKEMON_NAME_LENGTH];
/* 0xA */ u8 name2[POKEMON_NAME_LENGTH]; // target name?
/* 0x14 */ s16 clientSpecies;
u8 rewardType;
/* 0x18 */ s32 moneyReward;
/* 0x1C */ u8 itemRewards[MAX_ITEM_REWARDS];
/* 0x1F */ u8 quantity;
/* 0x20 */ u8 friendAreaReward;
/* 0x24 */ u32 teamRankPtsReward;
} unkStruct_802F204;
// size: 0xB4
typedef struct unkStruct_803B344
{