Event Instruction: {3B}SpriteMove
See Also: {11}UnitAnim {6F}WaitSpriteMove ★ {E5}WaitForInstruction
Description:
Move a unit around in various possible ways.
Parameters:
Unit ID : Byte (hex)
Unknown 1 : Byte (hex)
Y movement : Half-Word (signed)
Z movement : Half-Word (signed)
X movement : Half-Word (signed)
Movement Type : Byte (hex)
Unknown 2 : Byte (hex)
Time : Half-Word (signed)
Unit ID : Byte (hex)
ID of the unit specified in the ENTD.
Unknown 1 : Byte (hex)
Always x00.
Y movement : Half-Word (signed)
Destination in Y for the assigned unit based on current location.
Z movement : Half-Word (signed)
Destination in Z for the assigned unit based on current location.
X movement : Half-Word (signed)
Destination in X for the assigned unit based on current location.
Movement Type : Byte (hex)
x00 = Normal
x01 = Decelerate (end)
x02 = Accelerate (start) & Decelerate (end)
x03 = Accelerate (start)
Unknown 2 : Byte (hex)
x01 : ???
x02 : ???
x04 : ???
x08 : ???
Time : Half-Word (signed)
Determines the time needed for the unit to reach destination in 1/60th of seconds
+00060 = 1 second
+00180 = 3 seconds
+00900 = 15 seconds