I can't say for certain about FF6A, but in 3us its defined in C1
The targetting byte inside the actual spell is probably redundant or useful for colluseum or if set on an enemy. Altering the targetting bytes of other abilities should work fine.
do a search in your hex for "43 43 43 6A 03 6A 43 43", that might help you find its location.
Edit: realized i have a copy of ff6a on my computer, the table appears at (RAW) 000CF588. (I put it in raw because i dont know much about gba hacking and dont know if it would be proper to call that CC/F588... is it?)
Edit 2: changed the first byte to 03 and confirmed. Fire Beam can now only target allies.
Code:
Data: Targeting for Magitek attacks
C1/9104: 43 43
C1/9106: 43 6A
C1/9108: 03 6A
C1/910A: 43 43
The targetting byte inside the actual spell is probably redundant or useful for colluseum or if set on an enemy. Altering the targetting bytes of other abilities should work fine.
do a search in your hex for "43 43 43 6A 03 6A 43 43", that might help you find its location.
Edit: realized i have a copy of ff6a on my computer, the table appears at (RAW) 000CF588. (I put it in raw because i dont know much about gba hacking and dont know if it would be proper to call that CC/F588... is it?)
Edit 2: changed the first byte to 03 and confirmed. Fire Beam can now only target allies.