FF7/Field/Script/Opcodes/18 IFUW

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 01:02, 18 August 2006 by my_wiki>Synergy Blades
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Opcode: 0x18
  • Short name: IFUW
  • Long name: If (Unsigned Word)

Memory layout

0x18 B A V C E

Arguments

  • const UByte B: Memory bank to access.
  • const UShort A: Address of the value to retrieve.
  • const UShort V: Unsigned value to compare the retrieved value to.
  • const UByte C: Type of comparison to perform.
  • const UByte E: Amount to jump if the comparison does not hold.

Description

This is similar to the IFUB opcode, but it allows both address and value to be larger than 0xFF.