Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion rust/maprando/src/randomize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3305,8 +3305,12 @@ pub fn get_objectives<R: Rng>(

'obj: for obj_option in &obj_settings.objective_options {
// Skip objective option if it does not exist on the map.
let obj_tiles = get_objective_tiles(&[obj_option.objective]);
let mut obj_tiles = get_objective_tiles(&[obj_option.objective]);
if let Some(map) = map {
if obj_option.objective == Objective::BowlingStatue {
obj_tiles.push((158, 0, 0)); // Phantoon's Room
}

for (room_id, _, _) in obj_tiles {
let room_ptr = game_data.room_ptr_by_id[&room_id];
let room_idx = game_data.room_idx_by_ptr[&room_ptr];
Expand Down