Anonymous

Changes

From Final Fantasy Inside

FF7/WorldMap Module/Script

80 bytes added, 08:41, 2 February 2019
Call Table: Information regarding the bit order was reversed
=== Call Table ===
The first 0x400 bytes of an .ev file is the call table, a mapping between functions and entry points. Each entry is 4 bytes, 2 bytes of function identifier and 2 bytes instruction pointer. Instruction pointers are in 2-byte increments from the start of the code section. The last first two bits (most significant) of the function identifier defines the format of the remaining 14 bits;
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; width: 200px"
! style="background:rgb(204,204,204)" align="center" | size
! style="background:rgb(204,204,204)" align="center" | description
|-
| 8 bits
| Function #
|-
| 6 bits
| Padding
|-
| 8 bits (least significant)
| Function #
|}
! style="background:rgb(204,204,204)" align="center" | size
! style="background:rgb(204,204,204)" align="center" | description
|-
| 8 bits
| Function #
|-
| 6 bits
| Model ID
|-
| 8 bits (least significant)
| Function #
|}
! style="background:rgb(204,204,204)" align="center" | size
! style="background:rgb(204,204,204)" align="center" | description
|-
| 4 bits
| Walkmesh type
|-
| 10 bits
| MeshX + MeshZ * 36
|-
| 4 bits (least significant)
| Walkmesh type
|}
Anonymous user