• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Completed Disable the R button

Darkgamer200229

Smash Rookie
Joined
Apr 6, 2015
Messages
13
Location
Somewhere
NNID
mariposa322
Long story short, my left arm is less functional than my right arm so I could use this code as therapy :D
 

Stride

Smash Ace
Joined
Feb 22, 2014
Messages
680
Location
North-west England (near Manchester/Liverpool)
You can modify your controller for this by removing the rubber button underneath the trigger (for the digital press/hardshield) and moving the analogue slider all the way down (for the analogue press/lighthield), or you could take the entire trigger out but that would affect the way the controller feels to hold. It's easy to do; all you need is a triwing screwdriver to open the controller shell up and a small Phillips screwdriver to access the analogue slider in the trigger.

You don't strictly need the Phillips screwdriver since you can take out the button without removing the trigger housing, and you can disable the analogue part of the trigger temporarily by holding it down as the controller is being calibrated so modifying your controller for that is just convenience. I believe you can also use a flathead screwdriver for triwing screws, but I've never tried that.
 
Last edited:

Darkgamer200229

Smash Rookie
Joined
Apr 6, 2015
Messages
13
Location
Somewhere
NNID
mariposa322
You can modify your controller for this by removing the rubber button underneath the trigger (for the digital press/hardshield) and moving the analogue slider all the way down (for the analogue press/lighthield), or you could take the entire trigger out but that would affect the way the controller feels to hold. It's easy to do; all you need is a triwing screwdriver to open the controller shell up and a small Phillips screwdriver to access the analogue slider in the trigger.

You don't strictly need the Phillips screwdriver since you can take out the button without removing the trigger housing, and you can disable the analogue part of the trigger temporarily by holding it down as the controller is being calibrated so modifying your controller for that is just convenience. I believe you can also use a flathead screwdriver for triwing screws, but I've never tried that.
That's actually a good idea buuuuuuuuuut I wouldn't be able to play other games like mario sunshine since I only have one controller .-.
 

flieskiller

Smash Journeyman
Joined
Jan 3, 2013
Messages
426
Disable R button for player 1 (1.02) [flieskiller]
C23775BC 00000004
2C180000 40820010
3E20FFFF 6231FFDF
7E200038 901A0000
60000000 00000000
C237783C 00000002
2C180000 41820008
D01A0034 00000000

both C2 are for analog and digital press, removing them, making the R button not read. This will make LRAstart not working for that player.

ASM notes:
#loop register is r24

#digital R
803775bc
cmpwi r24, 0
bne END #if not player 1, go out
lis r17, 0xffff
ori r17, r17, 0xffdf #0x20 is digital R, this will isolate it
and r0, r17, r0 #all inputs are saved except R
END:
stw r0, 0 (r26) #normal line

#analog R
8037783c
cmpwi r24, 0 #if player 1, go out and skip writing the analog number of R
beq END
stfs f0, 0x0034 (r26) #normal line
END:
 

Darkgamer200229

Smash Rookie
Joined
Apr 6, 2015
Messages
13
Location
Somewhere
NNID
mariposa322
Disable R button for player 1 (1.02) [flieskiller]
C23775BC 00000004
2C180000 40820010
3E20FFFF 6231FFDF
7E200038 901A0000
60000000 00000000
C237783C 00000002
2C180000 41820008
D01A0034 00000000

both C2 are for analog and digital press, removing them, making the R button not read. This will make LRAstart not working for that player.

ASM notes:
#loop register is r24

#digital R
803775bc
cmpwi r24, 0
bne END #if not player 1, go out
lis r17, 0xffff
ori r17, r17, 0xffdf #0x20 is digital R, this will isolate it
and r0, r17, r0 #all inputs are saved except R
END:
stw r0, 0 (r26) #normal line

#analog R
8037783c
cmpwi r24, 0 #if player 1, go out and skip writing the analog number of R
beq END
stfs f0, 0x0034 (r26) #normal line
END:
You...are...AWESOME!!!
Thanks :)
 
Top Bottom