mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2026-02-07 18:02:26 +00:00
Fixes to menu; use left side of screen
This commit is contained in:
@@ -221,7 +221,7 @@ pub fn handle_get_npad_state(state: *mut NpadGcState, _controller_id: *const u32
|
||||
if (*state).Buttons & (1 << 0) > 0 {
|
||||
BUTTON_PRESSES.a.is_pressed = true;
|
||||
}
|
||||
if (*state).Buttons & (1 << 1) > 0 {
|
||||
if (*state).Buttons & (1 << 1) > 0 && frame_counter::get_frame_count(FRAME_COUNTER_INDEX) == 0 {
|
||||
BUTTON_PRESSES.b.is_pressed = true;
|
||||
}
|
||||
if (*state).Buttons & (1 << 8) > 0 {
|
||||
|
||||
Binary file not shown.
@@ -1134,7 +1134,7 @@ pub static DEFAULT_MENU: TrainingModpackMenu = TrainingModpackMenu {
|
||||
throw_delay: MedDelay::empty(),
|
||||
pummel_delay: MedDelay::empty(),
|
||||
buff_state: BuffOption::empty(),
|
||||
quick_menu: OnOff::On,
|
||||
quick_menu: OnOff::Off,
|
||||
};
|
||||
|
||||
pub static mut MENU: TrainingModpackMenu = DEFAULT_MENU;
|
||||
|
||||
Reference in New Issue
Block a user