Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/5A CKITM

607 bytes added, 00:37, 8 September 2006
no edit summary
* Opcode: '''0x5A'''
* Short name: '''CKITM'''
* Long name: Check Item

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

==== Arguments ====

* '''const UByte''' ''B'': Bank to store result.
* '''const UShort''' ''I'': [[FF7/Field/Item ID|Item ID]] to check.
* '''const UByte''' ''A'': Address to store result.


==== Description ====

Copies the amount of item '''I''' the player has in their inventory, to the bank and address specified.

Navigation menu