diff options
author | huderlem <huderlem@gmail.com> | 2019-12-25 11:39:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-25 11:39:20 -0600 |
commit | ee61726136c4d3c9a84eb89672890b66e31f4f45 (patch) | |
tree | 3cdbd28208021c88c14c5d014f7b59699b7783e7 /include/constants/battle_tower.h | |
parent | 026e1108b26f4ce5cea362997135bd8efc7cb28a (diff) | |
parent | 23f952b34ecc3d527b2bfee86ee1f35e1abe8246 (diff) |
Merge pull request #936 from GriffinRichards/doc-tower
Document Battle Tower scripts
Diffstat (limited to 'include/constants/battle_tower.h')
-rw-r--r-- | include/constants/battle_tower.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/include/constants/battle_tower.h b/include/constants/battle_tower.h index 6afd8a949..b372c3ad5 100644 --- a/include/constants/battle_tower.h +++ b/include/constants/battle_tower.h @@ -11,15 +11,31 @@ #define BATTLE_TOWER_FUNC_GET_OPPONENT_INTRO 7 #define BATTLE_TOWER_FUNC_NOP 8 #define BATTLE_TOWER_FUNC_NOP2 9 -#define BATTLE_TOWER_FUNC_10 10 -#define BATTLE_TOWER_FUNC_11 11 -#define BATTLE_TOWER_FUNC_12 12 +#define BATTLE_TOWER_FUNC_LOAD_PARTNERS 10 +#define BATTLE_TOWER_FUNC_PARTNER_MSG 11 +#define BATTLE_TOWER_FUNC_LOAD_LINK_OPPONENTS 12 #define BATTLE_TOWER_FUNC_13 13 -#define BATTLE_TOWER_FUNC_14 14 +#define BATTLE_TOWER_FUNC_SET_PARTNER_GFX 14 #define BATTLE_TOWER_FUNC_SET_INTERVIEW_DATA 15 #define TOWER_DATA_WIN_STREAK 1 #define TOWER_DATA_WIN_STREAK_ACTIVE 2 #define TOWER_DATA_LVL_MODE 3 +// IDs for the messages printed by potential partners in the Battle Tower Multi Partner Room +#define PARTNER_MSGID_INTRO 0 +#define PARTNER_MSGID_MON1 1 +#define PARTNER_MSGID_MON2_ASK 2 +#define PARTNER_MSGID_ACCEPT 3 +#define PARTNER_MSGID_REJECT 4 + +// IDs for communicating with the Link Multi partner +#define BATTLE_TOWER_LINK_CONTINUE 0 +#define BATTLE_TOWER_LINK_RETIRE 1 + +#define BATTLE_TOWER_LINKSTAT_CONTINUE 0 +#define BATTLE_TOWER_LINKSTAT_BOTH_RETIRE 1 +#define BATTLE_TOWER_LINKSTAT_PARTNER_RETIRE 2 +#define BATTLE_TOWER_LINKSTAT_PLAYER_RETIRE 3 + #endif //GUARD_CONSTANTS_BATTLE_TOWER_H |