GTAG - Modding - Opcode Database - 000C
Opcode Database
000C
| Description | Subtracts the value from the value of the integer VAR. |
|---|---|
| Parameters (v2) | 1) (Returned) Global variable (VAR_INT) 2) Integer (INT) |
| Games | |
| Category | Common, Math |
| San Andreas | |
| sascm.ini | 000C=2,%1d% -= %2d% |
| Example | 000C: $1020 -= 1 |
| Command Name | SUB_VAL_FROM_INT_VAR |
| Vice City | |
| sascm.ini | 000c=2,%1d% -= %2d% |
| Example | 000C: $851 -= 1 |
| GTA III | |
| gtascm.ini | 000c=2,%1d% -= %2d% |
| Example | 000C: $1122 -= 3 |

