• 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 Wavedash Out of JumpSquat ROA-Style

UnclePunch

Smash Ace
Joined
Nov 9, 2014
Messages
673
Kind of hard to go back after playing with this. Same as Rivals of Aether, airdodging out of jumpsquat when joystickY <=0 will enter landing w/ the momentum from a frame perfect wavedash. If the joystickY is > 0, the character will enter airdodge.

Code:
$Wavedash Out of JumpSquat ROA-Style [UnclePunch]
C20CB698 00000012
83DF002C 801E0668
54000675 4182007C
C03E0624 C0029898
FC010040 4081001C
7FE3FB78 3D808009
618C9A9C 7D8903A6
4E800421 48000054
7FC3F378 3D808007
618CD9D4 7D8903A6
4E800421 3D808032
618C6240 7D8903A6
4E800421 806DAEB4
C0030338 EC000072
C023033C EC010032
D01E0080 7FE3FB78
3D808009 618C9D70
7D8903A6 4E800421
80010024 00000000
Code:
.macro branchl reg, address
lis \reg, \address @h
ori \reg,\reg,\address @l
mtctr \reg
bctrl
.endm

.set player,31
.set playerdata,30

lwz    playerdata,0x2c(player)

#Check For Airdodge
lwz    r0, 0x0668 (playerdata)
rlwinm.    r0, r0, 0, 25, 26
beq    exit

#Check If Joystick is Up
lfs    f1,0x624(playerdata)
lfs    f0, -0x6768 (rtoc)
fcmpo    cr0,f1,f0
ble    Wavedash

#Enter Airdodge AS
mr    r3,player
branchl    r12,0x80099a9c
b    exit

Wavedash:
#Get Jostick Angle
mr    r3,playerdata
branchl    r12,0x8007d9d4

#Get Cos
branchl    r12,0x80326240

#Mult by Constant
lwz    r3, -0x514C (r13)
lfs    f0, 0x0338 (r3)
fmuls    f0,f0,f1
lfs    f1, 0x033C (r3)
fmuls    f0,f1,f0
stfs    f0, 0x0080 (playerdata)

#Enter Landing
mr    r3,player
branchl    r12,0x80099d70

exit:
lwz    r0, 0x0024 (sp)
 
Last edited:

DRGN

Technowizard
Moderator
Joined
Aug 20, 2005
Messages
2,178
Location
Sacramento, CA
I came across an alternate version of this code and thought I should post it here; it differs by giving higher priority to R+A grabs and resolves a conflict with tauKhan's Extended SH Jump Input Release Window code:

ROA-Style WD (alternate version)
This makes wavedashes easier, by widening the window during which a WD can occur; similar to as they are in Rivals of Aether.
Differences from UnclePunch's original code:
-- Gives higher priority to R+A grab
-- Compatible with tauKhan's Extended SH Jump Input Release Window code
<https://smashboards.com/threads/wavedash-out-of-jumpsquat-roa-style.454197/post-24565408>
[UnclePunch, tauKhan]
Version -- DOL Offset ------ Hex to Replace ---------- ASM Code
1.02 ----- 0x800cb634 --- 2C030000 -> Branch

2C030000 40820094
83DF002C 801E0668
54000675 41820084
C03E0624 C0029898
FC010040 40810020
7FE3FB78 3D808009
618C9A9C 7D8903A6
4E800421 2C1F0000
48000058 7FC3F378
3D808007 618CD9D4
7D8903A6 4E800421
3D808032 618C6240
7D8903A6 4E800421
806DAEB4 C0030338
EC000072 C023033C
EC010032 D01E0080
7FE3FB78 3D808009
618C9D70 7D8903A6
4E800421 2C1F0000
48000000
$ROA-style WD (alternate version) [UnclePunch, tauKhan]
This makes wavedashes easier, by widening the window during which a WD can occur; similar to as they are in Rivals of Aether.
-- Lowest input priority for airdodge/wd in jumpsquat
-- Changed injection line to fix collusion with https://smashboards.com/threads/extended-short-hop-jump-input-release-window.450652/
C20CB634 00000014
2C030000 40820094
83DF002C 801E0668
54000675 41820084
C03E0624 C0029898
FC010040 40810020
7FE3FB78 3D808009
618C9A9C 7D8903A6
4E800421 2C1F0000
48000058 7FC3F378
3D808007 618CD9D4
7D8903A6 4E800421
3D808032 618C6240
7D8903A6 4E800421
806DAEB4 C0030338
EC000072 C023033C
EC010032 D01E0080
7FE3FB78 3D808009
618C9D70 7D8903A6
4E800421 2C1F0000
60000000 00000000
 
Last edited:
Top Bottom