[][src]Function smash::app::lua_bind::ControlModule::check_button_off

pub unsafe extern "C" fn check_button_off(
    arg1: *mut BattleObjectModuleAccessor,
    arg2: c_int
) -> bool

Returns whether or not the current module_accessor is NOT holding the specified CONTROL_PAD_BUTTON on the same frame this function was run

Arguments

Example

if ControlModule::check_button_off(module_accessor, *CONTROL_PAD_BUTTON_GUARD) {
    DamageModule::add_damage(boma, 1.0, 0);
}