mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-14 02:16:10 +00:00
Update ControlModule usage to compile with latest skyline_smash
This commit is contained in:
parent
95180e6364
commit
eb03831d3c
1 changed files with 2 additions and 4 deletions
|
@ -54,9 +54,8 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
|
|||
}
|
||||
|
||||
// Grab + Dpad up: reset state
|
||||
if ControlModule::check_button_on(module_accessor, *CONTROL_PAD_BUTTON_CATCH) != 0
|
||||
if ControlModule::check_button_on(module_accessor, *CONTROL_PAD_BUTTON_CATCH)
|
||||
&& ControlModule::check_button_trigger(module_accessor, *CONTROL_PAD_BUTTON_APPEAL_HI)
|
||||
!= 0
|
||||
{
|
||||
if *save_state == NoAction {
|
||||
SAVE_STATE_PLAYER_STATE = CameraMove;
|
||||
|
@ -150,9 +149,8 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
|
|||
}
|
||||
|
||||
// Grab + Dpad down: Save state
|
||||
if ControlModule::check_button_on(module_accessor, *CONTROL_PAD_BUTTON_CATCH) != 0
|
||||
if ControlModule::check_button_on(module_accessor, *CONTROL_PAD_BUTTON_CATCH)
|
||||
&& ControlModule::check_button_trigger(module_accessor, *CONTROL_PAD_BUTTON_APPEAL_LW)
|
||||
!= 0
|
||||
{
|
||||
SAVE_STATE_PLAYER_STATE = Save;
|
||||
SAVE_STATE_CPU_STATE = Save;
|
||||
|
|
Loading…
Add table
Reference in a new issue