[−][src]Function smash::app::lua_bind::StatusModule::prev_status_kind
pub unsafe extern "C" fn prev_status_kind(
module_accessor: *mut BattleObjectModuleAccessor,
index: c_uint
) -> i32
Returns one of the previous status kinds of the object
Arguments
module_accessor
- Pointer to BattleObjectModuleAccessorindex
- index of prev status list
Example
// fighter was shielding for its last status if StatusModule::prev_status_kind(module_accessor, 0) == FIGHTER_STATUS_KIND_GUARD { StatusModule::change_status_request(module_accessor, *FIGHTER_STATUS_KIND_JUMP_SQUAT, false); }