Mario Kart Wii Gecko Codes, Cheats, & Hacks
Disable Wallriding [CLF78] - 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: Disable Wallriding [CLF78] (/showthread.php?tid=1830)



Disable Wallriding [CLF78] - CLF78 - 06-02-2021

Title explains itself.

NTSC-U
C25757B4 00000003
80030004 70040060
41A2000C 54000080
90030004 00000000

PAL
C257C018 00000003
80030004 70040060
41A2000C 54000080
90030004 00000000

NTSC-J
C257B998 00000003
80030004 70040060
41A2000C 54000080
90030004 00000000

NTSC-K
C256A070 00000003
80030004 70040060
41A2000C 54000080
90030004 00000000

Source:
Code:
# Original instruction
lwz r0, 0x4(r3)

# Check if we are hitting a wall
andi. r4, r0, 0x60
beq+ end

# If so unset the jump pad bit
rlwinm r0, r0, 0, 2, 0
stw r0, 0x4(r3)

# Return
end:

Code created by: CLF78
Code credits: MrBean (address founder), stebler (documentation)