I forgot to say about the bit thing. For Jenova BIRTH's AI, she puts Flagbit 0, 1, and 2 into three separate variables and these have her attack each separate party member during a 'wave' of laser or w-laser. Later, I saw something in another AI where it targeted other enemies using bit 3, 4, etc. My hunch is that from 3 onwards it's enemies, problem is there can be 6 enemies on the field which is one too many for a byte. I'm trying to track down that enemy again so I can have a closer look at it.
Edit: Found it, was in Elena's Death Script
02 21A0
60 00
40
70 00C6
12 21A0
60 01
90
93 Reno “Let's call it a day.”
12 2070
02 2060
90
60 20
61 0164
92
12 0000
60 04
87
90
12 0000
10 4020
80
60 00
90
12 0000
10 4023
80
60 00
90
12 0000
10 4022
80
60 00
90
12 0000
10 4024
80
60 00
90
12 0000
60 05
87
90
12 0000
10 4020
80
60 00
90
12 0000
10 4023
80
60 00
90
12 0000
10 4022
80
60 00
90
12 0000
10 4024
80
60 00
90
12 0000
60 06
87
90
12 0000
10 4020
80
60 00
90
12 0000
10 4023
80
60 00
90
12 0000
10 4022
80
60 00
90
12 0000
10 4024
80
60 00
90
0x000 If ( (Unknown(21A0) == 0) )
0x000 {
0x009 Unknown(21A0) <- 1
0x00F Display String: "Reno “Let's call it a day.”"
0x02C TargetMask <- Self
0x033 Perform("(Report)"[0164], EnemyAttack)
0x039 LocalVar:0000 <- FlagBit(4)
0x040 LocalVar:0000.Flag:Unknown(00000001) <- 0 (Cure)
0x04A LocalVar:0000.Flag:Enabled? <- 0 (Cure)
0x054 LocalVar:0000.Flag:Unknown(00000004) <- 0 (Cure)
0x05E LocalVar:0000.Flag:MainScriptActive <- 0 (Cure)
0x068 LocalVar:0000 <- FlagBit(5)
0x06F LocalVar:0000.Flag:Unknown(00000001) <- 0 (Cure)
0x079 LocalVar:0000.Flag:Enabled? <- 0 (Cure)
0x083 LocalVar:0000.Flag:Unknown(00000004) <- 0 (Cure)
0x08D LocalVar:0000.Flag:MainScriptActive <- 0 (Cure)
0x097 LocalVar:0000 <- FlagBit(6)
0x09E LocalVar:0000.Flag:Unknown(00000001) <- 0 (Cure)
0x0A8 LocalVar:0000.Flag:Enabled? <- 0 (Cure)
0x0B2 LocalVar:0000.Flag:Unknown(00000004) <- 0 (Cure)
0x0BC LocalVar:0000.Flag:MainScriptActive <- 0 (Cure)
0x0C6SCRIPT END
From the look of it, it pushes FlagBits into the variable and then uses that to target them for disabling their Main script so that the battle ends when one 'dies'. Thing is, it looks like it starts from 4 and not 3. Not sure why, but I do know that player characters are 0, 1, and 2. I assumed 3 would be next. Try replacing the 3 with a 4 if it doesn't work. I remember reading that there's another actor, something to handle camera, but that's just a guess for why it jumps from 2 to 4 here (although Elena did originally have two placements on the field to handle her Row jumping; maybe it's a left-over?)