Difference between revisions of "FF7/Field/Script/Opcodes/CB IFPRTYQ"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
my_wiki>Synergy Blades m |
||
Line 12: | Line 12: | ||
==== Arguments ==== | ==== Arguments ==== | ||
− | * '''const UByte''' ''C'': [[FF7/Field/Script/Character ID | + | * '''const UByte''' ''C'': [[FF7/Field/Script/Character ID|Character ID]] to check. |
* '''const UByte''' ''A'': Amount to jump if comparison is false. | * '''const UByte''' ''A'': Amount to jump if comparison is false. | ||
Revision as of 02:59, 11 September 2006
- Opcode: 0xCB
- Short name: IFPRTYQ
- Long name: If Party Member
Memory layout
0xCB | C | A |
---|
Arguments
- const UByte C: Character ID to check.
- const UByte A: Amount to jump if comparison is false.
Description
Checks whether the character, given as the first argument, is in the current party of three. If so, the script immediately following this opcode and argument list will execute; otherwise, the script pointer is advanced by the second argument and execution continues.