TeamREPENTOGON / REPENTOGON

Script extender for The Binding of Isaac: Repentance
https://repentogon.com/
GNU General Public License v2.0
115 stars 11 forks source link

Room.TrySpawnTheVoidDoor is Broken #408

Open Syntax-Sculptor opened 3 months ago

Syntax-Sculptor commented 3 months ago

This method is currently broken. Spawning a portal through this method with force set to true will instead spawn an out of place door, which crashes the game when entering. The intended behavior (According to the Repentance docs) is to spawn a portal to the Void Floor.

image

log.txt does not yield any useful messages.

namishere commented 3 months ago

The broken position is caused by the game unconditionally attempting to spawn the door at DoorSlot.UP1. The crash is caused by Room -9 being uninitialized. I'm not yet sure what actually initializes that room.

namishere commented 3 months ago

Okay, it's because the room is a part of 13.blue womb.stb and not a special room. On all other stages except ???, the room does not exist and thus the game cannot generate it.