pokeemerald/include/trade.h

28 lines
845 B
C
Raw Normal View History

2017-11-11 00:06:06 +00:00
#ifndef GUARD_TRADE_H
#define GUARD_TRADE_H
2018-12-13 03:55:39 +00:00
#include "link_rfu.h"
2019-10-03 23:39:37 +00:00
#include "constants/trade.h"
2018-12-13 03:55:39 +00:00
2017-11-11 00:06:06 +00:00
// Exported type declarations
// Exported RAM declarations
2019-10-04 11:42:45 +00:00
extern struct MailStruct gTradeMail[PARTY_SIZE];
extern u8 gSelectedTradeMonPositions[2];
2017-11-11 00:06:06 +00:00
// Exported ROM declarations
2019-02-02 11:44:00 +00:00
extern const struct WindowTemplate gUnknown_0833900C;
2017-11-11 00:06:06 +00:00
2018-06-03 20:39:10 +00:00
s32 sub_807A728(void);
void sub_80773AC(void);
2019-10-05 14:41:37 +00:00
void CB2_LinkTrade(void);
int CanRegisterMonForTradingBoard(struct UnkLinkRfuStruct_02022B14Substruct a0, u16, u16, u8);
2019-10-04 21:24:03 +00:00
int GetUnionRoomTradeMessageId(struct UnkLinkRfuStruct_02022B14Substruct a0, struct UnkLinkRfuStruct_02022B14Substruct a1, u16 a2, u16 a3, u8 a4, u16 a5, u8 a6);
2018-12-13 03:55:39 +00:00
int sub_807A918(struct Pokemon*, u16);
void sub_807B140(void);
void sub_807B154(void);
2019-10-05 14:41:37 +00:00
void InitTradeBg(void);
2019-10-03 23:39:37 +00:00
void DrawTextOnTradeWindow(u8, const u8 *, u8);
2017-11-11 00:06:06 +00:00
#endif //GUARD_TRADE_H