[][src]Function smash::app::lua_bind::StatusModule::status_kind

pub unsafe extern "C" fn status_kind(
    module_accessor: *mut BattleObjectModuleAccessor
) -> i32

Returns current status kind of the object

Arguments

Example

// fighter is shielding
if StatusModule::status_kind(module_accessor) == FIGHTER_STATUS_KIND_GUARD {
    StatusModule::change_status_request(module_accessor, *FIGHTER_STATUS_KIND_JUMP_SQUAT, false);
}