File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,11 @@ pub unsafe fn extra_floats(fighter: &mut L2CFighterCommon, boma: &mut BattleObje
90
90
WorkModule :: on_flag ( boma, * FIGHTER_INSTANCE_WORK_ID_FLAG_SUPERLEAF ) ;
91
91
}
92
92
if WorkModule :: is_flag ( boma, * FIGHTER_INSTANCE_WORK_ID_FLAG_SUPERLEAF )
93
- && !WorkModule :: is_flag ( boma, * FIGHTER_STATUS_WORK_ID_FLAG_RESERVE_FALL_SLOWLY )
94
- && ( boma. left_stick_y ( ) >= -0.66 && InputModule :: get_trigger_count ( fighter. battle_object , Buttons :: Jump ) <= 4 )
95
- { //disables held floats unless jump is held 5f
96
- WorkModule :: off_flag ( boma, * FIGHTER_INSTANCE_WORK_ID_FLAG_SUPERLEAF ) ;
93
+ && !WorkModule :: is_flag ( boma, * FIGHTER_STATUS_WORK_ID_FLAG_RESERVE_FALL_SLOWLY ) {
94
+ if ( boma. left_stick_y ( ) >= -0.66 && InputModule :: get_trigger_count ( fighter. battle_object , Buttons :: Jump ) <= 4 ) //disable helf floats for 4f
95
+ || fighter. is_button_off ( Buttons :: Jump ) { //disable 1f float
96
+ WorkModule :: off_flag ( boma, * FIGHTER_INSTANCE_WORK_ID_FLAG_SUPERLEAF ) ;
97
+ }
97
98
}
98
99
// Immediately transition to fall/double jump fall when activating float
99
100
if ControlModule :: check_button_on ( boma, * CONTROL_PAD_BUTTON_JUMP ) && boma. left_stick_y ( ) < -0.66 && WorkModule :: get_int ( boma, * FIGHTER_INSTANCE_WORK_ID_INT_SUPERLEAF_FALL_SLOWLY_FRAME ) > 0 {
You can’t perform that action at this time.
0 commit comments