Difference between revisions of "FF7/Field/Script/Opcodes/73 PGTDR"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
m (Doesn't seem to offer bank/address for party ID as I assumed)
m (4 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
  
 
* '''const UByte''' ''B'': Bank to store direction.
 
* '''const UByte''' ''B'': 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''' ''P'': Party member ID, from 0 to 2.
 
* '''const UByte''' ''D'': Address to store direction.
 
* '''const UByte''' ''D'': Address to store direction.
  

Latest revision as of 05:17, 23 May 2019

  • Opcode: 0x73
  • Short name: PGTDR
  • Long name: Get Party Member Direction

Memory layout

0x73 B P D

Arguments

  • const UByte B: Bank to store direction.
  • const UByte P: Party member ID, from 0 to 2.
  • 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 B and D.