Difference between revisions of "FF7/Field/Script/Opcodes/CD MMBud"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
m (Table edit)
 
m (8 revisions imported)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* Opcode: '''0xC'''
+
* Opcode: '''0xCD'''
 
* Short name: '''MMBud'''
 
* Short name: '''MMBud'''
* Long name: Party Select: Character Switch
+
* Long name: Member Block +/- (Party Select: Character Switch)
  
 
==== Memory layout ====
 
==== Memory layout ====
Line 17: Line 17:
 
==== Description ====
 
==== Description ====
  
Enables or disables the availability of this character in the right-hand selector pain in the party select menu. If the character is currently in the party, this will have no effect, as they are not placed in the right-hand pain if already in the party.
+
Enables or disables the availability of this character in the game, as well as in the right-hand selector pane in the party select menu. If the character is currently in the party, this will have no effect as the character is already displayed in the current party list (left pane).
 +
 
 +
This turns the character on or off globally. That is, if you turn off the character and then query whether the character is available with [[FF7/Field/Script/Opcodes/CC IFMEMBQ|IFMEMBQ]], the comparison will not hold, and the script will jump to the second argument of IFMEMBQ.
  
 
==== Character IDs ====
 
==== Character IDs ====
Line 47: Line 49:
 
|-
 
|-
 
| align="center" | 7
 
| align="center" | 7
| Cid
+
| Vincent
 
|-
 
|-
 
| align="center" | 8
 
| align="center" | 8
| Vincent
+
| Cid
 
|-
 
|-
 
|}
 
|}

Latest revision as of 05:18, 23 May 2019

  • Opcode: 0xCD
  • Short name: MMBud
  • Long name: Member Block +/- (Party Select: Character Switch)

Memory layout

0xCD S C

Arguments

  • const UByte S: Switches the character on/off (1/0, respectively).
  • const UByte C: Character ID whose status will change.

Description

Enables or disables the availability of this character in the game, as well as in the right-hand selector pane in the party select menu. If the character is currently in the party, this will have no effect as the character is already displayed in the current party list (left pane).

This turns the character on or off globally. That is, if you turn off the character and then query whether the character is available with IFMEMBQ, the comparison will not hold, and the script will jump to the second argument of IFMEMBQ.

Character IDs

ID Character
0 Cloud
1 Barret
2 Tifa
3 Aeris
4 Red XIII
5 Yuffie
6 Cait Sith
7 Vincent
8 Cid