mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 10:54:16 +00:00
Update Menu
This commit is contained in:
parent
3287a96b63
commit
21b16253cf
3 changed files with 3 additions and 1 deletions
|
@ -260,6 +260,7 @@ pub enum MashInNeutral {
|
|||
pub struct TrainingModpackMenu {
|
||||
pub hitbox_vis: HitboxVisualization,
|
||||
pub di_state: Direction,
|
||||
pub left_stick: Direction, // Currently only used for air dodge direction
|
||||
pub mash_attack_state: Attack,
|
||||
pub ledge_state: LedgeOption,
|
||||
pub tech_state: TechOption,
|
||||
|
|
|
@ -8,6 +8,7 @@ use smash::lib::lua_const::*;
|
|||
pub static mut MENU_STRUCT: consts::TrainingModpackMenu = consts::TrainingModpackMenu {
|
||||
hitbox_vis: HitboxVisualization::On,
|
||||
di_state: Direction::None,
|
||||
left_stick: Direction::None,
|
||||
mash_attack_state: Attack::Nair,
|
||||
ledge_state: LedgeOption::Random,
|
||||
tech_state: TechOption::Random,
|
||||
|
|
|
@ -44,7 +44,7 @@ unsafe fn get_angle(module_accessor: &mut app::BattleObjectModuleAccessor) -> f6
|
|||
return ANGLE_NONE;
|
||||
}
|
||||
|
||||
STICK_DIRECTION = MENU.di_state;
|
||||
STICK_DIRECTION = MENU.left_stick;
|
||||
let mut angle: f64 = pick_angle(STICK_DIRECTION);
|
||||
|
||||
if angle == ANGLE_NONE {
|
||||
|
|
Loading…
Reference in a new issue