Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/C1 AXYZI

No change in size, 05:18, 23 May 2019
m
4 revisions imported
* '''const Bit[4]''' ''B3'': Bank to store ''Z''.
* '''const Bit[4]''' ''B4'': Bank to store ''I''.
* '''const ByteUByte''' ''A'': Entity ID whose field object will have its position retrieved from.* '''const ShortUByte''' ''X'': Address to store the X-coordinate of the entity's object.* '''const ShortUByte''' ''Y'': Address to store the Y-coordinate of the entity's object.* '''const ShortUByte''' ''Z'': Address to store the Z-coordinate of the entity's object.* '''const UShortUByte''' ''I'': Address to store the ID of the walkmesh triangle the object is standing on.
==== Description ====
Retrieves the coordinates of the field object that the entity, whose ID specified in ''A'', is associated with. This opcode uses an entity ID, not a field object offset; as such, if an entity ID is given that does not have a field object, this opcode will store zero in each of the four address specified.