use NUM_BATTLE_SIDES
This commit is contained in:
1 parent
3f0f7c6b7f
commit
978d342953
1 file changed
+1
-1
+1
-1
@@ -653,7 +653,7 @@ struct BattleStruct
|
||||
u8 targetsDone[MAX_BATTLERS_COUNT]; // Each battler as a bit.
|
||||
u16 overwrittenAbilities[MAX_BATTLERS_COUNT]; // abilities overwritten during battle (keep separate from battle history in case of switching)
|
||||
bool8 allowedToChangeFormInWeather[PARTY_SIZE][2]; // For each party member and side, used by Ice Face.
|
||||
u8 battleBondTransformed[2]; // Bitfield for each party.
|
||||
u8 battleBondTransformed[NUM_BATTLE_SIDES]; // Bitfield for each party.
|
||||
};
|
||||
|
||||
#define F_DYNAMIC_TYPE_1 (1 << 6)
|
||||
|
||||
Reference in new issue
Block a user