FF7/Field/Script/Opcodes/73 PGTDR

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 00:50, 15 September 2006 by my_wiki>Synergy Blades
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Opcode: 0x73
  • Short name: PGTDR
  • Long name: Get Party Member Direction

Memory layout

0x73 B1 / B2 P D

Arguments

  • const Bit[4] B1: Bank to retrieve party member ID, or zero if P is specified as a literal.
  • const Bit[4] B2: Bank to store direction.
  • const UByte P: Party member ID, from 0 to 2, or address to retrieve this value, if B1 is non-zero.
  • const UByte D: Address to store direction.

Description

Fetches the orientation of the party member specified by P on the field, into the bank and address specified by B1 and D.