Changes

Jump to navigation Jump to search

FF7/WorldMap Module/Script

8 bytes added, 08:48, 2 February 2019
m
Call Table: Formatting change
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 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: 200px250px"
|+ Type = 0, System function
|-
|}
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; width: 200px250px"
|+ Type = 1, Model function
|-
|}
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; width: 200px300px"
|+ Type = 2, Mesh function
|-
|-
| 4 bits (least significant)
| Walkmesh trigger type
|}
Anonymous user

Navigation menu