Fix Battle Bond activating multiple times in battle

This commit is contained in:
DizzyEggg committed 2023-02-15 15:30:29 +01:00
1 parent e3e005b0cc
commit 3f0f7c6b7f
2 files changed
+5 -2

No files matched your search

+1
View File
@@ -653,6 +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.
};
#define F_DYNAMIC_TYPE_1 (1 << 6)