FF7/Field/Script/Opcodes/5A CKITM

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 00:37, 8 September 2006 by my_wiki>Synergy Blades
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Opcode: 0x5A
  • Short name: CKITM
  • Long name: Check Item

Memory layout

0x5A B I A

Arguments

  • const UByte B: Bank to store result.
  • const UShort I: 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.