Anonymous

Changes

From Final Fantasy Inside

FF7/Battle/Battle scenes

2,332 bytes added, 03:13, 20 July 2005
no edit summary
===Data file format===
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" align="center" | Offset
! style="background:rgb(204,204,204)" align="center" | Length
| varies
| Beginning of AI Data ([[#AI_data|format explaination]])
|}
 
==== Enemy data format ====
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" align="center" | Offset
! style="background:rgb(204,204,204)" align="center" | Length
! style="background:rgb(204,204,204)" align="center" | Description
|-
| 0x0000
| 32 bytes
| Enemy's name (completed by FFh bytes)
|-
| 0x0020
| 1 byte
| Enemy's level
|-
| 0x0021
| 1 byte
| Enemy's speed
|-
| 0x0022
| 1 byte
| Enemy's luck
|-
| 0x0023
| 1 byte
| Enemy's evade
|-
| 0x0024
| 1 byte
| Enemy's strength
|-
| 0x0025
| 1 byte
| Enemy's defense
|-
| 0x0026
| 1 byte
| Enemy's magic
|-
| 0x0027
| 1 byte
| Enemy's magic defense
|-
| 0x0028
| 8 bytes
| Element types (8 records):<br>00h - Fire<br>01h - Ice<br>02h - Bolt<br>03h - Earth<br>04h - Bio<br>05h - Gravity<br>06h - Water<br>07h - Wind<br>08h - Scare<br>09h - Health<br>0Ah - Cut<br>0Bh - Hit<br>0Ch - Punch<br>0Dh - Shoot<br>0Eh - Scream<br>FFh - No element
|-
| 0x0030
| 8 bytes
| Element rates for elements above, respectively (8 records):<br>00h - Death<br>02h - Double Damage<br>04h - Half Damage<br>05h - Nullify Damage<br>06h - Absorb 100%<br>07h - Full Cure<br>FFh - Nothing
|-
| 0x0038
| 16 bytes
| Unknown data
|-
| 0x0048
| 16 bytes
| Enemy Attack ID's (2 bytes each)
|-
| 0x0058
| 48 bytes
| Unknown data
|-
| 0x0088
| 4 bytes
| Item drop/steal rates.<br>These are chances to get items listed in next section. 1 byte per item. If the rate is lower than 80h, for e.g. 08h - then this is a drop item and has 8/63 [63 is max] chance for drop. But if rate is higher than 80h, let's say... A0h, then this is an item for steal, and chances for successful steal is A0h - 80h = 20h = 32/63.
|-
| 0x008C
| 8 bytes
| This is a list of Item ID's which are described above. 2 bytes per item. FFFFh means no item.
|-
| 0x0091
| 12 bytes
| Unknown data
|-
| 0x009D
| 2 bytes
| Enemy's MP
|-
| 0x009F
| 2 bytes
| AP points you receive when you win the battle
|-
| 0x00A1
| 2 bytes
| Enemy can be morphed into this item. FFFFh if it can't be morphed into anything.
|-
| 0x00A3
| 2 bytes
| Unknown, usually 10h or FFh
|-
| 0x00A5
| 4 bytes
| Enemy's HP
|-
| 0x00A9
| 4 bytes
| Exp points you receive when you win the battle
|-
| 0x00AD
| 4 bytes
| Gil you receive when you win the battle
|-
| 0x00B1
| 8 bytes
| Unknown
|}
Anonymous user