Changes
Jump to navigation
Jump to search
<cpp> struct FF7SCRIPTHEADER {
no edit summary
==== Section 1 Header ====
u16 unknown1; // Always 0x0502
char nEntities; // Number of entities
u16 vEntityScripts[nEntities][32]; // Entity script entry points, or more
// explicitly, subroutine offsets
};</cpp>
==== Event Script Subsection ====
==== Akao blocks ====
If there are any Akao offsets (as specified by nExtraOffsets and dwExtraOffsets), they follow after the dialog subsection, beginning with the four-letter AKAO. Akao blocks contain sound-related data such as the music file index for this field. In some fields (junpb_2, mds7pb_1, mds7pb_2 and msd7_w2), the Akaos are mixed with tutorials. I do not know why, but the PC version uses a separate file (junpb.tut, mds7_w.tut or mds7pb.tut) instead of these tutorials.<br>'''Note:''' Between dialogs and akaos there may be a padding to align the akaos section.