Mario Kart Wii Gecko Codes, Cheats, & Hacks
Goomba Dropped Item Modifier [CLF78] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Online; Item (https://mariokartwii.com/forumdisplay.php?fid=57)
+--- Thread: Goomba Dropped Item Modifier [CLF78] (/showthread.php?tid=1675)



Goomba Dropped Item Modifier [CLF78] - CLF78 - 11-19-2020

This code lets you choose which item Goombas drop when hit.

NTSC-U
006CC1E3 0000000X
006CC34B 0000000X
086CC547 0000000X
000301C0 00000000
006CCE97 0000000X

PAL
006DB893 0000000X
006DB9FB 0000000X
086DBBF7 0000000X
000301C0 00000000
006DC547 0000000X

NTSC-J
006DAEFF 0000000X
006DB067 0000000X
086DB263 0000000X
000301C0 00000000
006DBBB3 0000000X

NTSC-K
006C9C3B 0000000X
006C9DA3 0000000X
086C9F9F 0000000X
000301C0 00000000
006CA8EF 0000000X

X Values:
0 = Green Shell
1 = Red Shell
2 = Banana
3 = Mushroom
4 = Star
5 = Blue Shell
6 = Lightning
7 = Fake Box
8 = Mega Mushroom
9 = Bob-omb
A = Blooper
B = POW Block
C = Golden Mushroom
D = Bullet Bill
E = Thunder Cloud

Code created by: CLF78


RE: Goomba Dropped Item Modifier [CLF78] - Vega - 11-19-2020

Nice work!


RE: Goomba Dropped Item Modifier [CLF78] - CLF78 - 11-20-2020

Thanks! I updated the code to work anywhere. Can it be moved to Online Item ?


RE: Goomba Dropped Item Modifier [CLF78] - Vega - 11-22-2020

Yes. Thread moved.


RE: Goomba Dropped Item Modifier [CLF78] - Vega - 11-23-2020

I've noticed that all your RAM writes lead to the same function call.

For PAL this is 0x80799FBC (the li r4 instruction you are modifying is the 2nd arg of the call).

stwu sp, -0x0070 (sp) #Default Instruction
li r4, X #Item

NTSC-U
C2790FB0 00000002
9421FF90 3880000X
60000000 00000000

PAL
C2799FBC 00000002
9421FF90 3880000X
60000000 00000000

NTSC-J
C2799628 00000002
9421FF90 3880000X
60000000 00000000

NTSC-K
C278837C 00000002
9421FF90 3880000X
60000000 00000000



RE: Goomba Dropped Item Modifier [CLF78] - Seeky - 11-23-2020

Are you sure these are the only calls to that function though? Iirc other objects use that function too


RE: Goomba Dropped Item Modifier [CLF78] - Vega - 11-23-2020

Ye scratch that, other objects do use it, I totally forgot about the description he had in the original version.