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.
_____________________
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.
_____________________
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 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