Skip to content

Commit 07de0eb

Browse files
committed
Adds back c stick condition for tap jump shorthop
1 parent d783594 commit 07de0eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fighters/common/src/general_statuses/jumpsquat.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,8 @@ unsafe fn sub_jump_squat_uniq_check_sub(fighter: &mut L2CFighterCommon, flag: L2
386386
// compare the value of the left stick with the threshold for stick jumping
387387
if fighter.left_stick_y() < WorkModule::get_param_float(fighter.module_accessor, hash40("common"), hash40("jump_neutral_y")) {
388388
// used to buffer specials and make sure that we aren't detecting when c stick is off
389-
if ControlModule::check_button_off(fighter.module_accessor, *CONTROL_PAD_BUTTON_SPECIAL) {
389+
if ControlModule::check_button_off(fighter.module_accessor, *CONTROL_PAD_BUTTON_CSTICK_ON)
390+
|| ControlModule::check_button_off(fighter.module_accessor, *CONTROL_PAD_BUTTON_SPECIAL) {
390391
WorkModule::on_flag(fighter.module_accessor, *FIGHTER_STATUS_WORK_ID_FLAG_RESERVE_JUMP_MINI);
391392
}
392393
}

0 commit comments

Comments
 (0)