Mario Kart Wii Gecko Codes, Cheats, & Hacks
Mega Mushroom Size Multiplier [CLF78] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mkwii.com)
+-- Forum: Cheat Codes (https://mkwii.com/forumdisplay.php?fid=51)
+--- Forum: Offline; Item (https://mkwii.com/forumdisplay.php?fid=58)
+--- Thread: Mega Mushroom Size Multiplier [CLF78] (/showthread.php?tid=1680)



Mega Mushroom Size Multiplier [CLF78] - CLF78 - 11-20-2020

This code multiplies the Mega Mushroom size value loaded from KartParam.bin. Note: Others online will not see the effect.

NTSC-U
C258B904 00000003
C0040184 3CA0XXXX
90A30184 C0230184
EC010032 00000000

PAL
C2592128 00000003
C0040184 3CA0XXXX
90A30184 C0230184
EC010032 00000000

NTSC-J
C2591AA8 00000003
C0040184 3CA0XXXX
90A30184 C0230184
EC010032 00000000

NTSC-K
C2580180 00000003
C0040184 3CA0XXXX
90A30184 C0230184
EC010032 00000000

XXXX = Left part of the float multiplier (for example, 1.5 is 0x3FC0)

Source:
Code:
# Inject @ 80592128 PAL, 8058B904 NTSC-U, 80591AA8 NTSC-J, 80580180 NTSC-K
# Original instruction
lfs f0, 0x184(r4)

# Load the left part of our custom float in f1
lis r5, 0xXXXX
stw r5, 0x184(r3)
lfs f1, 0x184(r3)

# Multiply
fmuls f0, f1, f0

Code created by: CLF78
Code contributors: Seeky (address founder)