From 3c0c9853904056cedbb1589ed6d996002ff55ea6 Mon Sep 17 00:00:00 2001 From: Eric Iniguez Date: Mon, 29 May 2023 23:48:48 -0500 Subject: [PATCH] allow tilt attacks with mod x --- src/modes/RivalsOfAether.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/modes/RivalsOfAether.cpp b/src/modes/RivalsOfAether.cpp index e651314b..f5352dab 100644 --- a/src/modes/RivalsOfAether.cpp +++ b/src/modes/RivalsOfAether.cpp @@ -70,10 +70,18 @@ void RivalsOfAether::UpdateAnalogOutputs(InputState &inputs, OutputState &output if (inputs.mod_x) { if (directions.horizontal) { outputs.leftStickX = 128 + (directions.x * 66); + // MX Horizontal Tilts + if (inputs.a) { + outputs.leftStickX = 128 + (directions.x * 44); + } } if(directions.vertical) { outputs.leftStickY = 128 + (directions.y * 44); + // MX Vertical Tilts + if (inputs.a) { + outputs.leftStickY = 128 + (directions.y * 67); + } } /* Extra DI, Air Dodge, and Up B angles */