Trait eos_rs::api::dungeon_mode::fixed_room::DungeonFixedRoomIdExt
source · pub trait DungeonFixedRoomIdExt {
// Required methods
fn is_boss_fight(&self, _ov29: &OverlayLoadLease<29>) -> bool;
fn are_orbs_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool;
fn are_tile_jumps_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool;
fn are_trawl_orbs_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool;
fn are_late_game_traps_enabled(&self, _ov29: &OverlayLoadLease<29>) -> bool;
fn are_moves_enabled(&self, _ov29: &OverlayLoadLease<29>) -> bool;
fn is_room_illuminated(&self, _ov29: &OverlayLoadLease<29>) -> bool;
}
Expand description
Extension trait for FixedRoomId
specific to dungeon mode.
Required Methods§
sourcefn is_boss_fight(&self, _ov29: &OverlayLoadLease<29>) -> bool
fn is_boss_fight(&self, _ov29: &OverlayLoadLease<29>) -> bool
Note: unverified, ported from Irdkwia’s notes
sourcefn are_orbs_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool
fn are_orbs_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool
Checks if orbs are usable in the given fixed room.
Always true if not a full-floor fixed room.
sourcefn are_tile_jumps_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool
fn are_tile_jumps_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool
Checks if tile jumps (warping, being blown away, and leaping) are allowed in the given fixed room.
Always true if not a full-floor fixed room.
sourcefn are_trawl_orbs_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool
fn are_trawl_orbs_allowed(&self, _ov29: &OverlayLoadLease<29>) -> bool
Checks if Trawl Orbs work in the given fixed room.
Always true if not a full-floor fixed room.
sourcefn are_late_game_traps_enabled(&self, _ov29: &OverlayLoadLease<29>) -> bool
fn are_late_game_traps_enabled(&self, _ov29: &OverlayLoadLease<29>) -> bool
Check if late-game traps (Summon, Pitfall, and Pokémon traps) work in the given fixed room.
Or disabled? This function, which Irdkwia’s notes label as a disable check, check the struct field labeled in End’s notes as an enable flag.
sourcefn are_moves_enabled(&self, _ov29: &OverlayLoadLease<29>) -> bool
fn are_moves_enabled(&self, _ov29: &OverlayLoadLease<29>) -> bool
Checks if moves (excluding the regular attack) are usable in the given fixed room.
sourcefn is_room_illuminated(&self, _ov29: &OverlayLoadLease<29>) -> bool
fn is_room_illuminated(&self, _ov29: &OverlayLoadLease<29>) -> bool
Checks if the given fixed room is fully illuminated.