Difference between revisions of "FF7/Field/Script/Opcodes/A8 MOVE"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
my_wiki>Synergy Blades m (anim used) |
||
Line 20: | Line 20: | ||
==== Description ==== | ==== Description ==== | ||
− | + | Makes the field object, associated with the entity this opcode's script resides in, walk (or move gradually) to the point specified by the coordinates, at the speed previously specified by [[FF7/Field/Script/Opcodes/B2 MSPED|MSPED]]. The object's standard walk animation is used, found with animation ID 1 in the field object associated with this entity. |
Revision as of 03:21, 9 September 2006
- Opcode: 0xA8
- Short name: MOVE
- Long name: Move Object
Memory layout
0xA8 | B1 / B2 | X | Y |
---|
Arguments
- const Bit[4] B1: Bank to retrieve X-coordinate, or zero if it is specified as a literal value.
- const Bit[4] B2: Bank to retrieve Y-coordinate, or zero if it is specified as a literal value.
- const Short X: X-coordinate, or lower byte specifying an address for the value if B1 is non-zero.
- const Short Y: Y-coordinate, or lower byte specifying an address for the value if B2 is non-zero.
Description
Makes the field object, associated with the entity this opcode's script resides in, walk (or move gradually) to the point specified by the coordinates, at the speed previously specified by MSPED. The object's standard walk animation is used, found with animation ID 1 in the field object associated with this entity.