Commit f269bb1 1 parent 1e740bd commit f269bb1 Copy full SHA for f269bb1
File tree 2 files changed +0
-16
lines changed
2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,6 @@ pub unsafe extern "C" fn attack_air_main_status(fighter: &mut L2CFighterCommon)
23
23
/// Performs the leniency check for double jump canceling
24
24
#[ utils:: export( common:: djc) ]
25
25
pub unsafe extern "C" fn attack_air_main_status_loop ( fighter : & mut L2CFighterCommon ) -> L2CValue {
26
- if KineticModule :: get_kinetic_type ( fighter. module_accessor ) == * FIGHTER_KINETIC_TYPE_JUMP_AERIAL_MOTION_2ND
27
- && !fighter. is_in_hitlag ( )
28
- && MotionModule :: frame_2nd ( fighter. module_accessor ) >= 2.0
29
- && fighter. global_table [ CURRENT_FRAME ] . get_i32 ( ) <= ParamModule :: get_int ( fighter. battle_object , ParamType :: Common , "djc_leniency_frame" )
30
- && ControlModule :: check_button_off ( fighter. module_accessor , * CONTROL_PAD_BUTTON_JUMP ) {
31
- WorkModule :: on_flag ( fighter. module_accessor , * FIGHTER_INSTANCE_WORK_ID_FLAG_JUMP_NO_LIMIT_ONCE ) ;
32
- KineticModule :: change_kinetic ( fighter. module_accessor , * FIGHTER_KINETIC_TYPE_MOTION_FALL ) ;
33
- }
34
26
if !fighter. status_AttackAir_Main_common ( ) . get_bool ( ) {
35
27
fighter. sub_air_check_superleaf_fall_slowly ( ) ;
36
28
if !fighter. global_table [ IS_STOPPING ] . get_bool ( ) {
Original file line number Diff line number Diff line change @@ -89,14 +89,6 @@ unsafe extern "C" fn peach_attack_air_no_float_main_loop(fighter: &mut L2CFighte
89
89
fighter. change_status ( FIGHTER_PEACH_STATUS_KIND_UNIQ_FLOAT_START . into ( ) , true . into ( ) ) ;
90
90
return 1 . into ( ) ;
91
91
}
92
- if KineticModule :: get_kinetic_type ( fighter. module_accessor ) == * FIGHTER_KINETIC_TYPE_JUMP_AERIAL_MOTION_2ND
93
- && !fighter. is_in_hitlag ( )
94
- && MotionModule :: frame_2nd ( fighter. module_accessor ) >= 2.0
95
- && fighter. global_table [ CURRENT_FRAME ] . get_i32 ( ) <= ParamModule :: get_int ( fighter. battle_object , ParamType :: Common , "djc_leniency_frame" )
96
- && ControlModule :: check_button_off ( fighter. module_accessor , * CONTROL_PAD_BUTTON_JUMP ) {
97
- WorkModule :: on_flag ( fighter. module_accessor , * FIGHTER_INSTANCE_WORK_ID_FLAG_JUMP_NO_LIMIT_ONCE ) ;
98
- KineticModule :: change_kinetic ( fighter. module_accessor , * FIGHTER_KINETIC_TYPE_MOTION_FALL ) ;
99
- }
100
92
if fighter. status_AttackAir_Main_common ( ) . get_bool ( ) {
101
93
return 0 . into ( ) ;
102
94
}
You can’t perform that action at this time.
0 commit comments