Globe Position Changer #2 [Vega]
NOTE: Outdated by Anarions' single line version
This code will allow you to set a custom Globe Mii Location than what is on stored on your Wii/NAND. This code will only take effect if you have your flag settings working. Either do that legitimately or use this code - http://mkwii.com/showthread.php?tid=94
NTSC-U
C200AE58 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
PAL
C200AE94 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
NTSC-J
C200ADE8 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
NTSC-K
C200AFA4 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
ZZZZzzzz = Globe location
Source:
lis r5, 0xZZZZ #Load the ZZZZ value into the upper 16 bits of Register 5, lower 16 bits are cleared
ori r5, r5, 0xzzzz #Load the zzzz value into the lower 16 bits of Register 5
stw r5, 0x10FC (r31) #Store the word of Register 5 at the address of Register 31 plus offset 0x10FC
lhz r5, 0x10FC (r31) #Load the halfword at the address of Register 31 offset 0x10FC into Register 5; Default Instruction
Code creator: Vega
NOTE: Outdated by Anarions' single line version
This code will allow you to set a custom Globe Mii Location than what is on stored on your Wii/NAND. This code will only take effect if you have your flag settings working. Either do that legitimately or use this code - http://mkwii.com/showthread.php?tid=94
NTSC-U
C200AE58 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
PAL
C200AE94 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
NTSC-J
C200ADE8 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
NTSC-K
C200AFA4 00000003
3CA0ZZZZ 60A5zzzz
90BF10FC A0BF10FC
60000000 00000000
ZZZZzzzz = Globe location
Source:
lis r5, 0xZZZZ #Load the ZZZZ value into the upper 16 bits of Register 5, lower 16 bits are cleared
ori r5, r5, 0xzzzz #Load the zzzz value into the lower 16 bits of Register 5
stw r5, 0x10FC (r31) #Store the word of Register 5 at the address of Register 31 plus offset 0x10FC
lhz r5, 0x10FC (r31) #Load the halfword at the address of Register 31 offset 0x10FC into Register 5; Default Instruction
Code creator: Vega