FF7/Field/Script/Opcodes/AA MOVA

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 12:34, 4 April 2018 by my_wiki>BukTop (1 revision imported)
Jump to navigation Jump to search
  • 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.