Difference between revisions of "FF7/Field/Script/Opcodes/98 DEC2"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Synergy Blades
 
ffrtt>BukTop
m (2 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 04:18, 23 May 2019

  • Opcode: 0x98
  • Short name: DEC2
  • Long name: Decrement (16-bit)

Memory layout

0x98 B A

Arguments

  • const UByte B: Destination bank.
  • const UByte A: Address.

Description

Decrements the 16-bit value found at bank B, address A. If the value is 0x0000, it will roll over to 0xFFFF.