Usage of BATTLE_PARTNER

This commit is contained in:
Eduardo Quezada committed 2022-08-27 01:26:13 -04:00
1 parent 6c457f42af
commit 15d611ba65
19 files changed
+148 -148

No files matched your search

+2 -2
View File
@@ -31,8 +31,8 @@
#define B_POSITION_OPPONENT_RIGHT 3
// These macros can be used with either battler ID or positions to get the partner or the opposite mon
#define BATTLE_OPPOSITE(id) ((id) ^ 1)
#define BATTLE_PARTNER(id) ((id) ^ 2)
#define BATTLE_OPPOSITE(id) ((id) ^ BIT_SIDE)
#define BATTLE_PARTNER(id) ((id) ^ BIT_FLANK)
#define B_SIDE_PLAYER 0
#define B_SIDE_OPPONENT 1