Difference between revisions of "FF7/Field/Script/Opcodes/CD MMBud"
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: ''' | + | * 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 | + | 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 | ||
− | | | + | | Vincent |
|- | |- | ||
| align="center" | 8 | | align="center" | 8 | ||
− | | | + | | 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 |