pmd-red/include/code_8094F88.h
2023-03-31 09:20:45 -07:00

55 lines
1.1 KiB
C

#ifndef GUARD_CODE_8094F88_H
#define GUARD_CODE_8094F88_H
#include "item.h"
struct unkStruct_203B480
{
/* 0x0 */ u8 mailType;
/* 0x1 */ u8 missionType;
/* 0x4 */ struct DungeonLocation dungeon;
/* 0x8 */ u32 unk8;
/* 0xC */ s16 clientSpecies;
/* 0xE */ s16 targetSpecies;
union unk10_temp
{
u32 unk10;
u16 unk10_u16;
} unk10;
/* 0x14 */ u8 playerName[0x20 - 0x14];;
struct Item unk20;
u32 unk24;
u32 unk28;
s8 rescuesAllowed;
u8 unk2D;
u8 padding4[0x30 - 0x2E];
};
struct unkStruct_203B484
{
u32 unk0;
struct PokemonStruct unk4;
};
struct unkStruct_203B48C
{
s32 unk0;
s32 unk4[0x20];
};
bool8 sub_80951FC(struct unkStruct_203B480 *param_1);
struct unkStruct_203B480 * sub_8095228(u8 index);
void DeleteMailAtIndex(u8 index);
void sub_8095274(u32 param_1);
bool8 sub_8095298(s32 param_1);
void sub_80952C4(void);
bool8 HasMail(u8 mailType, u32 param_2);
s32 CountMailType(u8 mailType);
u32 CountAllMail(void);
s32 sub_8095374(void);
s32 GetMailIndex(u8 mailType, u32 param_2);
s32 GetFirstIndexofMailType(u8 mailType);
#endif