From 0919fbdc2d4897d0e692f7cae97f697089298521 Mon Sep 17 00:00:00 2001 From: PhallenTree <168426989+PhallenTree@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:45:08 +0000 Subject: [PATCH] Fix Order Up + Tera Stellar breaking each other with Commander (#5667) --- include/battle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/battle.h b/include/battle.h index c3c38162dc..1251239d1e 100644 --- a/include/battle.h +++ b/include/battle.h @@ -826,7 +826,7 @@ struct BattleStruct u8 distortedTypeMatchups; u8 categoryOverride; // for Z-Moves and Max Moves u8 commandingDondozo; - u16 commanderActive[NUM_BATTLE_SIDES]; + u16 commanderActive[MAX_BATTLERS_COUNT]; u32 stellarBoostFlags[NUM_BATTLE_SIDES]; // stored as a bitfield of flags for all types for each side u8 redCardActivates:1; u8 usedEjectItem;