06-02-2021, 10:41 AM
This version of the code doesn't have any of the side effects that Bully's code has (infinite boost without star, star color animation ending prematurely).
NTSC-U
04572EC4 7C601B78
04579BA4 7C802378
04566B4C 48000044
C2573078 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
PAL
04579728 7C601B78
04580408 7C802378
0456B99C 48000044
C25798DC 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
NTSC-J
045790A8 7C601B78
0457FD88 7C802378
0456B31C 48000044
C257925C 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
NTSC-K
04567780 7C601B78
0456E460 7C802378
045599F4 48000044
C2567934 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
Source (C2 only):
Code created by: CLF78
Code credits: Bully (original code)
NTSC-U
04572EC4 7C601B78
04579BA4 7C802378
04566B4C 48000044
C2573078 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
PAL
04579728 7C601B78
04580408 7C802378
0456B99C 48000044
C25798DC 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
NTSC-J
045790A8 7C601B78
0457FD88 7C802378
0456B31C 48000044
C257925C 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
NTSC-K
04567780 7C601B78
0456E460 7C802378
045599F4 48000044
C2567934 00000003
3803FFFF A99C018A
2C0C0000 41820008
7C601B78 00000000
Source (C2 only):
Code:
# Original instruction
subi r0, r3, 1
# Check if Star timer is 0
lha r12, 0x18A(r28)
cmpwi r12, 0
beq end
# If not don't subtract
mr r0, r3
# Return
end:
Code created by: CLF78
Code credits: Bully (original code)