Difference between revisions of "FF7/Field/Script/Opcodes/16 IFSW"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
m
Qhimm>Synergy Blades
m
(No difference)

Revision as of 00:24, 25 August 2006

  • Opcode: 0x16
  • Short name: IFSW
  • Long name: If (Signed Word)

Memory layout

0x16 B / 0 A V C E

Arguments

  • const Bit[4] B: Memory bank to access.
  • const Bit[4] 0: Zero.
  • const UShort A: Address of the value to retrieve.
  • const Short 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 IFUW opcode, but the value compared to may be negative.