Difference between revisions of "FF7/Field/Script/Opcodes/B3 DIR"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
 
ffrtt>BukTop
m (3 revisions imported)
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
! width="40" | 0xB3
! width="40" | 0xB3
! width="40" | ''B''
! width="40" | ''B''
! width="40" | ''S''
! width="40" | ''D''
|}
|}



Latest revision as of 04:18, 23 May 2019

  • Opcode: 0xB3
  • Short name: DIR
  • Long name: Direction

Memory layout

0xB3 B D

Arguments

  • const UByte B: Bank to retrieve direction value, or zero if it is specified as a literal value.
  • const UByte D: Direction to face, or address if B is non-zero.

Description

Instantaneously turns the field object for this entity to the direction specified by D. The direction is in the standard direction format for the game.