pmd-red/include/friend_rescue.h

56 lines
1.3 KiB
C
Raw Permalink Normal View History

2021-07-07 16:39:34 +00:00
#ifndef GUARD_FRIEND_RESCUE_H
#define GUARD_FRIEND_RESCUE_H
#include "code_8094F88.h"
#include "items.h"
#include "pokemon.h"
2023-09-21 02:52:40 +00:00
#include "structs/menu.h"
#include "structs/str_wonder_mail.h"
// size: 0x568
2023-09-02 11:36:59 +00:00
typedef struct WonderMailStruct_203B33C
{
/* 0x0 */ u32 state;
/* 0x4 */ u32 fallbackState;
/* 0x8 */ u8 passwordBuffer[0x36];
u32 unk40;
/* 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;
u8 unk218;
MenuStruct unk21C[4];
UnkTextStruct2 unk35C[4];
UnkTextStruct2 unk3BC[4];
/* 0x41C */ Item item;
u32 unk420; // Is this supposed to be a File like 203B2C4?
u8 unk424[0x100];
2021-07-07 16:39:34 +00:00
s32 unk524;
u32 unk528;
u8 unk52C;
u8 unk52D;
u8 fill52E;
u32 unk530;
u32 unk534;
/* 0x538 */ s16 speciesNum; // A7 << 3
2023-09-02 11:36:59 +00:00
unkStruct_802F204 unk53C;
s32 unk564;
2023-09-02 11:36:59 +00:00
} WonderMailStruct_203B33C;
2021-07-07 16:39:34 +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,
};
#endif