mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-23 05:00:12 +00:00
34 lines
869 B
C
34 lines
869 B
C
#ifndef GUARD_FELICITY_BANK_H
|
|
#define GUARD_FELICITY_BANK_H
|
|
|
|
#include "file_system.h"
|
|
#include "structs/menu.h"
|
|
#include "structs/str_text.h"
|
|
#include "string_format.h"
|
|
|
|
#define FELICITY_BANK_ACTION_WITHDRAW 0
|
|
#define FELICITY_BANK_ACTION_DEPOSIT 1
|
|
|
|
// size: 0x108
|
|
typedef struct FelicityBankWork
|
|
{
|
|
/* 0x0 */ u32 mode; // Corresponds to the enum: FelicityBankMode
|
|
/* 0x4 */ s32 currState;
|
|
/* 0x8 */ u32 fallbackState;
|
|
/* 0xC */ u32 chosenAmount;
|
|
/* 0x10 */ u32 menuAction;
|
|
MenuItem unk14[8];
|
|
u16 unk54[8];
|
|
unkStructFor8013AA0 unk64;
|
|
/* 0x94 */ struct MonPortraitMsg monPortrait;
|
|
struct MonPortraitMsg *monPortraitPtr;
|
|
UnkTextStruct2 unkA8[4];
|
|
} FelicityBankWork;
|
|
|
|
bool8 CreateFelicityBank(s32 mode);
|
|
void DestroyFelicityBank(void);
|
|
void DrawTeamMoneyBox(u32);
|
|
u32 FelicityBankCallback(void);
|
|
|
|
#endif // GUARD_FELICITY_BANK_H
|