Changes

Jump to navigation Jump to search

FF7/Field/Script

288 bytes added, 23:05, 30 December 2006
Event Script Subsection
Here we have all of the pointers tables, one for each section. Pointers are 2 bytes length. Each table has a length of 64 bytes, which means a section can have 32 scripts max. Each pointer refers to the first command of the current script. The section number N begins at the offset header_length+N*64. Note: the only way to retrieve the length of a script is to subtract the position of the next script to the position of the current script.
[[User:Cyberman|Cyberman]] 14:05, 30 Dec 2006 (CST)
Unused events in the event script subsection point to a [[FF7/Field/Script/Opcodes/00 RET|00 RET]] opcode (each empty script has a unique RET opcode for it in the script). This must be strictly adhered too or the FF7 engine will crash.
==== Event Script ====
Anonymous user

Navigation menu