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];
|
2019-10-03 05:16:22 +00:00
|
|
|
extern u8 gSelectedTradeMonPositions[2];
|
2017-11-11 00:06:06 +00:00
|
|
|
|
|
|
|
// Exported ROM declarations
|
2019-10-07 02:58:25 +00:00
|
|
|
extern const struct WindowTemplate gTradeEvolutionSceneYesNoWindowTemplate;
|
2017-11-11 00:06:06 +00:00
|
|
|
|
2019-10-10 07:50:51 +00:00
|
|
|
s32 GetGameProgressForLinkTrade(void);
|
2019-10-09 09:56:44 +00:00
|
|
|
void CB2_StartCreateTradeMenu(void);
|
2019-10-05 14:41:37 +00:00
|
|
|
void CB2_LinkTrade(void);
|
2021-10-06 03:38:36 +00:00
|
|
|
int CanRegisterMonForTradingBoard(struct RfuGameCompatibilityData a0, u16, u16, u8);
|
|
|
|
int GetUnionRoomTradeMessageId(struct RfuGameCompatibilityData a0, struct RfuGameCompatibilityData a1, u16 a2, u16 a3, u8 a4, u16 a5, u8 a6);
|
2019-10-17 23:22:03 +00:00
|
|
|
int CanSpinTradeMon(struct Pokemon*, u16);
|
2019-10-10 07:50:51 +00:00
|
|
|
void InitTradeSequenceBgGpuRegs(void);
|
|
|
|
void LinkTradeDrawWindow(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
|