mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
24 lines
909 B
C
24 lines
909 B
C
#ifndef GUARD_TRADE_H
|
|
#define GUARD_TRADE_H
|
|
|
|
#include "link_rfu.h"
|
|
#include "constants/trade.h"
|
|
|
|
extern struct Mail gTradeMail[PARTY_SIZE];
|
|
extern u8 gSelectedTradeMonPositions[2];
|
|
|
|
extern const struct WindowTemplate gTradeEvolutionSceneYesNoWindowTemplate;
|
|
|
|
s32 GetGameProgressForLinkTrade(void);
|
|
void CB2_StartCreateTradeMenu(void);
|
|
void CB2_LinkTrade(void);
|
|
int CanRegisterMonForTradingBoard(struct RfuGameCompatibilityData player, u16 species2, u16 species, bool8 isEventLegal);
|
|
int GetUnionRoomTradeMessageId(struct RfuGameCompatibilityData player, struct RfuGameCompatibilityData partner, u16 playerSpecies2, u16 partnerSpecies, u8 requestedType, u16 playerSpecies, bool8 isEventLegal);
|
|
int CanSpinTradeMon(struct Pokemon *, u16);
|
|
void InitTradeSequenceBgGpuRegs(void);
|
|
void LinkTradeDrawWindow(void);
|
|
void LoadTradeAnimGfx(void);
|
|
void DrawTextOnTradeWindow(u8, const u8 *, u8);
|
|
|
|
#endif //GUARD_TRADE_H
|