Difference between revisions of "FF7/Field/Script/Opcodes/AA MOVA"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
(No difference)

Revision as of 01:27, 13 September 2006

  • Opcode: 0xAA
  • Short name: MOVA
  • Long name: Move to Entity

Memory layout

0xAA E

Arguments

  • const UByte E: Entity ID to move towards.

Description

Moves the field object towards the entity with the given ID. Note that this is not a field object ID, in that the entity ID includes non-visible entities; in other words, this is an offset to an entity in the entire entity list, not just the visible entity list. However, attempting to move the field object to an entity that is not visible will fail, in that the MOVA opcode is ignored.