Difference between revisions of "SpriteMove"
Jump to navigation
Jump to search
m (Xifanie moved page Event Instruction 3B to SpriteMove) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
− | See Also: [[Event_Instruction_11|{11} {{IE_11}}]] ― [[Event_Instruction_6F|{6F} {{IE_6F | + | See Also: [[Event_Instruction_11|{11} {{IE_11}}]] ― [[Event_Instruction_6F|{6F} {{IE_6F}}]] |
Line 14: | Line 14: | ||
− | == | + | == X movement : Half-Word (signed) == |
− | Destination in | + | Destination in X for the assigned unit based on current location. (00028) ~ 1 tile |
− | |||
== Z movement : Half-Word (signed) == | == Z movement : Half-Word (signed) == | ||
− | Destination in Z for the assigned unit based on current location. | + | Destination in Z for the assigned unit based on current location. (00012) ~ 1 tile |
− | |||
− | |||
− | |||
− | |||
+ | == Y movement : Half-Word (signed) == | ||
+ | Destination in Y for the assigned unit based on current location. (00028) ~ 1 tile | ||
== Movement Type : Byte (hex) == | == Movement Type : Byte (hex) == | ||
Line 33: | Line 30: | ||
− | == Unknown | + | == Unknown : Byte (hex) == |
*x01 : ??? | *x01 : ??? | ||
*x02 : ??? | *x02 : ??? |
Latest revision as of 15:02, 6 August 2020
Contents
{3B} SpriteMove
SpriteMove(xID,x00,+XXXXX,+ZZZZZ,+YYYYY,xMV,x??,+TIMER)
Moves Target Unit to specified coordinates relative to its starting position, ignoring the field and the units statistics such as Jump.
See Also: {11} UnitAnim ― {6F} WaitSpriteMove
Unit ID : Byte (hex)
ID of the unit specified in the ENTD.
x00 : Byte (hex)
This value is always set to x00 in the original game; it probably doesn't have a function.
X movement : Half-Word (signed)
Destination in X for the assigned unit based on current location. (00028) ~ 1 tile
Z movement : Half-Word (signed)
Destination in Z for the assigned unit based on current location. (00012) ~ 1 tile
Y movement : Half-Word (signed)
Destination in Y for the assigned unit based on current location. (00028) ~ 1 tile
Movement Type : Byte (hex)
- x00 = Normal
- x01 = Decelerate (end)
- x02 = Accelerate (start) & Decelerate (end)
- x03 = Accelerate (start)
Unknown : 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