From 9176a1fcd4acd7f8d0853f4d20a34d858ed4d79f Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sun, 13 Mar 2022 03:10:12 -0400 Subject: [PATCH] Fix Inner Child and "random pickup" pedestals not having Flip data --- main.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 5799c3cd..45401d48 100644 --- a/main.lua +++ b/main.lua @@ -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