Skip to content

Commit 06eaacf

Browse files
colonketEric Iniguez
andauthored
feat: Allow tilt attacks with mod x in RivalsOfAether mode (#51)
Co-authored-by: Eric Iniguez <[email protected]>
1 parent a1684a8 commit 06eaacf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/modes/RivalsOfAether.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,18 @@ void RivalsOfAether::UpdateAnalogOutputs(InputState &inputs, OutputState &output
7070
if (inputs.mod_x) {
7171
if (directions.horizontal) {
7272
outputs.leftStickX = 128 + (directions.x * 66);
73+
// MX Horizontal Tilts
74+
if (inputs.a) {
75+
outputs.leftStickX = 128 + (directions.x * 44);
76+
}
7377
}
7478

7579
if(directions.vertical) {
7680
outputs.leftStickY = 128 + (directions.y * 44);
81+
// MX Vertical Tilts
82+
if (inputs.a) {
83+
outputs.leftStickY = 128 + (directions.y * 67);
84+
}
7785
}
7886

7987
/* Extra DI, Air Dodge, and Up B angles */

0 commit comments

Comments
 (0)