• 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 Various Shield Drop Codes

UnclePunch

Smash Ace
Joined
Nov 9, 2014
Messages
673
This code allows the player to shield drop whenever the analog stick value is correct (around -0.66). This allows you to slowly press it down to shield drop, press down quickly to spot dodge, and preserves original shield drop timing and angle.
Code:
$Shield Drop Whenever Joystick Value is Correct [UnclePunch]
0409a0e4 60000000
_____________________

This code changes the analog value for a shield drop to be anywhere in between 0.6 and 0.7, as opposed to being 0.66 in vMelee. All vanilla shield drop functionality is preserved with this code other than the analog stick value needed to perform it.
Code:
$Shield Drop Angle = 0.6->0.7 [UnclePunch]
C209A0B4 0000000B
3DC0BF19 61CE999A
91C1FFFC C1C1FFFC
FC017040 4080002C
3DC0BF33 61CE3333
91C1FFFC C1C1FFFC
FC017040 40810014
3DC08009 61CEA0C0
7DC903A6 4E800420
3DC08009 61CEA100
7DC903A6 4E800420
60000000 00000000
Code:
#joystick position in f1

lis r14,0xBF19
ori r14,r14,0x999A
stw r14,-0x4(sp)
lfs f14,-0x4(sp)            #load -0.6 into f14
fcmpo cr0,f1,f14            #check if less than -0.6
bge done

lis r14,0xBF33           
ori r14,r14,0x3333
stw r14,-0x4(sp)
lfs f14,-0x4(sp)            #load -0.7 into f14
fcmpo cr0,f1,f14            #check if greater than -0.7
ble done
branch r14,0x8009a0c0            #if so, branch to success

done:
branch r14,0x8009a100            #if not, branch to fail
_____________________

This code does exactly what it says, pressing D-Pad down while in shield will perform a shield drop. I made this code a while ago but this one is much cleaner.

Code:
$Shield Drop With D-Pad Down[UnclePunch]
C209A080 00000005
89DF066B 2C0E0004
40820018 7FC3F378
3DC08009 61CEA228
7DC903A6 4E800420
7C0802A6 00000000
Code:
lbz r14,0x66b(r31)            #get dpad input
cmpwi r14,0x4            #check if pressed down
bne done
mr r3,r30            #move parameter
branch r14,0x8009a228            #branch to Pass Action State

done:
mflr r0            #original codeline
 

UnclePunch

Smash Ace
Joined
Nov 9, 2014
Messages
673
This helps clean up some of the issues with different controllers doesn't it?
You can say that, but it more or less makes shield dropping much easier.

I can make a version that keeps the precise value but gives a bit more leeway.
 

The Cape

Smash Master
Joined
May 16, 2004
Messages
4,478
Location
Carlisle, PA
So how is this for effecting the way the game plays? Trying to keep things about the same, but trying to remove the issues that players like Armada have without the right controller.

I added Magus's Smash Dash code as well since the manufacturing of controllers is odd. I know that Axe tends to like a specific controller due to something related to shield dropping.
 

The Cape

Smash Master
Joined
May 16, 2004
Messages
4,478
Location
Carlisle, PA
Spoke to a friend of mine about shield dropping and he told me that :
-0.7125|-0.6875 for SW, and 0.6875|-0.7125 for SE
it increments by .0125

are the default values. From this point, we should be able to expand it a bit more by using the values .65 to .75 which helps to remove some of the controller issues. Why did you choose .6 to .7?
 

UnclePunch

Smash Ace
Joined
Nov 9, 2014
Messages
673
Spoke to a friend of mine about shield dropping and he told me that :
-0.7125|-0.6875 for SW, and 0.6875|-0.7125 for SE
it increments by .0125

are the default values. From this point, we should be able to expand it a bit more by using the values .65 to .75 which helps to remove some of the controller issues. Why did you choose .6 to .7?
The game checks for spotdodges before shield drops. Any value past .7 will be picked up as a spotdodge before the shield drop check takes place. This was the neatest, most simplest way to make shield drops easier and consistent.
 
Last edited:

The Cape

Smash Master
Joined
May 16, 2004
Messages
4,478
Location
Carlisle, PA
The game checks for spotdodges before shield drops. Any value past .7 will be picked up as a spotdodge before the shield drop check takes place. This was the neatest, most simplest way to make shield drops easier and consistent.
So what about just changing the initial value to .65 but leave the other value? You can buffer a shield drop.
 
Top Bottom