Gen7ScriptsRs/pkmn_lib_interface/src/app_interface/static_data/time_of_day.rs

16 lines
418 B
Rust

/// The time of day. These values are the 4 different groups of time of day in Pokemon games since
/// gen 5. The exact times these correspond to differ between games.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default)]
#[repr(u8)]
pub enum TimeOfDay {
/// The morning.
Morning = 0,
/// The day.
#[default]
Day = 1,
/// The evening.
Evening = 2,
/// The night.
Night = 3,
}