Difference between revisions of "FF7/Field/Script/Opcodes/06 PRQEW"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Qhimm
 
m (3 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
 
! width="40" | 0x06
 
! width="40" | 0x06
! width="40" | ''E''
+
! width="40" | ''PM''
 
! width="40" | ''P / F''
 
! width="40" | ''P / F''
 
|}
 
|}
  
 
==== Arguments ====
 
==== Arguments ====
* '''const UByte''' ''E'': The ID of the current party member (0, 1 or 2).
+
* '''const UByte''' ''PM'': The ID of the current party member (0, 1 or 2).
 
* '''const Bit[3]''' ''P'': The [[FF7/Field/Script/Priorities|priority]] at which we want to execute the remote script (high 3 bits of byte).
 
* '''const Bit[3]''' ''P'': The [[FF7/Field/Script/Priorities|priority]] at which we want to execute the remote script (high 3 bits of byte).
 
* '''const Bit[5]''' ''F'': The ID of the specific member function of ''PM'' 's entity to be executed (low 5 bits of byte).
 
* '''const Bit[5]''' ''F'': The ID of the specific member function of ''PM'' 's entity to be executed (low 5 bits of byte).

Latest revision as of 05:14, 23 May 2019

  • Opcode: 0x06
  • Short name: PRQEW
  • Long name: Request party entity execution (synchronous, guaranteed)

Memory layout

0x06 PM P / F

Arguments

  • const UByte PM: The ID of the current party member (0, 1 or 2).
  • const Bit[3] P: The priority at which we want to execute the remote script (high 3 bits of byte).
  • const Bit[5] F: The ID of the specific member function of PM 's entity to be executed (low 5 bits of byte).

Description

Requests that the entity associated with a character in the current party executes one of its member functions at a specified priority. The request will block until remote execution has finished before returning.