pmd-red/include/gulpin_shop_801FB50.h

46 lines
1.2 KiB
C
Raw Permalink Normal View History

#ifndef GUARD_GULPIN_SHOP_801FB50_H
#define GUARD_GULPIN_SHOP_801FB50_H
2023-09-02 12:50:36 +00:00
#include "constants/move.h"
#include "file_system.h"
2023-09-21 02:52:40 +00:00
#include "structs/menu.h"
2023-09-02 12:50:36 +00:00
#include "pokemon.h"
2023-09-21 02:26:35 +00:00
#include "structs/str_text.h"
2023-09-02 12:50:36 +00:00
// size: 0x1E0
2023-09-09 04:31:17 +00:00
typedef struct unkStruct_203B27C
2023-09-02 12:50:36 +00:00
{
2023-09-23 09:11:06 +00:00
/* 0x0 */ u32 mode; // Corresponds to the enum: GulpinShopMode
2023-09-02 12:50:36 +00:00
/* 0x4 */ s32 state;
/* 0x8 */ u32 fallbackState;
/* 0xC */ s16 speciesNum;
/* 0x10 */ PokemonStruct1 *pokeStruct;
/* 0x14 */ bool8 isNextMoveLinked;
bool8 unk15;
/* 0x16 */ bool8 isTeamLeader;
/* 0x18 */ u32 moveIndex;
// Group of move ids but not sure purpose just yet...
u16 unk1C;
u16 unk1E;
u16 unk20;
/* 0x24 */ Move moves[MAX_MON_MOVES * 2];
/* 0x64 */ u16 sequenceMoveIDs[MAX_MON_MOVES];
/* 0x6C */ u32 menuAction1;
/* 0x70 */ u32 menuAction2;
/* 0x74 */ u32 menuAction3;
/* 0x78 */ u32 menuAction4;
MenuItem unk7C[8];
u16 unkBC[8];
MenuStruct unkCC;
u8 fill11C[0x16C - 0x11C];
2024-10-20 08:47:13 +00:00
/* 0x16C */ struct MonPortraitMsg monPortrait;
struct MonPortraitMsg *monPortraitPtr;
2023-09-02 12:50:36 +00:00
UnkTextStruct2 unk180[4];
2023-09-09 04:31:17 +00:00
} unkStruct_203B27C;
2023-09-02 12:50:36 +00:00
2023-09-09 23:53:10 +00:00
bool8 sub_801FB50(u32 mode);
u32 sub_801FC40(void);
void sub_801FD7C(void);
2024-10-19 15:09:39 +00:00
#endif // GUARD_GULPIN_SHOP_801FB50_H