Curation round 13: grid entities, more enemies, Caves, boss helpers and five bosses, chests and costumes, curses and alt stages, the Lua API
This commit is contained in:
1 parent
f8ce24fc6c
commit
8ae02a8422
160 files changed
+16231
-1689
No files matched your search
+1
-2
@@ -75,7 +75,6 @@ constexpr uint32_t TRINKET_GOLDEN = 0x8000;
|
||||
constexpr uint32_t STATE_SATANIC_BIBLE_USED = 0x20000;
|
||||
constexpr uint32_t DESCRIPTOR_DEVIL_TREASURE = 0x800;
|
||||
constexpr int BOSS_THE_FALLEN = 23;
|
||||
constexpr int STAGE_HOME = 35;
|
||||
constexpr int HOME_CHEST_SUBTYPE = 2;
|
||||
|
||||
constexpr int COLLECTIBLE_ROTTEN_MEAT = 26;
|
||||
@@ -437,7 +436,7 @@ int ItemPool::get_pool_from_room_entities(uint32_t roomSeed, RoomDescriptor& roo
|
||||
roomType = ROOM_BOSS;
|
||||
|
||||
int pool = GetPoolForRoom(roomType, roomSeed);
|
||||
bool isHomeChest = data.type == ROOM_DEFAULT && data.stageId == STAGE_HOME && data.subtype == HOME_CHEST_SUBTYPE;
|
||||
bool isHomeChest = data.type == ROOM_DEFAULT && data.stageId == STAGE_ID_HOME && data.subtype == HOME_CHEST_SUBTYPE;
|
||||
return isHomeChest ? POOL_MOMS_CHEST : pool;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user