Difference between revisions of "FF7/Field/Script/Opcodes/A9 CMOVE"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>Akari
Line 20: Line 20:
 
==== Description ====
 
==== Description ====
  
Similar to [[FF7/Field/Script/Opcodes/A8 MOVE|MOVE]], but the field object won't play its animation whilst it moves.
+
Similar to [[FF7/Field/Script/Opcodes/A8 MOVE|MOVE]], but the field object won't play its animation whilst it moves.  Field object will not be rotated according to movement (it will move without changing direction).

Revision as of 18:39, 4 December 2007

  • Opcode: 0xA9
  • Short name: CMOVE
  • Long name: Move Object (No Animation)

Memory layout

0xA9 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

Similar to MOVE, but the field object won't play its animation whilst it moves. Field object will not be rotated according to movement (it will move without changing direction).