Globe Position Changer #1 [Vega]
NOTE: Outdated by Anarion's 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
C200AFF0 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
PAL
C200B090 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
NTSC-J
C200AFB4 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
NTSC-K
C200B13C 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
ZZZZzzzz = Globe Position
Source:
lis r0, 0xZZZZ #Load the ZZZZ into upper 16 bits of Register 0, lower 16 bits are cleared.
ori r0, r0, 0xzzzz #Load the zzzz value into lower 16 bits of Register 0.
stw r0, 0x10FC (r3) #Store the word (ZZZZzzzz value) of Register 0 at address of Register 3 plus offset 0x10FC
lhz r0, 0x10FC (r3) #Load the halfword at Register 3 plus offset 0x10FC into Register 0; Default Instruction
Code creator: Vega
NOTE: Outdated by Anarion's 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
C200AFF0 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
PAL
C200B090 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
NTSC-J
C200AFB4 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
NTSC-K
C200B13C 00000003
3C00ZZZZ 6000zzzz
900310FC A00310FC
60000000 00000000
ZZZZzzzz = Globe Position
Source:
lis r0, 0xZZZZ #Load the ZZZZ into upper 16 bits of Register 0, lower 16 bits are cleared.
ori r0, r0, 0xzzzz #Load the zzzz value into lower 16 bits of Register 0.
stw r0, 0x10FC (r3) #Store the word (ZZZZzzzz value) of Register 0 at address of Register 3 plus offset 0x10FC
lhz r0, 0x10FC (r3) #Load the halfword at Register 3 plus offset 0x10FC into Register 0; Default Instruction
Code creator: Vega