mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 05:00:12 +00:00
56 lines
1.3 KiB
C
56 lines
1.3 KiB
C
#ifndef GUARD_FRIEND_RESCUE_H
|
|
#define GUARD_FRIEND_RESCUE_H
|
|
|
|
#include "code_8094F88.h"
|
|
#include "items.h"
|
|
#include "pokemon.h"
|
|
#include "structs/menu.h"
|
|
#include "structs/str_wonder_mail.h"
|
|
|
|
// size: 0x568
|
|
typedef struct WonderMailStruct_203B33C
|
|
{
|
|
/* 0x0 */ u32 state;
|
|
/* 0x4 */ u32 fallbackState;
|
|
/* 0x8 */ u8 passwordBuffer[0x36];
|
|
u32 unk40;
|
|
/* 0x44 */ u32 status;
|
|
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];
|
|
s32 unk524;
|
|
u32 unk528;
|
|
u8 unk52C;
|
|
u8 unk52D;
|
|
u8 fill52E;
|
|
u32 unk530;
|
|
u32 unk534;
|
|
/* 0x538 */ s16 speciesNum; // A7 << 3
|
|
unkStruct_802F204 unk53C;
|
|
s32 unk564;
|
|
} WonderMailStruct_203B33C;
|
|
|
|
u32 CreateFriendRescueMenu(void);
|
|
u32 UpdateFriendRescueMenu(void);
|
|
void CleanFriendRescueMenu(void);
|
|
|
|
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 |