Anonymous

Changes

From Final Fantasy Inside

FF7/Battle/Battle scenes

553 bytes added, 01:21, 2 December 2008
m
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 divided to a number of sections. Each script starts with 32 bytes of header that are divided into 16 parts representing 16 script types. The 2-byte number in any section is an offset relative to the beginning of this 32 byte block that tells the script reader where the script starts for that script type.
{| 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" | Script Type
|-
|style="background:rgb(255,255,204)" | 0x0C
|style="background:rgb(255,255,204)" | Unknown (used in character AI)Party Member Death?
|-
| 0x0E
|-
| 0x1E
| Post-Death (?)Battle
|}
It's structure and opcodes are described [[FF7/Battle/Battle_Scenes/Battle_Script|here]].
 
NOTES:
*Party Member Death is only used on Cloud's AI. It's meant to lower the character's Love Points with him if he lets them die or he dies with them in the party (not sure which).
*Post-Battle is only used on Mystery Ninja (all), Ultimate Weapons in location other than above Cosmo Canyon, Safer Sephiroth, and the final "showdown" between Cloud and Sephiroth. These characters have scripts on them that do not remove them from battle when they are defeated. This Script section is used to remove them from the battle probably to clean up memory.
== Useful downloads ==
Anonymous user