Mario Kart Wii Gecko Codes, Cheats, & Hacks
Never Pickup Certain Item From Box [Vega] - 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: Never Pickup Certain Item From Box [Vega] (/showthread.php?tid=926)



Never Pickup Certain Item From Box [Vega] - Vega - 10-24-2018

Never Pickup Certain Item From Box [Vega]

This code will zero out a desired item's probability for your current position. Therefore, it is impossible to ever receive that item from a box. Good code to use for crappy items such as Bloopers and TC's. The code is 100% undetectable.

NTSC-U
C27ACBCC 00000003
7EE41A14 39600000
398000WW 7D8CBA14
B16C0000 00000000

PAL
C27BB62C 00000003
7EE41A14 39600000
398000WW 7D8CBA14
B16C0000 00000000

NTSC-J
C27BAC98 00000003
7EE41A14 39600000
398000WW 7D8CBA14
B16C0000 00000000

NTSC-K
C27A99EC 00000003
7EE41A14 39600000
398000WW 7D8CBA14
B16C0000 00000000

WW Item Values:
Green = 00
Red = 02
Banana = 04
Fib = 06
Shroom = 08
Triple Shroom = 0A
Bomb = 0C
Blue = 0E
Shock = 10
Star = 12
Golden = 14
Mega = 16
Blooper = 18
Pow = 1A
TC = 1C
Bullet Bill = 1E
Triple Green = 20
Triple Red = 22
Triple Banana = 24

Code configured for two items (Replace 'C2000000' with the C2 line from the single item version above for w/e region you are using):
C2000000 00000005
7EE41A14 39600000
398000WW 7D8CBA14
B16C0000 398000WW
7D8CBA14 B16C0000
60000000 00000000

Code configure for three items (Replace 'C2000000' with the C2 line from the single item version above for w/e region you are using):
C2000000 00000006
7EE41A14 39600000
398000WW 7D8CBA14
B16C0000 398000WW
7D8CBA14 B16C0000
398000WW 7D8CBA14
B16C0000 00000000



Source (one item):
###################
##START ASSEMBLY###
###################

#

################################################################
##Default ASM; Navigate to Positional Row of Game's Item Table##
################################################################

add r23, r4, r3 #Default ASM

#######################################
##Set r11 to 0x0 for Zero Probability##
#######################################

li r11, 0x0 #Clear out Register 11

##########################
##Load User's Item Value##
##########################

li r12, 0xWW #Load WW Item value into Register 12

########################################################################
##Get Exact Location of Item's Halfword Location within Positional Row##
########################################################################

add r12, r12, r23 #Adding the user's item value plus r23 will navigate to the item's exact halfword location within the Positional Row

############################################
##Apply the Zeroed Item Probability Value!##
############################################

sth r11, 0 (r12) #Store the halfword of r11 to the address of r12

#

##################
###END ASSEMBLY###
##################



##Concise source for two items:##
add r23, r4, r3
li r11, 0x0
li r12, 0xWW
add r12, r12, r23
sth r11, 0 (r12)
li r12, 0xWW
add r12, r12, r23
sth r11, 0 (r12)



##Concise source for three items:##
add r23, r4, r3
li r11, 0x0
li r12, 0xWW
add r12, r12, r23
sth r11, 0 (r12)
li r12, 0xWW
add r12, r12, r23
sth r11, 0 (r12)
li r12, 0xWW
add r12, r12, r23
sth r11, 0 (r12)


Code creator: Vega
Code credits: XeR (subroutine founder)


RE: Never Pickup Certain Item From Box [Vega] - gawa - 07-01-2022

Has the code been tested to work for battles?  Huh


RE: Never Pickup Certain Item From Box [Vega] - Vega - 07-01-2022

I've personally never tested it in battles.