Item Cycler v2 [Ro]
#1
Item Cycler v2 [Ro]

Allows cycling through all items with buttons. You can cycle to the left (previous item) and to the right (next item). Items are infinite. Very simple to use, useful for debugging and for fun!

This is v2 of the code, remade from scratch. Like every item hack that writes the item ID and amount, spamming and dropping items in v1 caused issues. Another issue would cause CPUs to throw usable items instead of using them, causing the game to freeze sometimes (Could've been the Item Use Flash Fix).

This version calls a function instead, eliminating the triple item problems. Hook location was changed so item flashes when used (Hooking where I used to would make item not flash, too fast?). Had to make it only call when cycling or using items, if calling every frame, issues would occur when dropping items. All fixed now and I am satisfied with this version.

v1 was deleted.

XXXX: Controller Address
YYYY: Both cycle to previous and next item buttons masked together. E.g: (Wiimote): D-Pad Left (0001) cycles item to the left < and D-Pad Right (0002) cycles item to the right >, therefore YYYY will be 0003 (0001 + 0002 = 0003). Be aware, there are TWO YYYY values, make sure you input both of them!
ZZZZ: Button to cycle item to previous item (cycle to the left <)

https://mariokartwii.com/archive/index.p...ad-44.html


NTSC-U
C278E9B4 00000015
819D0000 818C0004
818C0014 718C0002
4182008C 809D008C
2C040014 889D00B3
41820050 3D808034
A16CXXXX 716CYYYY
41820058 899D00B2
2C0C0000 4082004C
716CZZZZ 41820018
2C040000 3884FFFF
4082001C 38800012
48000014 2C040011
38840001 40810008
38800000 989D00B3
387D0088 38A00000
3D80807A 618CDEE0
7D8903A6 4E800421
716BYYYY 39800001
40820008 39800000
999D00B2 807D0000
60000000 00000000

PAL
C27979C0 00000015
819D0000 818C0004
818C0014 718C0002
4182008C 809D008C
2C040014 889D00B3
41820050 3D808034
A16CXXXX 716CYYYY
41820058 899D00B2
2C0C0000 4082004C
716CZZZZ 41820018
2C040000 3884FFFF
4082001C 38800012
48000014 2C040011
38840001 40810008
38800000 989D00B3
387D0088 38A00000
3D80807B 618CC940
7D8903A6 4E800421
716BYYYY 39800001
40820008 39800000
999D00B2 807D0000
60000000 00000000

NTSC-J
C279702C 00000015
819D0000 818C0004
818C0014 718C0002
4182008C 809D008C
2C040014 889D00B3
41820050 3D808034
A16CXXXX 716CYYYY
41820058 899D00B2
2C0C0000 4082004C
716CZZZZ 41820018
2C040000 3884FFFF
4082001C 38800012
48000014 2C040011
38840001 40810008
38800000 989D00B3
387D0088 38A00000
3D80807B 618CBFAC
7D8903A6 4E800421
716BYYYY 39800001
40820008 39800000
999D00B2 807D0000
60000000 00000000

NTSC-K
C2785D80 00000015
819D0000 818C0004
818C0014 718C0002
4182008C 809D008C
2C040014 889D00B3
41820050 3D808035
A16CXXXX 716CYYYY
41820058 899D00B2
2C0C0000 4082004C
716CZZZZ 41820018
2C040000 3884FFFF
4082001C 38800012
48000014 2C040011
38840001 40810008
38800000 989D00B3
387D0088 38A00000
3D80807A 618CAD00
7D8903A6 4E800421
716BYYYY 39800001
40820008 39800000
999D00B2 807D0000
60000000 00000000

Code creator: Ro
Reply


Messages In This Thread
Item Cycler v2 [Ro] - by _Ro - 01-16-2025, 09:17 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)