mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-11 06:25:23 -05:00
The `giftRibbons` field in `SaveBlock1` has been split out into proper subfields. The new ExternalEvent structs deal with interconnectivity between external games/peripherals and FRLG. US & JP Colosseum Bonus Discs', Colosseum and XD's, Pokémon Channel's, and PokémonBox: Ruby & Sapphire's interactions with these fields has been documented. The `giftRibbon#` fields in `PokemonSubstruct3` have also been renamed to their appropriate ribbons, and commented with distribution info if applicable. The previous `fatefulEncounter` field was actually filler, and relabeled as such, while the `obedient` bit was renamed `eventLegal`. All relevant constants and functions dealing with the Pokémon data structure were renamed with these changes in mind. I still maintain that `eventLegal` is a misnomer and it should be called `fatefulEncounter` in all three repos.
23 lines
818 B
C
23 lines
818 B
C
#ifndef GUARD_TRADE_H
|
|
#define GUARD_TRADE_H
|
|
|
|
#include "global.h"
|
|
#include "link_rfu.h"
|
|
#include "constants/trade.h"
|
|
|
|
extern struct MailStruct gLinkPartnerMail[6];
|
|
extern u8 gSelectedTradeMonPositions[2];
|
|
|
|
extern const u8 gText_MaleSymbol4[];
|
|
extern const u8 gText_FemaleSymbol4[];
|
|
extern const u8 gText_GenderlessSymbol[];
|
|
|
|
extern const u16 gUnknown_826601C[];
|
|
void CB2_ReturnFromLinkTrade(void);
|
|
s32 Trade_CalcLinkPlayerCompatibilityParam(void);
|
|
s32 CanRegisterMonForTradingBoard(struct GFtgtGnameSub rfuPlayer, u16 species2, u16 species, u8 isEventLegal);
|
|
s32 GetUnionRoomTradeMessageId(struct GFtgtGnameSub rfuPlayer, struct GFtgtGnameSub rfuPartner, u16 playerSpecies2, u16 partnerSpecies, u8 requestedType, u16 playerSpecies, u8 isEventLegal);
|
|
void CB2_ReturnToTradeMenuFromSummary(void);
|
|
|
|
#endif //GUARD_TRADE_H
|