Hey!
I want to write a little cheat code to be able to battle Hotrod vehicles instead of normal ones and preferably be able to switch Hotrod on and off.
I figured out joker command offset, and memory byte needed to be modified to enable Hotrods.
The idea is pretty simple. There are 4 enemy slots. Each slot is 1 byte in memory.
0x00-0x11 - 18 normal vehicles, 0x15-0x26 - 18 Hotrod vehicles.
HOTROD_HEX = NORMAL_HEX + 0x15
My original idea was to have 4 different button combos to enable Hotrod vehicles in every slot separately.
Player choose vehicles in slots, pressed combos to swap normal vehicles to Hotrods in desired slots and presses X to start a game.
I wanted to get code that acts somewhat like this:
D0XXXXXX 0104 - check if buttons are pressed
E2XXXXXX 0012 - check if value in slot is less than 12
20XXXXXX 0015 - add 0x15 to that slot
As far as I can tell I can't use more than 2 activator in a row (I tried it with 2 different emulators, they both crashed). The problem is that I can't just write constantly to the memory because I want to be able change vehicles in slots when cheat code is active (activate Hotrods only when certain buttons are pressed).
How can one implement something like this? (use 2 activators in a cheat code)
I want to write a little cheat code to be able to battle Hotrod vehicles instead of normal ones and preferably be able to switch Hotrod on and off.
I figured out joker command offset, and memory byte needed to be modified to enable Hotrods.
The idea is pretty simple. There are 4 enemy slots. Each slot is 1 byte in memory.
0x00-0x11 - 18 normal vehicles, 0x15-0x26 - 18 Hotrod vehicles.
HOTROD_HEX = NORMAL_HEX + 0x15
My original idea was to have 4 different button combos to enable Hotrod vehicles in every slot separately.
Player choose vehicles in slots, pressed combos to swap normal vehicles to Hotrods in desired slots and presses X to start a game.
I wanted to get code that acts somewhat like this:
D0XXXXXX 0104 - check if buttons are pressed
E2XXXXXX 0012 - check if value in slot is less than 12
20XXXXXX 0015 - add 0x15 to that slot
As far as I can tell I can't use more than 2 activator in a row (I tried it with 2 different emulators, they both crashed). The problem is that I can't just write constantly to the memory because I want to be able change vehicles in slots when cheat code is active (activate Hotrods only when certain buttons are pressed).
How can one implement something like this? (use 2 activators in a cheat code)
Comment