Difference between revisions of "FF7/Field/Script/Opcodes/96 INC2"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 05:18, 23 May 2019

  • Opcode: 0x96
  • Short name: INC2
  • Long name: Increment (16-bit)

Memory layout

0x96 B A

Arguments

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

Description

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