mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 05:00:12 +00:00
67 lines
1.5 KiB
C
67 lines
1.5 KiB
C
#ifndef GUARD_WIGGLYTUFF_SHOP3_H
|
|
#define GUARD_WIGGLYTUFF_SHOP3_H
|
|
|
|
#include "file_system.h"
|
|
#include "structs/menu.h"
|
|
#include "structs/str_text.h"
|
|
|
|
enum WigglytuffStates
|
|
{
|
|
WIGGLYTUFF_INIT,
|
|
WIGGLYTUFF_MAIN_MENU,
|
|
WIGGLYTUFF_INFO,
|
|
WIGGLYTUFF_PRE_EXIT,
|
|
WIGGLYTUFF_EXIT,
|
|
WIGGLYTUFF_CANT_ADD_FRIEND_AREA,
|
|
NO_MONEY,
|
|
FRIEND_AREA_SELECT_BUY,
|
|
FRIEND_AREA_SELECT_BUY_AGAIN,
|
|
WIGGLYTUFF_UNK9,
|
|
WIGGLYTUFF_UNKA,
|
|
WIGGLYTUFF_UNKB,
|
|
CONFIRM_BUY_FRIEND_AREA,
|
|
WIGGLYTUFF_UNKD,
|
|
WIGGLYTUFF_UNKE,
|
|
FRIEND_AREA_UNLOCKED,
|
|
FRIEND_AREA_INFO,
|
|
BUY_FRIEND_AREA,
|
|
NO_FRIEND_AREAS,
|
|
NOT_ENOUGH_MONEY,
|
|
WIGGLYTUFF_CHECK,
|
|
WIGGLYTUFF_CHECK_AGAIN,
|
|
WIGGLYTUFF_UNK16,
|
|
WIGGLYTUFF_UNK17,
|
|
DISPLAY_POKEMON_FRIEND_AREA_INFO,
|
|
WIGGLYTUFF_CHECK_HAS_FRIEND_AREA,
|
|
WIGGLYTUFF_CHECK_POST_GAME,
|
|
WIGGLYTUFF_CHECK_WONDER_MAIL,
|
|
WIGGLYTUFF_CHECK_LEGENDARY,
|
|
};
|
|
|
|
// size: 0x138
|
|
typedef struct WigglytuffShop3Work
|
|
{
|
|
u32 mode;
|
|
s32 state;
|
|
s32 fallbackState;
|
|
s32 friendAreaPrice;
|
|
u8 chosenFriendArea;
|
|
s16 chosenSpecies;
|
|
u32 menuAction1;
|
|
u32 menuAction2;
|
|
MenuItem unk1C[8];
|
|
u16 unk5C[8];
|
|
MenuStruct unk6C;
|
|
/* 0xBC */ struct MonPortraitMsg monPortrait;
|
|
struct MonPortraitMsg *monPortraitPtr;
|
|
UnkTextStruct2 unkD0[4];
|
|
u32 unk130;
|
|
u32 unk134;
|
|
} WigglytuffShop3Work;
|
|
|
|
bool8 CreateWigglytuffShop(u32 mode);
|
|
u32 sub_8021C5C(void);
|
|
void CleanWigglytuffShop(void);
|
|
|
|
#endif // GUARD_WIGGLYTUFF_SHOP3_H
|