mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-20 00:46:34 +00:00
Formatting
This commit is contained in:
parent
269ee9195b
commit
a512ced4c8
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
use crate::common::button_config;
|
||||
use crate::common::consts::{OnOff, FighterId, HitstunPlayback};
|
||||
use crate::common::consts::{FighterId, HitstunPlayback, OnOff};
|
||||
use crate::common::{get_module_accessor, is_in_hitstun, is_in_shieldstun, MENU};
|
||||
use crate::training::input_recording::structures::*;
|
||||
use crate::training::mash;
|
||||
|
@ -334,8 +334,8 @@ pub unsafe fn playback_ledge(slot: Option<usize>) {
|
|||
let did_playback = playback(slot);
|
||||
if did_playback {
|
||||
BUFFER_FRAME = 5; // So we can make sure the option is buffered and won't get ledge trumped if delay is 0
|
||||
// drop down from ledge can't be buffered on the same frame as jump/attack/roll/ngu so we have to do this
|
||||
// Need to buffer 1 less frame for non-lassos
|
||||
// drop down from ledge can't be buffered on the same frame as jump/attack/roll/ngu so we have to do this
|
||||
// Need to buffer 1 less frame for non-lassos
|
||||
let cpu_module_accessor = get_module_accessor(FighterId::CPU);
|
||||
let status_kind = StatusModule::status_kind(cpu_module_accessor) as i32;
|
||||
if status_kind == *FIGHTER_STATUS_KIND_CLIFF_CATCH {
|
||||
|
|
|
@ -257,7 +257,7 @@ impl LedgeOption {
|
|||
LedgeOption::PLAYBACK_3 => 2,
|
||||
LedgeOption::PLAYBACK_4 => 3,
|
||||
LedgeOption::PLAYBACK_5 => 4,
|
||||
_ => return None
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue