SaveLargeMaps, SaveMap32Tiles, SaveItems updates

This commit is contained in:
scawful
2024-01-31 01:31:44 -05:00
parent 1c133d3a08
commit 1e5d02ab6f
6 changed files with 164 additions and 140 deletions

View File

@@ -59,7 +59,7 @@ absl::Status OverworldMap::BuildMap(int count, int game_state, int world,
void OverworldMap::LoadAreaInfo() {
if (index_ != 0x80) {
if (index_ <= 150)
if (index_ <= 128)
large_map_ = (rom_[overworldMapSize + (index_ & 0x3F)] != 0);
else {
large_map_ =
@@ -67,7 +67,7 @@ void OverworldMap::LoadAreaInfo() {
}
}
if (index_ < 64) {
if (index_ < 0x40) {
area_graphics_ = rom_[mapGfx + parent_];
area_palette_ = rom_[overworldMapPalette + parent_];