I have updated the cheat code system in the mod loaders to add something that I've wanted for a while: registers. Each code can now access a set of 16 unique registers by specifying a value of "r0" to "r15" for the Address field.
Additionally, there are now a new set of code types which allow you to write data from a register to an address (even another register) by specifying the register's index (without 'r') in the Value field. These new code types all have "reg" before the data type indicator, ie writereg8, mulregu16, divregfloat. There are also "readreg" code types that perform the opposite function of the "writereg" types: they read data from an address and store it in a register.
With this, several advanced codes are now possible, such as a size modifier for SA2 that remembers your size between levels and alters the character's collision sphere also (although it doesn't work quite as well as you might hope).
Additionally, there are now a new set of code types which allow you to write data from a register to an address (even another register) by specifying the register's index (without 'r') in the Value field. These new code types all have "reg" before the data type indicator, ie writereg8, mulregu16, divregfloat. There are also "readreg" code types that perform the opposite function of the "writereg" types: they read data from an address and store it in a register.
With this, several advanced codes are now possible, such as a size modifier for SA2 that remembers your size between levels and alters the character's collision sphere also (although it doesn't work quite as well as you might hope).


02
