Difference between revisions of "FF7/Field/Script/Opcodes/7B INC2!"
From Final Fantasy Inside
my_wiki>Halkun |
m (2 revisions imported) |
| (One intermediate revision by one other user not shown) | |
(No difference)
| |
Latest revision as of 05:17, 23 May 2019
- Opcode: 0x7B
- Short name: INC2!
- Long name: Saturated Increment (16-bit)
Memory layout
| 0x7B | 0/D | Dest |
|---|
Arguments
- const Bit[4] D: Destination bank
- const UByte Dest: The destination address in the bank where the variable is incremented.
Description
Increments the value in “Dest†by 1. The result is capped at 32767.