mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-27 03:18:13 -05:00
Random doc/clean
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
35
include/structs/str_mission_rewards.h
Normal file
35
include/structs/str_mission_rewards.h
Normal 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
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user