Fix Inner Child and "random pickup" pedestals not having Flip data

This commit is contained in:
Buurazu authored and GitHub committed 2022-03-13 03:10:12 -04:00
1 parent eca79bc0b7
commit 9176a1fcd4
1 file changed
+4 -1
+4 -1
View File
@@ -298,7 +298,10 @@ if REPENTANCE then
-- Handle Flip Item spawn
function EID:preRoomEntitySpawn(entityType, variant, subtype, gridIndex, seed)
flipItemNext = false
if entityType == 5 and (variant == 100 or variant == 150) then
if entityType == 6 and variant == 14 then
-- Inner Child pedestal
lastGetItemResult = {688, Isaac.GetFrameCount(), gridIndex, nil}
elseif entityType == 5 then
lastGetItemResult = {nil, Isaac.GetFrameCount(), gridIndex, nil}
-- Pedestals in need of a random item will call GET_COLLECTIBLE; fixed pedestals (Knife Piece 1) will not
if subtype == 0 then initialItemNext = true