Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/5D CMTRA

164 bytes added, 18:12, 24 March 2018
Created page with "* Opcode: '''0x5D''' * Short name: '''CMTRA''' * Long name: Check Materia ==== Memory layout ==== {| style="border: 1px solid black; border-collapse: collapse" border="1"..."
* Long name: Check Materia
==== Memory layout ==== {| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x5D
! width="50" | ''B1 / B2''
|}
==== Arguments ====
* '''const Bit[4]''' ''B1''<nowiki>: Source bank 1, or zero if </nowiki>''T'' is set as a constant value.* '''const Bit[4]''' ''B2''<nowiki>: Source bank 2, or zero if this unit of </nowiki>''AP'' is set as a constant value.* '''const Bit[4]''' ''B3''<nowiki>: Source bank 3, or zero if this unit of </nowiki>''AP'' is set as a constant value.* '''const Bit[4]''' ''B4''<nowiki>: Source bank 4, or zero if this unit of </nowiki>''AP'' is set as a constant value.* '''const UByte''' ''B5''<nowiki>: Bank to store </nowiki>''A''.* '''const UByte''' ''T''<nowiki>: </nowiki>[[FF7/Field/Script/Materia IDMateria_ID|Type of materia]] to check, or source address 1.* '''const UByte[3]''' ''AP''<nowiki>: Amount of AP the checked materia must have, or source addresses 2, 3 and 4.</nowiki>* '''const UByte''' ''U''<nowiki>: Unknown.</nowiki>* '''const UByte''' ''A''<nowiki>: Address to store amount of materia found.</nowiki>
==== Description ====
Places the amount of materia with specified type and AP into the bank and address specified.
==== Important Note ====
This opcode is '''not''' implemented in the PC version of the game, nor used in the PlayStation version.
Anonymous user

Navigation menu