Request for Help to Adapt a Code For Give Items to Players
#1
I have a code that gives 1 green shell to Player 1 when a button is pressed :

283457E2 00000200 
48000000 809C1900 
DE000000 80008180 
58010000 00000008 
DE000000 80008180 
48100000 80001500 
DE000000 80008180 
1000008F 00000000 
10000093 00000001 
E0000000 80008000 

I would like to adapt this code so that when a button is pressed by Player 2 or Player 3, it gives a green shell to the corresponding player:
  • Player 2's button pressed = green shell for Player 2.
  • Player 3's button pressed = green shell for Player 3.
If someone has a solution, I would also appreciate an explanation of how it works so I can replicate it for other items. Thanks in advance for your help!
Reply
#2
The code was originally found here.

Code:
[PAL]
$Item Modifier - Wii Remote Button Activator/Trigger [Master Kirby]
283457E2 0000WWWW
48000000 809C1900
DE000000 80008180
58010000 00000008
DE000000 80008180
48100000 80001500
DE000000 80008180
1000008F 000000YY
10000093 0000000Z
E0000000 80008000

With X,Y,Z values added, the code is this:

Code:
[PAL]
$Item Modifier [Master Kirby]
2834XXXX YYYYZZZZ
48000000 809C1900
DE000000 80008180
58010000 00000008
DE000000 80008180
48100000 80001500
DE000000 80008180
1000008F 000000II
10000093 0000000Q
E0000000 80008000

[NTSC-U]
$Item Modifier [Master Kirby]
2834XXXX YYYYZZZZ
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1000008F 000000II
10000093 0000000Q
E0000000 80008000

II = Item ID
Q = Quantity
Fill in the X,Y,Z values according to this page.
Reply
#3
(12-23-2024, 05:35 PM)TomCube Wrote: The code was originally found here.

Code:
[PAL]
$Item Modifier - Wii Remote Button Activator/Trigger [Master Kirby]
283457E2 0000WWWW
48000000 809C1900
DE000000 80008180
58010000 00000008
DE000000 80008180
48100000 80001500
DE000000 80008180
1000008F 000000YY
10000093 0000000Z
E0000000 80008000

With X,Y,Z values added, the code is this:

Code:
[PAL]
$Item Modifier [Master Kirby]
2834XXXX YYYYZZZZ
48000000 809C1900
DE000000 80008180
58010000 00000008
DE000000 80008180
48100000 80001500
DE000000 80008180
1000008F 000000II
10000093 0000000Q
E0000000 80008000

[NTSC-U]
$Item Modifier [Master Kirby]
2834XXXX YYYYZZZZ
48000000 809BEE20
DE000000 80008180
58010000 00000014
DE000000 80008180
48100000 80001500
DE000000 80008180
1000008F 000000II
10000093 0000000Q
E0000000 80008000

II = Item ID
Q = Quantity
Fill in the X,Y,Z values according to this page.

I've set up the buttons for all 3 players, but when I press the corresponding button on player 2 or 3's controller, the green shell is assigned to player 1.

So that changes the buttons, but I'd also like to change the destination of the objects.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)