Battle Data Format
This is the data structure used by enemies and PCs in battle. Each section is 0x80 bytes long, starting at 7E5E2D.
Set Name Byte Offset Bits Bytes Description Modified Battle 00 FF 1 PC/Enemy Index Battle 01 80 1 Lightning Defense Bonus Battle 01 40 1 Shadow Defense Bonus Battle 01 20 1 Water Defense Bonus Battle 01 10 1 Fire Defense Bonus Battle 01 08 1 Female character (?) (unused) Battle 01 04 1 Primarily physical character (?) (unused) Battle 01 02 1 Human character (?) (unused) Battle 01 01 1 unused Battle 02 01 1 HP in critical status Battle 02 10 1 All techs learned. Battle 03 FF 2 current HP Battle 05 FF 2 max HP Battle 07 FF 2 current MP Battle 09 FF 2 max MP Battle 0B FF 1 power (PC only) Battle 0C FF 1 stamina (PC only) Battle 0D FF 1 speed (PC only) Battle 0E FF 1 magic (PC only) Battle 0F FF 1 hit (PC only) Battle 10 FF 1 evade (PC only) Battle 11 FF 1 magic defense (PC only) Battle 12 FF 1 level Battle 13 FF 3 experience (PC only) Battle 16 FF 3 tech points (PC only) Battle 19 80 1 HP 1/2 and Death fail Battle 19 40 1 Rock Throw fails Battle 19 20 1 Slurp Cut fails Battle 19 04 1 Physical attacks miss Battle 19 02 1 Airborne/drop attacks miss. Battle 19 19 1 Unused Battle 1A 01 1 uses boss death animation (Enemy only) Battle 1A 02 1 HP not visible with SightScope or Relic (Enemy only) Battle 1A 04 1 Type: Tyranno (?) Battle 1A 08 1 Type: Magic Battle 1A 10 1 Type: Aqua (?) Battle 1A 20 1 Type: Unknown Battle 1A 40 1 Type: Machine Battle 1A 80 1 Type: Undead Battle 1B FF 1 Attack 2 Index (enemy only) Battle 1C FF 1 Unused Battle 1D 80 1 laying on ground dead animation Battle 1E 01 1 has blind status Battle 1E 02 1 has sleep status Battle 1E 04 1 has confuse status Battle 1E 08 1 has lock status Battle 1E 10 1 loses 1HP/second Battle 1E 20 1 has slow status Battle 1E 40 1 has poison status Battle 1E 80 1 has stop status Battle 1F FF 1 Unused status effects Battle 20 01 1 has 2x Evade status Battle 20 02 1 has unknown status Battle 20 40 1 has 2.5x Evade status Battle 20 80 1 has haste status Battle 20 3C 1 unused bits Battle 21 02 1 has attack power up (Sun Shades) Battle 21 04 1 has protect status Battle 21 08 1 has attack power up to the max (PrismSpecs) Battle 21 20 1 has MP regen status (SeraphSong) Battle 21 40 1 magic defense up Battle 21 80 1 has berserk status Battle 21 11 1 Unused bits. Battle 22 80 1 has auto-revive status Battle 23 01 1 is immune to blind 2008.07.30 Battle 23 02 1 is immune to sleep 2008.07.30 Battle 23 04 1 is immune to confuse 2008.07.30 Battle 23 08 1 is immune to lock 2008.07.30 Battle 23 10 1 is immune to HP drain 2008.07.30 Battle 23 20 1 is immune to slow 2008.07.30 Battle 23 40 1 is immune to poison 2008.07.30 Battle 23 80 1 is immune to stop 2008.07.30 Battle 24 FF 1 Permanent Unused status effects Battle 25 01 1 has permanent 2x Evade status Battle 25 02 1 has permanent unknown status Battle 25 40 1 has permanent 2.5x Evade Battle 25 80 1 has permanent Haste status Battle 25 3C 1 unused bits Battle 26 02 1 has permanent attack power up Battle 26 04 1 has permanent Protect/Shield status (from Safe Helm) Battle 26 08 1 has permanent max attack power up Battle 26 20 1 has permanent MP Regen status Battle 26 40 1 has permanent magic defense status Battle 26 80 1 has permanent Berserk status Battle 26 11 1 unused bits Battle 27 FF 1 Helmet equipped (PC only) Battle 28 FF 1 Armor equipped (PC only) Battle 29 FF 1 Weapon equipped (PC only) Battle 2A FF 1 Accessory equipped (PC only) Battle 2B FF 2 experience next (PC only) Battle 2D FF 2 tech experience next (PC only) Battle 2F FF 1 Power Adder + tabs. (PC only) Battle 30 FF 1 Stamina Adder (PC only) Battle 31 FF 1 Speed adder + tabs (PC only) Battle 32 FF 1 Hit Adder + tabs (PC only) Battle 33 FF 1 Evade Adder (PC only) Battle 34 FF 1 Magic Adder (PC only) Battle 35 FF 1 Magic Defense Adder (PC only) Battle 36 FF 1 Power (used in battle) Battle 37 FF 1 Stamina / AI Variable (Enemies) Battle 38 FF 01 Speed 2008.07.30 Battle 39 FF 01 Magic 2008.07.30 Battle 3A FF 01 Hit % 2008.07.30 Battle 3B FF 01 Evade 2008.07.30 Battle 3C FF 01 Magic Def. 2008.07.30 Battle 3D FF 01 Offense 2008.07.30 Battle 3E FF 01 Defense 2008.07.30 Battle 3F FF 1 Lightning Defense Battle 40 FF 1 Shadow Defense Battle 41 FF 1 Water Defense Battle 42 FF 1 Fire Defense Battle 43 FF 5 Weapon Stats. Battle 48 FF 3 Armor Stats. Battle 4B FF 4 Accessory Stats. Battle 4F FF 1 Unused Battle 50 FF 20 Unknowns Battle 70 FF 3 Helmet Stats. Battle 74 FF C Unknowns