Anonymous

Changes

From Final Fantasy Inside

FF8/FileFormat JSM

429 bytes added, 05:24, 23 May 2019
m
9 revisions imported
By myst6re.
 
== Fields Scripts ==
| 0
| 1 byte
| Number Count of door entity
|-
| 1
| 1 byte
| Number Count of location (walkmesh line) entity
|-
| 2
| 1 byte
| Number Count of background entity
|-
| 3
| 1 byte
| Number Count of other entity
|-
| 4
<pre>
scriptCount = entryPointEntity & 0x7F;
label = entryPoint entryPointEntity >> 7;
</pre>
 
The entry points are sorted in order of execution (I guess), not in the order in which entities appear in the file.
 
When sorting entities, it will be always in that order:
<ol>
<li>Lines</li>
<li>Doors</li>
<li>Backgrounds</li>
<li>Other</li>
</ol>
 
To know what type of an entity, so we were just use their count.
=== Entry point of each script ===
</pre>
The position is relative to ''offsetScriptData''. The meaning of the flag is unknown, it appear always and only with door, location and background entities.Last entry point is relative EOF
=== Script Data ===