Changes
Jump to navigation
Jump to search
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.
* 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.