One last thing regarding this:
Currently there are bits for elemental absorb, resist, null, weak. Elements seem to get most of the single bits as FF games handle it this way. When calculating combined flags all equipment etc.. is basically OR'd together - as far as I can figure this is the only way it can be done where you don't lose data.
Also there are values for element def [-128...128), but only flags for elem_atk. This seems like the best to me also.
Status atk, def get similar values since atk with status is not 0 or 1 (only inflict calculation results are), but either need probability or chance.
So, any comments?
[edit] ...I hate the small stuff sometimes... :\