Stores your current item at 0x8000XXXX.
Item values:
Nothing = 14
Green Shell = 0
Red Shell = 1
Banana = 2
Fake Item Box = 3
Mushroom = 4
Triple Mushroom = 5
Bob-omb = 6
Blue Shell = 7
Lightning = 8
Star = 9
Golden Mushroom = A
Mega Mushroom = B
Blooper = C
POW = D
Cloud = E
Bullet Bill = F
Triple Green Shell = 10
Triple Red Shell = 11
Triple Banana = 12
NTSC-U:
C27ADEE8 00000002
3D808000 988CXXXX
90830004 00000000
PAL:
C27BC948 00000002
3D808000 988CXXXX
90830004 00000000
NTSC-J:
C27BBFB4 00000002
3D808000 988CXXXX
90830004 00000000
NTSC-K:
C27ADD08 00000002
3D808000 988CXXXX
90830004 00000000
Source:
Item values:
Nothing = 14
Green Shell = 0
Red Shell = 1
Banana = 2
Fake Item Box = 3
Mushroom = 4
Triple Mushroom = 5
Bob-omb = 6
Blue Shell = 7
Lightning = 8
Star = 9
Golden Mushroom = A
Mega Mushroom = B
Blooper = C
POW = D
Cloud = E
Bullet Bill = F
Triple Green Shell = 10
Triple Red Shell = 11
Triple Banana = 12
NTSC-U:
C27ADEE8 00000002
3D808000 988CXXXX
90830004 00000000
PAL:
C27BC948 00000002
3D808000 988CXXXX
90830004 00000000
NTSC-J:
C27BBFB4 00000002
3D808000 988CXXXX
90830004 00000000
NTSC-K:
C27ADD08 00000002
3D808000 988CXXXX
90830004 00000000
Source:
Code:
#inject at 0x807ADEE8 NTSC-U
#inject at 0x807BC948 PAL
#inject at 0x807BBFB4 NTSC-J
#inject at 0x807AAD08 NTSC-K
lis r12, 0x8000 #prepare r12 for addreses
stb r4, 0xXXXX(r12) #store item at your desired offset
stw r4, 4(r3) #default instruction