Difference between revisions of "FF7/Field/Script/Opcodes/B2 MSPED"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Akari
Qhimm>Akari
Line 13: Line 13:


* '''const UByte''' ''B'': Bank to retrieve ''R'', or zero if ''R'' is specified as a literal value.
* '''const UByte''' ''B'': Bank to retrieve ''R'', or zero if ''R'' is specified as a literal value.
* '''const UShort''' ''S'': Speed value.
* '''const UShort''' ''S'': Speed value (8-bit fixed point).


==== Description ====
==== Description ====


Set speed of movement for MOVE-type opcodes.
Set speed of movement for MOVE-type opcodes.

Revision as of 17:19, 29 December 2007

  • Opcode: 0xB2
  • Short name: MSPED
  • Long name: Movement Speed (16-bit)

Memory layout

0xD7 B S

Arguments

  • const UByte B: Bank to retrieve R, or zero if R is specified as a literal value.
  • const UShort S: Speed value (8-bit fixed point).

Description

Set speed of movement for MOVE-type opcodes.