Difference between revisions of "FF7/Field/Script/Opcodes/7C DEC!"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Halkun
 
my_wiki>BukTop
m (1 revision imported)
(No difference)

Revision as of 12:34, 4 April 2018

  • Opcode: 0x7C
  • Short name: DEC!
  • Long name: Saturated Decrement (8-bit)

Memory layout

0x7C 0/D Dest

Arguments

  • const Bit[4] D: Destination bank
  • const UByte Dest: The destination address in the bank where the variable is deccremented.

Description

Decreases the value in “Dest” by 1. The result is capped at 0.