Anonymous

Changes

From Final Fantasy Inside

FF7/Battle/Battle scenes

1,285 bytes added, 10:12, 30 November 2008
AI Data: Someone who knows better than I, feel free to fill in these unknowns
====AI Data====
This section contains Battle Script that is executed before or/and during every fight. Every enemy has it's own script, and this script is sometimes divided to several a number of sections. Each enemy's AI data begins script starts with 32 bytes of header that describes sections of this enemy AI dataare divided into 16 parts representing 16 script types. Each section has it's The 2 -byte ID here and FFh means no number in any sectionis an offset relative to the beginning of this 32 byte block that tells the script reader where the script starts for that script type. After that{| 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" | Script Type|-| 0x00| Pre-battle script follows. |-| 0x02| Main|-| 0x04| General Counter|-| 0x06| Death Counter|-| 0x08| Physical Counter|-| 0x0A| Magical Counter|-|style="background:rgb(255,255,204)" | 0x0C|style="background:rgb(255,255,204)" | Unknown (used in character AI)|-| 0x0E| Pre-turn|-|style="background:rgb(255,255,204)" | 0x10|style="background:rgb(255,255,204)" | Unused|-|style="background:rgb(255,255,204)" | 0x12|style="background:rgb(255,255,204)" | Unused|-|style="background:rgb(255,255,204)" | 0x14|style="background:rgb(255,255,204)" | Unused|-|style="background:rgb(255,255,204)" | 0x16|style="background:rgb(255,255,204)" | Unused|-|style="background:rgb(255,255,204)" | 0x18|style="background:rgb(255,255,204)" | Unused|-|style="background:rgb(255,255,204)" | 0x1A|style="background:rgb(255,255,204)" | Unused|-|style="background:rgb(255,255,204)" | 0x1C|style="background:rgb(255,255,204)" | Unused|-| 0x1E| Post-Death (?)|}It's structure and opcodes are described [[FF7/Battle/Battle_Scenes/Battle_Script|here]].
== Useful downloads ==
Anonymous user