Skip to content

Commit

Permalink
Diagonal special while running will now be down special.
Browse files Browse the repository at this point in the history
  • Loading branch information
avahe-kellenberger committed Dec 17, 2023
1 parent bdb29b6 commit eae232a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modes/UltimateR4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ void UltimateR4::UpdateAnalogOutputs(InputState &inputs, OutputState &outputs) {
}
}

// Angled special while running to do down special
if (inputs.b && directions.diagonal) {
outputs.leftStickX = ANALOG_STICK_NEUTRAL + (directions.x * 65);
outputs.leftStickY = ANALOG_STICK_MIN;
}

// C-stick ASDI Slideoff angle overrides any other C-stick modifiers (such as angled fsmash).
if (directions.cx != 0 && directions.cy != 0) {
// 5250 8500 = 42 68
Expand Down

0 comments on commit eae232a

Please sign in to comment.