fix battle area number normalization and add more structs/enums

This commit is contained in:
Martin Michelsen
2024-01-30 21:10:50 -08:00
parent 340fbb8ca5
commit 4830f5a41e
12 changed files with 72 additions and 29 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ uint8_t ItemCreator::normalize_area_number(uint8_t area) const {
}
} else {
return this->restrictions->box_drop_area;
return this->restrictions->box_drop_area - 1;
}
}