Mario Kart Wii Gecko Codes, Cheats, & Hacks
Disable CPU Driving [B_squo] - 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 CPU Driving [B_squo] (/showthread.php?tid=2389)



Disable CPU Driving [B_squo] - Vega - 02-10-2025

Disable CPU Driving [B_squo]

Works everywhere. This will disable CPU driving and disable CPU start boosts.  The only inconvenience is that CPUs won't move during the awards ceremony or the credits, but it should be relatively easy to fix, I just didn't think it was necessary at the moment, unless anybody explicitly wants cutscene CPUs to work as intended.

The first line immediately returns on function Enemy::AIControlBase::doUpdate_ (which handles updating CPUs in general terms)
The second line immediately returns from function Enemy::AIControlBase:ConfusedetStartDashTypeToKart, making CPUs unable to start boost.
(names are from MK7, but the way it's coded is pretty much the same as MKWii).

NTSC-U
0472336c 4e800020
0472310c 4e800020

PAL
0472a570 4e800020
0472a310 4e800020

NTSC-J
04729bdc 4e800020
0472997c 4e800020

NTSC-K
04718918 4e800020
047186b8 4e800020

Code creator: B_squo