add unknown enemy type 0118
This commit is contained in:
@@ -39,7 +39,6 @@ ItemCreator::ItemCreator(
|
|||||||
restrictions(restrictions),
|
restrictions(restrictions),
|
||||||
random_crypt(random_seed) {
|
random_crypt(random_seed) {
|
||||||
this->generate_unit_stars_tables();
|
this->generate_unit_stars_tables();
|
||||||
this->pt->print_enemy_table(stderr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ItemCreator::set_random_state(uint32_t seed, uint32_t absolute_offset) {
|
void ItemCreator::set_random_state(uint32_t seed, uint32_t absolute_offset) {
|
||||||
|
|||||||
+3
-2
@@ -109,8 +109,8 @@ Map::Enemy::Enemy(size_t source_index, uint8_t floor, EnemyType type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
string Map::Enemy::str() const {
|
string Map::Enemy::str() const {
|
||||||
return string_printf("[Map::Enemy source %zX %s flags=%02hhX last_hit_by_client_id=%hu]",
|
return string_printf("[Map::Enemy source %zX %s floor=%02hhX flags=%02hhX last_hit_by_client_id=%hu]",
|
||||||
this->source_index, name_for_enum(this->type), this->state_flags, this->last_hit_by_client_id);
|
this->source_index, name_for_enum(this->type), this->floor, this->state_flags, this->last_hit_by_client_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
string Map::Object::str(shared_ptr<const ItemNameIndex> name_index) const {
|
string Map::Object::str(shared_ptr<const ItemNameIndex> name_index) const {
|
||||||
@@ -585,6 +585,7 @@ void Map::add_enemy(
|
|||||||
case 0x00C6: // TBoss3VoloptMonitor
|
case 0x00C6: // TBoss3VoloptMonitor
|
||||||
case 0x00C7: // TBoss3VoloptHiraisin
|
case 0x00C7: // TBoss3VoloptHiraisin
|
||||||
case 0x0100:
|
case 0x0100:
|
||||||
|
case 0x0118:
|
||||||
add(EnemyType::UNKNOWN);
|
add(EnemyType::UNKNOWN);
|
||||||
static_game_data_log.warning(
|
static_game_data_log.warning(
|
||||||
"(Entry %zu, offset %zX in file) Unknown enemy type %04hX",
|
"(Entry %zu, offset %zX in file) Unknown enemy type %04hX",
|
||||||
|
|||||||
Reference in New Issue
Block a user