Goomba Dropped Item Modifier [CLF78]
#1
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
Reply
#2
Nice work!
Reply
#3
Thanks! I updated the code to work anywhere. Can it be moved to Online Item ?
Reply
#4
Yes. Thread moved.
Reply
#5
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
Reply
#6
Are you sure these are the only calls to that function though? Iirc other objects use that function too
Reply
#7
Ye scratch that, other objects do use it, I totally forgot about the description he had in the original version.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)