Over in the 8th character topic, I posted a command the game uses to find what PC grouping a attack/tech falls under. It looks like element is in nearby data.
$C1/D6A4 BF EE 1B CC LDA $CC1BEE,x (x is attack/tech index * 0B)
I'm going to try to find how enemy attacks are determined.
edit-
I noticed that for PCs, it stored the value it got to 7EB190, and I used that to find the command for enemy techs.
$FD/AAF6 BF CC 6F CC LDA $CC6FCC,x
(x is same as before)