pub fn is_debug_flag_monster_spawns_enabled() -> bool
Expand description

Unpatched this function will always returns true.

Background information

This function seems to be a debug switch that the developers may have used to disable the random enemy spawn. If it returned false, the call to [GlobalDungeonData::spawn_monster] inside [GlobalDungeonData::try_spawn_monster_and_tick_spawn_counter] would not be executed.