Anonymous

Changes

From Final Fantasy Inside

FF7/WorldMap Module/FIELD.TBL

57 bytes added, 10:49, 10 November 2021
m
Additional Info
This file contains the definition of what field map should be loaded and also the coordinates to which the character should begin at when the () opcode is executed during world scripting.
 
== Contents ==
* '''Short''' ''X'': X-coordinate of the player on the next field.
* '''Short''' ''Y'': Y-coordinate of the player on the next field.
* '''Short''' ''ZT'': Z-coordinate Triangle ID of the player on the next field.
* '''UShort''' ''F'': Field ID of the field to jump to.
* '''UByte''' ''D'': Direction the character will be facing on the next field, in the standard game format.
== Additional Info ==
Another note of interest: As mentioned, there are 64 entries in FIELD.TBL, which correspond with the 64 WM fields. As known, when transitioning from field maps to the world map, the game uses 64 dummy-type fields to indicate 64 different points of entry (per coordinates) to the world map (some of which are relative coordinates to where you last were on the world map). The coordinates that it transports to These are currently unknown, but likely contained within NOT stored in FIELD.TBL. Instead they are stored in the System function ID 0 in the [[FF7/WorldMap Module/Script#Functions|worldmap scripts]]. It is also important to note that all entry points map exactly to the exit points; that is, when you leave are leaving Midgar, you are in map mds5_5 and it MAPJUMPs to wm0, which puts you on the south side of Midgar, but when you walk into Midgar from the world map, it'll be record 0 in FIELD.TBL, which directs the game to jump to mds5_5.
49
edits