Archer30, ah, got it. The script disables tactics for hero, so no real tactics round takes place.
Replace
!?BR; [Battle round trigger for tactics, before tactics phase]
with
!?FU(OnBattleRound)&v997=0/v35<>v36; [Battle round trigger for tactics, before tactics phase]
Meaning: if it's first non-tactics combat round and attacker's tactics skill differs from defenders tactics skill
And remove
!!FU&v997<>-1:E; [Exit if not tactics round]