Mega Cloud [_tZ]
#1
Mega Cloud [_tZ]

This version of the Mega Thundercloud code is shorter and isn't affected by the "item loss" bug.

NTSC-U
C2579DCC 00000006
3D808078 618CF6A8
7D8803A6 4E800021
3C60809B 8803F0B1
2C000000 4182000C
38600008 3880000C
60000000 00000000

PAL
C2580630 00000006
3D808079 618C86B4
7D8803A6 4E800021
3C60809C 880338B9
2C000000 4182000C
38600008 3880000C
60000000 00000000

NTSC-J
C257FFB0 00000006
3D808079 618C7D20
7D8803A6 4E800021
3C60809C 88032919
2C000000 4182000C
38600008 3880000C
60000000 00000000

NTSC-K
C256E688 00000006
3D808078 618C6A74
7D8803A6 4E800021
3C60809B 88031EF9
2C000000 4182000C
38600008 3880000C
60000000 00000000

Source:
Code:
# Inject (PAL, NTSC-U, NTSC-J, NTSC-K): 0x80580630, 0x80579DCC, 0x8057FFB0, 0x8056E688

.set region, ''

.if (region == 'P' || region == 'p')
    .set MegaFunc, 0x807986B4
    .set isOnlineRace, 0x809C38B9
.elseif (region == 'E' || region == 'e' || region == 'U' || region == 'u')
    .set MegaFunc, 0x8078F6A8
    .set isOnlineRace, 0x809BF0B1
.elseif (region == 'J' || region == 'j')
    .set MegaFunc, 0x80797D20
    .set isOnlineRace, 0x809C2919
.elseif (region == 'K' || region == 'k')
    .set MegaFunc, 0x80786A74
    .set isOnlineRace, 0x809B1EF9
.else
    .err
.endif

# Call MegaFunc
lis r12, MegaFunc@h
ori r12, r12, MegaFunc@l
mtlr r12
blrl

# Check if it's an online race
lis r3, isOnlineRace@h
lbz r0, isOnlineRace@l(r3)
cmpwi r0, 0
beq end

# Stuff
li r3, 8
li r4, 12

# Return
end:

Code creator: _tZ
Reply


Messages In This Thread
Mega Cloud [_tZ] - by CLF78 - 08-25-2020, 04:07 PM
RE: Mega Cloud [_tZ] - by Unnamed - 09-08-2020, 01:15 PM
RE: Mega Cloud [_tZ] - by MXCTH - 09-13-2020, 10:00 AM
RE: Mega Cloud [_tZ] - by Vega - 09-09-2020, 12:57 PM
RE: Mega Cloud [_tZ] - by Ragemodepigeon - 09-11-2020, 04:29 PM
RE: Mega Cloud [_tZ] - by Unnamed - 09-14-2020, 10:27 AM
RE: Mega Cloud [_tZ] - by Jeffy/Wrath - 09-15-2020, 04:21 PM
RE: Mega Cloud [_tZ] - by raoul0909 - 01-05-2021, 04:33 PM
RE: Mega Cloud [_tZ] - by Zeraora - 01-05-2021, 04:48 PM
RE: Mega Cloud [_tZ] - by Kazuki - 02-27-2021, 05:53 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)