Welcome, this is the discussion board of TASVideos.
If you're using samurai goroh's data, the table can be found at section 4.6 Item ID (Magic Shops), starting at hex 80. If you're using the LUA files from the post above, you can get the string for display purposes via
0x01F616 XX Starting at 80
Its not the best way of doing it I'm sure, but I was in a pinch when I wrote it. The target of that attack is located at:
And the offset for each enemy slot is
0x020A8C XX Starting at 00
I'm not a low level guy, so my offset might be inaccurate. All of these addresses are WRAM (or combined WRAM in BizHawk). Apologies if I'm getting that wrong! --- Addresses aside, and this is probably known knowledge, the attack a monster will perform is determined a number of frames after their attack guage/ATB value reaches 0. Depending on any running animations, the offset may vary, but once their sprite flashes it will be correct. This is the same for the target that will be chosen if the attack is single target. I'm not sure if this information will be of use to anyone, but after starring at samurai goroh's address references for a few days I didn't want this information to go to waste, if only for my sake.
0x020A8C - (enemySlot * 0xFF)