Better Death Certificate room detection

This commit is contained in:
kittenchilly committed 2022-04-26 13:02:12 -05:00
1 parent 4866b3f1b6
commit aade574a43
2 files changed
+14 -4

No files matched your search

+1 -4
View File
@@ -740,10 +740,7 @@ if REPENTANCE then
end
function EID:onNewRoom()
isMirrorRoom = game:GetLevel():GetCurrentRoom():IsMirrorWorld()
local level = game:GetLevel()
local id = level:GetCurrentRoomIndex()
isDeathCertRoom = (id >=0 and GetPtrHash(level:GetRoomByIdx(id)) == GetPtrHash(level:GetRoomByIdx(id, 2)))
isDeathCertRoom = EID:IsDeathCertificateRoom()
-- Handle Flip Item
initialItemNext = false