Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/CC IFMEMBQ

827 bytes added, 02:29, 30 August 2006
no edit summary
* Opcode: '''0xCC'''
* Short name: '''IFMEMBQ'''
* Long name: If Character Available

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xCC
! width="40" | ''C''
! width="40" | ''A''
|}

==== Arguments ====

* '''const UByte''' ''C'': [[FF7/Field/Script/Character ID Table|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 [[FF7/Field/Script/Opcodes/CD MMBud|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.

Navigation menu