2021-07-07 16:39:34 +00:00
|
|
|
#ifndef GUARD_FRIEND_RESCUE_H
|
|
|
|
#define GUARD_FRIEND_RESCUE_H
|
|
|
|
|
2023-01-02 01:40:40 +00:00
|
|
|
#include "code_8094F88.h"
|
2023-09-02 05:46:26 +00:00
|
|
|
#include "items.h"
|
2023-01-02 01:40:40 +00:00
|
|
|
#include "pokemon.h"
|
2023-09-21 02:52:40 +00:00
|
|
|
#include "structs/menu.h"
|
2023-09-30 03:46:27 +00:00
|
|
|
#include "structs/str_wonder_mail.h"
|
2021-12-31 21:48:55 +00:00
|
|
|
|
2023-07-18 02:16:42 +00:00
|
|
|
// size: 0x568
|
2023-09-02 11:36:59 +00:00
|
|
|
typedef struct WonderMailStruct_203B33C
|
2021-03-12 21:39:07 +00:00
|
|
|
{
|
2023-07-18 02:16:42 +00:00
|
|
|
/* 0x0 */ u32 state;
|
|
|
|
/* 0x4 */ u32 fallbackState;
|
|
|
|
/* 0x8 */ u8 passwordBuffer[0x36];
|
2021-03-12 21:39:07 +00:00
|
|
|
u32 unk40;
|
2023-07-18 02:16:42 +00:00
|
|
|
/* 0x44 */ u32 status;
|
2023-09-02 11:36:59 +00:00
|
|
|
unkStruct_203B480 unk48;
|
|
|
|
unkStruct_203B480 unk78;
|
|
|
|
WonderMailStruct_203B2C0_sub unkA8;
|
|
|
|
WonderMailStruct_203B2C0_sub unk130;
|
|
|
|
unkStruct_203B480 unk1B8;
|
|
|
|
unkStruct_203B480 unk1E8;
|
2021-03-12 21:39:07 +00:00
|
|
|
u8 unk218;
|
2023-09-02 05:46:26 +00:00
|
|
|
MenuStruct unk21C[4];
|
|
|
|
UnkTextStruct2 unk35C[4];
|
|
|
|
UnkTextStruct2 unk3BC[4];
|
|
|
|
/* 0x41C */ Item item;
|
2021-03-12 21:39:07 +00:00
|
|
|
u32 unk420; // Is this supposed to be a File like 203B2C4?
|
2023-01-02 01:40:40 +00:00
|
|
|
u8 unk424[0x100];
|
2021-07-07 16:39:34 +00:00
|
|
|
s32 unk524;
|
|
|
|
u32 unk528;
|
2021-03-12 21:39:07 +00:00
|
|
|
u8 unk52C;
|
|
|
|
u8 unk52D;
|
|
|
|
u8 fill52E;
|
|
|
|
u32 unk530;
|
|
|
|
u32 unk534;
|
2023-07-18 02:16:42 +00:00
|
|
|
/* 0x538 */ s16 speciesNum; // A7 << 3
|
2023-09-02 11:36:59 +00:00
|
|
|
unkStruct_802F204 unk53C;
|
2021-03-12 21:39:07 +00:00
|
|
|
s32 unk564;
|
2023-09-02 11:36:59 +00:00
|
|
|
} WonderMailStruct_203B33C;
|
2021-07-07 16:39:34 +00:00
|
|
|
|
2021-12-31 21:48:55 +00:00
|
|
|
u32 CreateFriendRescueMenu(void);
|
|
|
|
u32 UpdateFriendRescueMenu(void);
|
|
|
|
void CleanFriendRescueMenu(void);
|
|
|
|
|
2023-04-24 17:45:52 +00:00
|
|
|
enum FriendRescueMenuStates {
|
|
|
|
FRIEND_RESCUE_MENU_INIT,
|
|
|
|
FRIEND_RESCUE_MENU_MAIN,
|
|
|
|
FRIEND_RESCUE_MENU_EXIT,
|
|
|
|
FRIEND_RESCUE_MENU_ERROR = 8,
|
|
|
|
FRIEND_RESCUE_MENU_ERROR_2 = 0x6B,
|
|
|
|
FRIEND_RESCUE_MENU_DEFAULT_FALLBACK = 0x7e,
|
|
|
|
};
|
2021-12-31 21:48:55 +00:00
|
|
|
|
2023-09-30 03:46:27 +00:00
|
|
|
#endif
|