Changes

Jump to navigation Jump to search

FF7/Field/Script

33 bytes added, 13:49, 20 July 2005
m
I thought it odd that my name wasn't mentioned when it's my code in the header description... small fix.
=== Section 1: Dialog and Event ([[User:Halkun|Halkun]], [[User:LaysanLasyan|LaysanLasyan]], [[User:Qhimm|Qhimm]] and [[User:Ficedula|Ficedula]]) ===
The First section holds the Field Script logic and Dialog data for that particular field file. The first section of the PSX DAT file (excluding the DAT header) and the data in this section are the same. A recap of the PSX DAT file format is later in this document.
==== Section 1 Header ====
<cpp>struct FF7SCRIPTHEADER {
u16 unknown1;
char nEntities; // Number of entities
u16 vEntityScripts[nEntities][32]; // Entity script entry points, or more
// explicitly, subroutine offsets
};</cpp>
==== Event Script Subsection ====
Anonymous user

Navigation menu