update 6xB6 notes

This commit is contained in:
Martin Michelsen
2025-10-14 21:26:12 -07:00
parent cd5863fcde
commit 052dcf8c6e
2 changed files with 7 additions and 4 deletions
+6 -1
View File
@@ -5969,10 +5969,15 @@ struct G_MapData_Ep3_6xB6x41 {
} __packed_ws__(G_MapData_Ep3_6xB6x41, 0x14);
// 6xB6: BB shop contents (server->client only)
// The client will ignore this command (leaving the player softlocked) if there
// are too many items. The limits are:
// - Tool shop: up to 18 items allowed
// - Weapon shop: up to 16 items allowed
// - Armor shop: up to 21 items allowed
struct G_ShopContents_BB_6xB6 {
G_UnusedHeader header;
uint8_t shop_type = 0;
uint8_t shop_type = 0; // 0 = tool shop, 1 = weapon shop, 2 = armor shop
uint8_t num_items = 0;
le_uint16_t unused = 0;
// Note: data2d of these entries should be the price
+1 -3
View File
@@ -4361,9 +4361,7 @@ void SuperMap::link_object_version(std::shared_ptr<Object> obj, Version version,
}
shared_ptr<SuperMap::Enemy> SuperMap::add_enemy_and_children(
Version version,
uint8_t floor,
const MapFile::EnemySetEntry* set_entry) {
Version version, uint8_t floor, const MapFile::EnemySetEntry* set_entry) {
shared_ptr<Enemy> head_ene = nullptr;
size_t next_child_index = 0;