Changes
Jump to navigation
Jump to search
no edit summary
* Opcode: '''0x73'''
* Short name: '''PGTDR'''
* Long name: Get Party Member Direction
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x73
! width="50" | ''B1 / B2''
! width="40" | ''P''
! width="40" | ''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''.
* Short name: '''PGTDR'''
* Long name: Get Party Member Direction
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x73
! width="50" | ''B1 / B2''
! width="40" | ''P''
! width="40" | ''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''.