summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/constants/trade.h31
-rw-r--r--include/pokemon_icon.h2
-rw-r--r--include/trade.h3
3 files changed, 33 insertions, 3 deletions
diff --git a/include/constants/trade.h b/include/constants/trade.h
index 1afa3b263..a12ee7fca 100644
--- a/include/constants/trade.h
+++ b/include/constants/trade.h
@@ -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
diff --git a/include/pokemon_icon.h b/include/pokemon_icon.h
index 8af43c753..efc0028a1 100644
--- a/include/pokemon_icon.h
+++ b/include/pokemon_icon.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
diff --git a/include/trade.h b/include/trade.h
index 861ac490d..218a5be2f 100644
--- a/include/trade.h
+++ b/include/trade.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