Document some of trade
This commit is contained in:
@@ -3,11 +3,40 @@
|
||||
|
||||
#define TRADE_PLAYER 0
|
||||
#define TRADE_PARTNER 1
|
||||
#define TRADE_PARTICIPANT_COUNT 2
|
||||
|
||||
#define INGAME_TRADE_SEEDOT 0
|
||||
#define INGAME_TRADE_PLUSLE 1
|
||||
#define INGAME_TRADE_HORSEA 2
|
||||
#define INGAME_TRADE_MEOWTH 3
|
||||
|
||||
#define INGAME_TRADE_MAIL_LENGTH 9
|
||||
|
||||
#define PLAYER_MON_INVALID 0
|
||||
#define PLAYER_MON_VALID 1
|
||||
#define PARTNER_MON_INVALID 2
|
||||
|
||||
#define MON_VALID 0
|
||||
|
||||
|
||||
#define TRADE_ACTION_TEXT_CANCEL 0
|
||||
#define TRADE_ACTION_TEXT_CHOOSE_MON 1
|
||||
#define TRADE_ACTION_TEXT_SUMMARY 2
|
||||
#define TRADE_ACTION_TEXT_TRADE 3
|
||||
#define TRADE_ACTION_TEXT_CANCEL_TRADE 4
|
||||
#define TRADE_ACTION_TEXT_JP_QUIT 5
|
||||
|
||||
#define MENU_ACTION_SUMMARY 0
|
||||
#define MENU_ACTION_TRADE 1
|
||||
|
||||
#define TRADE_MSG_STANDBY 0
|
||||
#define TRADE_MSG_CANCELED 1
|
||||
#define TRADE_MSG_ONLY_MON1 2
|
||||
#define TRADE_MSG_ONLY_MON2 3
|
||||
#define TRADE_MSG_WAITING_FOR_FRIEND 4
|
||||
#define TRADE_MSG_FRIEND_WANTS_TO_TRADE 5
|
||||
#define TRADE_MSG_MON_CANT_BE_TRADED 6
|
||||
#define TRADE_MSG_EGG_CANT_BE_TRADED 7
|
||||
#define TRADE_MSG_FRIENDS_MON_CANT_BE_TRADED 8
|
||||
|
||||
|
||||
#endif //GUARD_CONSTANTS_TRADE_H
|
||||
|
||||
@@ -22,7 +22,7 @@ u8 UpdateMonIconFrame(struct Sprite *sprite);
|
||||
void LoadMonIconPalette(u16 species);
|
||||
void sub_80D328C(struct Sprite *sprite);
|
||||
void sub_80D3014(struct Sprite *sprite);
|
||||
void sub_80D32C8(struct Sprite *sprite, u8 animNum);
|
||||
void SetPartyHPBarSprite(struct Sprite *sprite, u8 animNum);
|
||||
u8 GetMonIconPaletteIndexFromSpecies(u16 species);
|
||||
|
||||
#endif // GUARD_POKEMON_ICON_H
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define GUARD_TRADE_H
|
||||
|
||||
#include "link_rfu.h"
|
||||
#include "constants/trade.h"
|
||||
|
||||
// Exported type declarations
|
||||
|
||||
@@ -21,6 +22,6 @@ int sub_807A918(struct Pokemon*, u16);
|
||||
void sub_807B140(void);
|
||||
void sub_807B154(void);
|
||||
void sub_807F19C(void);
|
||||
void sub_807F1A8(u8, const u8 *, u8);
|
||||
void DrawTextOnTradeWindow(u8, const u8 *, u8);
|
||||
|
||||
#endif //GUARD_TRADE_H
|
||||
|
||||
Reference in New Issue
Block a user