Difference between revisions of "FF7/Field/Script/Opcodes/42 MPRA2"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
my_wiki>BukTop m (1 revision imported) |
(No difference)
|
Revision as of 12:34, 4 April 2018
- Opcode: 0x42
- Short name: MPRA2
- Long name: Message Parameter (16-bit)
Memory layout
0x42 | B | W | I | V |
---|
Arguments
- const UByte B: Bank to retrieve value from, or zero if using a literal value.
- const UByte W: WINDOW ID for this parameter.
- const UByte I: ID of the "Variable" dialog code that this value will replace.
- const UShort V: Value to insert into dialog, or address of value, if B is non-zero.
Description
Similar to MPARA, but allows a constant value of greater than one byte to be supplied. This does not apply if B is non-zero, as the address the value is retrieved from must be in the range 0 to 0xFF.