Mario Kart Wii Gecko Codes, Cheats, & Hacks
Configurable Always Trick [Seeky] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Offline Non-Item (https://mariokartwii.com/forumdisplay.php?fid=53)
+--- Thread: Configurable Always Trick [Seeky] (/showthread.php?tid=1392)



Configurable Always Trick [Seeky] - Seeky - 12-28-2019

Configurable Always Trick [Seeky]

This code makes it so that whenever you drive off of trickable road or a half pipe, you'll trick without needing to press the d-pad / shake the wii remote. There is a version of the code where you can press a direction on the d-pad / shake your controller in a direction to set what type the automatic tricks will be (this requires use of the exception vector area, the address is set by setting the value of PPPP), and a shortened version of the code where the type is hard-coded (this is given the value N for regular tricks and M for half pipe tricks, both of which take a value from 1-4). The shortened code can also be repurposed as a trick disabler by replacing the N & M values with 0. Note: half-pipes can never be tricked off at certain angles, this code doesn't change that.

Short Version:
NTSC-U
0456F2F0 38A0000N
045AF900 3BC0000M

PAL
04575B54 38A0000N
04574D78 3BC0000M

NTSC-J
045754D4 38A0000N
045746F8 3BC0000M

NTSC-K
04563BAC 38A0000N
04562DD0 3BC0000M

Live Configurable Version:
NTSC-U
C256F2F0 00000004
3D608000 88A3003A
2C050000 41A2000C
98ABPPPP 48000008
88ABPPPP 00000000
C25AF900 00000002
3D608000 8BCBPPPP
60000000 00000000

PAL
C2575B54 00000004
3D608000 88A3003A
2C050000 41A2000C
98ABPPPP 48000008
88ABPPPP 00000000
C2574D78 00000002
3D608000 8BCBPPPP
60000000 00000000

NTSC-J
C25754D4 00000004
3D608000 88A3003A
2C050000 41A2000C
98ABPPPP 48000008
88ABPPPP 00000000
C25746F8 00000002
3D608000 8BCBPPPP
60000000 00000000

NTSC-K
C2563BAC 00000004
3D608000 88A3003A
2C050000 41A2000C
98ABPPPP 48000008
88ABPPPP 00000000
C2562DD0 00000002
3D608000 8BCBPPPP
60000000 00000000

Source ASM:
Address A:
================
0x8056F2F0 NTSC-U
0x80575B54 PAL
0x805754D4 NTSC-J
0x80563BAC NTSC-K

Address B:
================
0x805AF900 NTSC-U
0x80574d78 PAL
0x805746F8 NTSC-J
0x80562DD0 NTSC-K

One line version:
================
04 write at Address A
li r5, N
04 write at Address B
li r30, M

Live Configurable Version:
================
.set EVAADDRESS, 0x0698 # Set to any free exception vector area address (PPPP)

C2 write at Address A
lis r11, 0x8000
lbz r5, 0x003A (r3) # Loads current input
cmpwi r5, 0
beq+ else
stb r5, EVAADDRESS (r11) #If the player is pressing a trick direction, stores it
b end
else:
lbz r5, EVAADDRESS (r11) #If the player isn't pressing a trick, loads the stored trick
end:

C2 write at Address B
lis r11, 0x8000
lbz r30, EVAADDRESS (r11)

Code created by: Seeky


RE: Configurable Always Trick [Seeky] - Seeky - 12-28-2019

Just updated the code to support half pipes, NTSC regions currently untested


RE: Configurable Always Trick [Seeky] - Vega - 12-28-2019

Tested and new versions work. Nice


RE: Configurable Always Trick [Seeky] - JoshuaMK - 12-28-2019

Cool I've needed a half pipe version