|
|
@ -284,6 +284,16 @@ impl MapAreaLookup { |
|
|
|
Episode::Four => MapAreaLookup::default_ep4_maps(),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn from_changed_floor(&self, floor: u8) -> Option<MapArea> {
|
|
|
|
match floor {
|
|
|
|
20 => Some(MapArea::Forest1),
|
|
|
|
30 => Some(MapArea::Caves1),
|
|
|
|
40 => Some(MapArea::Mines1),
|
|
|
|
48 => Some(MapArea::Ruins1),
|
|
|
|
_ => None,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
xxxxxxxxxx