Difference between revisions of "FF7/Field/Script/Opcodes/CC IFMEMBQ"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
 
ffrtt>BukTop
m (5 revisions imported)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* Opcode: '''0xCC'''
* Opcode: '''0xCC'''
* Short name: '''IFMEMBQ'''
* Short name: '''IFMEMBQ'''
* Long name: If Character Available
* Long name: If Party Member Available


==== Memory layout ====
==== Memory layout ====
Line 12: Line 12:
==== Arguments ====
==== Arguments ====


* '''const UByte''' ''C'': [[FF7/Field/Script/Character ID Table|Character ID]] to check.
* '''const UByte''' ''C'': [[FF7/Field/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.



Latest revision as of 04:18, 23 May 2019

  • Opcode: 0xCC
  • Short name: IFMEMBQ
  • Long name: If Party Member Available

Memory layout

0xCC 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 globally enabled; that is, the character has been enabled using MMBud. 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.