use crate::api::dungeon_mode::traps::TrapId;
use crate::api::items::ItemId;
use crate::api::moves::MoveId;
use crate::api::overlay::OverlayLoadLease;
use crate::ffi;
pub fn get_effect_animation(anim_id: i32, _ov10: &OverlayLoadLease<10>) -> &ffi::effect_animation {
unsafe { &*ffi::GetEffectAnimation(anim_id) }
}
pub fn get_move_animation(move_id: MoveId, _ov10: &OverlayLoadLease<10>) -> &ffi::move_animation {
unsafe { &*ffi::GetMoveAnimation(move_id) }
}
pub fn get_special_monster_move_animation(
ent_id: i32,
_ov10: &OverlayLoadLease<10>,
) -> &ffi::special_monster_move_animation {
unsafe { &*ffi::GetSpecialMonsterMoveAnimation(ent_id) }
}
pub fn get_trap_animation(trap_id: TrapId, _ov10: &OverlayLoadLease<10>) -> i16 {
unsafe { ffi::GetTrapAnimation(trap_id) }
}
pub fn get_item_animation1(item_id: ItemId, _ov10: &OverlayLoadLease<10>) -> i16 {
unsafe { ffi::GetItemAnimation1(item_id) }
}
pub fn get_item_animation2(item_id: ItemId, _ov10: &OverlayLoadLease<10>) -> i16 {
unsafe { ffi::GetItemAnimation2(item_id) }
}
pub fn get_move_animation_speed(move_id: MoveId, _ov10: &OverlayLoadLease<10>) -> i32 {
unsafe { ffi::GetMoveAnimationSpeed(move_id) }
}