Skip to content

Commit f368399

Browse files
committed
adds fastfall check
1 parent c3a1d37 commit f368399

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fighters/mewtwo/src/status/attack_air.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ pub unsafe extern "C" fn attack_air_main(fighter: &mut L2CFighterCommon) -> L2CV
4242
if let Some(log) = log {
4343
notify_event_msc_cmd!(fighter, Hash40::new_raw(0x2b94de0d96), FIGHTER_LOG_ACTION_CATEGORY_KEEP, log);
4444
}
45-
45+
// allow fast fall during float release aerials
46+
if !StopModule::is_stop(fighter.module_accessor) {
47+
fighter.sub_fall_common_uniq(false.into());
48+
}
49+
fighter.global_table[SUB_STATUS].assign(&L2CValue::Ptr(L2CFighterCommon_sub_fall_common_uniq as *const () as _));
4650
// fighter.status_AttackAir_Main_common();
4751
WorkModule::set_int64(fighter.module_accessor, motion as i64, *FIGHTER_STATUS_ATTACK_AIR_WORK_INT_MOTION_KIND);
4852
fighter.sub_shift_status_main(L2CValue::Ptr(L2CFighterCommon_status_AttackAir_Main as *const () as _))

0 commit comments

Comments
 (0)